Computers, OS
Manual code building, installing tar.gz
Quite often, on the Internet, you can not find ready-to-install deb packages, and you may not have the right version of the program in standard Linux distribution repositories. Therefore, you have to resort to building the application from the source code yourself. Distributed the latter in special archives of the format tar.gz or tar.bz2.
Go to the folder containing the required archive
A similar installation of tar.gz takes place using the "checkinstall" command. First, you need to build the deb package from the code. So, if the main command is not installed, then you need to write in the terminal: "sudo apt-get install checkinstall". After that, you need to go to the folder where the desired archive is located, using the command "cd directory_unique_program_code".
To achieve the desired result, you can also extract files by the archive manager. It's worth noting that for a more convenient work on the command line, a wonderful TAB button was invented, which automatically adds complex names to folders, files or archives. To do this, just enter the first letter of the name.
Configuring the source code of the program for its distribution
In simple terms, installing tar.gz necessarily assumes a configuration that means setting up files with the right text for a specific operating system. After this action, a file is created that describes the configuration of the system. For such purposes, the command "./configure" was invented. The OS itself after this does not change in any way, so the team is completely safe and will not damage the stability of the system.
Build deb packages
The previously mentioned program "checkinstall" is just designed to create and install the necessary packages for various distributions, for example, deb packages that are widely used in such OS as ubuntu.
Similar articles
Trending Now