‫But one of the greatest strengths of your Linux distro is its package manager and the associated software
‫repository.
‫You're going to be able to install software from the source because you need a very specific version
‫not available in your distribution repository or because you just want to modify the program to fix
‫a bug or add a feature because you're that good.
‫They configure script, is responsible for getting ready to build the software on your specific system.
‫So it makes sure that all the dependencies for the rest of the build and install process are available.
‫It also finds out whatever it needs to know about how to use those dependencies.
‫So once Configure has done its job.
‫We can invoke make to build the software.
‫So this runs a series of tasks defined in a make file to build the finished program from its source
‫code.
‫Cool, so now that the software is built and ready to run, the files can be copied to their final destinations.
‫So to make install command will copy the built program and its libraries and its documentation to the
‫correct locations.
‫So you want to see how these processes work?
‫First will need a project to install from source code, open the browser.
‫Go to W WW Dot Ganiyu, New Dot O R G.
‫Click on Software tab, scroll down a bit, and there are some packages in this list, so let's select
‫one of them.
‫I'll click on hello.
‫And this is a classic program, of course, that Prince Helloworld when you run it.
‫Very simple, but it shows you what to do.
‫So to download this package via HTTPS, click on this link and we'll check the last modified dates.
‫Yeah, it's the latest version.
‫Now you can click on the tar file and download it, but I would like to show you an alternative way
‫to download a package or any file, for that matter.
‫So just copy their link location.
‫Open your terminal screen.
‫W Get is a command line utility for downloading files from the web.
‫Where you get you can download files using TCP, https and FTP protocols.
‫Paste in your download link.
‫And just like that, it's download.
‫This files.
‫Then first, we need to extract the zip file, so run tar dash x v f.
‫And the downloaded tar file.
‫With files.
‫OK.
‫This is the extracted folder.
‫So now change directory to this folder.
‫This files again.
‫So the first step is to run the configure script, just type dot slash, configure.
‫All right, so the next step is to compile the source code with the make command run make.
‫Cool, cool, so we're on the last step, so make install command will install the compiled program.
‫And of course, there are some permission denied errors.
‫So let's run, make install with sudo.
‫Hopefully, you already did that.
‫OK, so now the installation is complete, and let's check the program.
‫So just type, hello.
‫There it is.
‫It printed Hello, world.
‫This is, of course, the very first and very basic step for beginners in coding.
‫I know you knew that, right?