Tutorial: Install .tar.gz and .tar.bz2 Packages

At the beginning when we start in Linux and look for a program, it is normal that we find a .deb or .rpm and in many cases we find programs with the extension .tar.gz y .tar.bz2These files are compressed and usually contain instructions to install it apart from the program.

The installation for these two types of packages is exactly the same

First we enter the folder where we have the file, if the folder has several words we have to put them with "" or if it does not look for folders with each word

cd folder where the file is located cd "folder where the file is"

Inside we unzip the file

tar -zxvf filename.tar.gz tar -jxvf filename.tar.bz2

We configure

./configure

We do make (compile)

make

Now make install

make install

Sometimes it can give us an error in ./configure, in that case it does not need compilation and with running we have plenty, in a terminal we

how to
Related article:
Commands to know the system (identify hardware and some software configurations)
program name

Or we create a launcher.