How to Install Applications on Linux Operating Systems

There are many different versions of Linux available and each distribution handle application installation differently. For an example Red Hat uses RPMs (Red Hat Package Manager) whereas Debian uses dev packages. Applications written on linux are developed on many different development environments and hence there must be specific files and binaries preinstalled on the system where the application intended to run on.
Red Hat’s add/remove application
Red hat uses binary RPM packages to install applications. Red hat has made it simple for adding and removing applications through graphical package management tool and which you can easily access from Start—->System–>Settings—>Add/Remove Applications. In order to execute this tool you need to be in the root account. You can easily select the individual applications to be installed or installed by expanding the details menu entry in various sections and subsections.
Adding and Removing Applications Using Command Line Interface
Let’s say you have downloaded a source file in a tar gzipped format such as mplayer source file package which will be like , in order to unpack the source file, issue the following command.
#tar -zxvf
This command will create a directory containing all the source files MPlayer-1.Orc1in the current directory. Now change to this directory and issue the following command.
#./configure
This command will start to build the necessary make files. If you don’t get any errors, then issue the following command.
# make
After issuing this command change to the root user mode by giving the su command. After that give the following command to install executable files at the appropriate directories.
# make install
This command will install the executable files. In order to remove the unneeded files created by the above command, issue the following command.
# make clean
If everything has gone smoothly i.e without errors, then you can run the application by giving the command’s name i.e in our case it will be Mplayer. Remember that you must have installed the necessary dependencies like compilers, make, automake tools in your computer only then it will start to build the necessary make files. Please apply the above commands on your own risk and read the documentation before installing any software in your system.

Related Posts