Generally, in Linux applications are in .deb or .rpm packages, however, sometimes they are compressed in others. For this, you should know install .tar.gz and tar.bz2 packages.
How to install .tar.gz and .tar.bz2 packages?
Most often, all applications and programs in Linux are presented in a .deb or .rpm format, but this does not mean that there are no others.
The .tar.gaz and .tar.bz2 packages are also frequently used, so it is important to know each of the installation steps. Keep in mind that the steps for installing both are the same and we leave them to you below:
Open the file folder
The first step is to enter the folder where the file is located. If it contains many words, you must add the quotes », so that the search process is carried out correctly.
- You must write: cdelnameofthefilefolder.
- And, the other example with the cartoons is: cd »folder where the file is located».
Unzip the files
- The following is to unzip the file: tar -zxvf filename.tar.gz, or, tar -jxvf filename.tar.bz2.
- Then you must configure, placing: ./configure
Program compilation and installation
- Continue building by typing: make and make installl.
- After this, your program or application is already installed and you can find it in the folder where the compressed file was downloaded.
run the program
- Now, to run it you just have to put the name of the program in the command window: program name
- And ready.
Many times the command ./configure develops an error, this happens when the package is already compiled. In this case, all you have to do is run directly from the terminal with the package name, ignoring the other steps. Another option is to create a launcher, using the name of the program.