In this video, I am going over building programs from source on any Linux distribution.
Install the essentials
$ sudo apt-get install build-essential git
Next get the grab the project..
$ wget https://www.example.com/test.tar.gz
OR
$ git clone https://github.com/ChrisTitusTech/gnome-layout-manager
Extract Tar file – Skip if git clone used
$ tar -xzvf test.tar.gz
Resolve Dependencies
$ ./configure
**LOOK FOR ERRORS! install any missing packages before continuing.
Compile project
$ make
Install project
$ sudo make install
Notes:
-Program won’t be updated
-To uninstall you much use $ sudo make uninstall from directory
**If directory is deleted, you will need to recompile before uninstalling .
►► Digital Downloads ➜ https://www.cttstore.com
►► Patreon ➜ https://www.patreon.com/christitustech
►► Twitch ➜ https://www.twitch.tv/christitustech
►► Website and Guides ➜ https://christitus.com

For Ubuntu (LM) – requires libfftw3-dev and magick, missing from requirments 🙁
Hi thanks for the vid. You said you would touch on TAR files, but i didn't catch it. Its my first week messing wirh linux and know nothing..
thanks, I never really put effort into doing it this way, well I didn't realize it was so simple
Doesn't work, waste of time
its my day 2 of know-nothing-about-linux to package-building after installing debian over zfs on root… two whole days… i can tell ya its been a wild ride. A hard one. But i'm not yet discouraged, the community is ginormous and that helps a lot with each new troubleshooting.
Thanks for talking through what you're doing while you're doing it. Minor detail but it makes it a lot easier to comprehend vs just watching someone type something into a terminal
Thanks for the video bro! I am facing an issue with Apache Mesos, when I execute the configure script it always says "libz is required for Mesos to build" seems libz is not found. I installed Python2 and python3 and all dependencies as explained in Apache Mesos documentation, but no way. This happens with the source cloned from github, which is a slightly different version, however the downloadable .tar.gz file from apache website, after installing python2.7-dev I don't receive the libz error, but when I run "make", I receive a different error: gettid() … which belongs to the grpc package. So, it's not being so easy for me to install Mesos on Ubuntu VM. Any help or suggestions are welcome! God bless!
Video starts : Me rushing to 1.5x.
Would've been better if you executed the program and show how the program works
I Love Compiling!
Hey Chris, i want to thank you for being the absolutely most USEFUL youtuber I've ever come across…. You've helped me through SO MANY Linux projects!
"Any Linux distribution"
Immediately installs build-essentials
This is easily the most important video about Linux 🤌
thanks for this video
worst explaining ever made
Interesting…. How are compiled apps updated? Compiling them again?
For Fedora 36 instead of installing build-essential i give you the command to do in the terminal = sudo dnf group install "C Development Tools and Libraries" "Development Tools"
lost me at 2:13 "Created a build directory in my home obviously…"
So what happens when there's package updates? Do you have to go through manually and update each one?
yes yes its easy. until you uninstall or instal something else that effect those you installed bcoz they cant know. how uninstalling can know what to remove from config files and how know you edit them later. best bet they leave data behind lol
lol this does not work in Manjaro
garbage
Dude, cmake works well with a CMakeLists.txt file in the repository, you cannot just randomly use it 🙂
Classic Linux user reaction, "Wow, I can't believe that actually worked that easily, usually you might have some errors" lmao
you don't need "SUDO make" if you specify a prefix in home directory while ./configure. This way you can have multiple versions without disturbing the system wide folders.
Yeah things have gone wrong and now I dont know what to do………like other ppl said ya need to show what happens when its not all smooth running.
If it's a Gentoo box you don't need to see this video because if you are using Gentoo you know to compile shit from source that is the whole point of Gentoo
Please let me use signal (available for arch on aarch64) on my raspberry pi 64bit OS
3:40 Intel dual-cores ugh!
great video, thank you.
You forgot dependency/clean/update/remove… hell and how to easily manage all that and whatever /missing_hell I forgot.
Thank you, I needed this.
How can I upgrade the package if installed from package manager, I currently have node v14 installed from the source but I need to upgrade it to v16
How can I compile a project for aarch64? Do I have to compile it directly on the hardware which is using aarch64 or can I do that on my x86 machine?
This is the 3rd time I have watched this video
"dual core, really crappy PC"
Well thanks 🥲
the wicked mispronunciation of Ubuntu strikes again!
"OBVIOUSLY"? No, mister, you need to SHOW me and explain.
GCC installed and login loop caused by Nvidia drivers resolved on Ubuntu.20.04. and thankfully 20.10 got GCC (build-essential) included at installation, at least some GCC.
Having this GCC done ( by updating and installing "build-essential" )Changing fr Novou or Updating Nvidia drivers is easy.
You know.. next step Cuda toolkit download ( they say it got driver in package., So why installing GPU drivers before? ) And CUDA Toolkit==> CudaDNN deep neural network in charge of those hundreds ..or thousands CUDA cores (TU116 anyone?) doing parallel computation at your GPU 🙂 Fianly computer used to compute !! ENIAC would support 🙂
I come to your videos to get a good grasp of some linux quirks because I have very limited experience with it. And I have to say, this video was barely helpful…