Ok, Many first Time Linux Users Are very confused on how to actually install programs in Linux Distribution. Through This Post I hope to provide a Complete guide To on how to install .gz , .bz and RPM files in any Linux distribution.
Why Is It made This Way In Linux??
Most First TIme Users Think That Linux is “Not That Good” becuase it doesnt just have pre compiled Installation setup files. But This is far from reality you see, Linux is about freedom of choice, so even in installing programs we can customize the program before we actually use it. And also because of this method of compiing installation files on your local computer, it makes almost any program able to run on any Distribution of Linux.
HOW TO INSTALL :
1. Start Bash (The Shell) and navigate your way to your installation file’s folder. Then type: ( Here pkg is the name of the package)
"tar xvzf pkg.tar.gz" ( If File Is a GZ)
"tar xvjf pkg.tar.bz2"
( If Files is a BZ)
After this command a New Folder Would Be Created in the Same Location with the Package Name.
2.Next Move Into The Newly Created Folder.
"ls" command to look for the folder Then Type “
cd pkg"(Enter) ( Here pkg is the Name of the Newly Created Folder )
3. Next Go Into Super User Mode. Super User Mode in Linux is Like Having temparary Admin Priviledges just to install programs and perform other complex tasks.
"su" (Enter) Then Type in Your ROOT password when prompted
4. Now We’ll Install The App.
"make install" (Enter)
"make clean" (Enter)