1766541963_maxresdefault.jpg

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

source

40 thoughts on “Building Programs from Source on any Linux Distribution

  1. 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.

  2. 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

  3. 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!

  4. 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!

  5. 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"

  6. 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

  7. 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.

  8. 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.

  9. 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

  10. 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?

  11. 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 🙂

  12. 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…

Comments are closed.