1. installation:
The installation process can be divided into the following steps:
1) application software acquisition: Obtained by downloading and purchasing CDs;
2) decompress the file: Generally, the tar package will be compressed again, such as gzip and bz2, so you need to decompress it first. If it is the most common gz format, you can run "tar-xvzf package name" to decompress and unpack the package in one step. If not, decompress the software and then run tar-xvf to decompress the package;
3) read the INSTALL and README files;
4) execute the "./configure" command to prepare for compilation;
5) execute the "make" command for software compilation;
6) Execute "make install" to complete the installation;
7) Execute "make clean" to delete the temporary files generated during installation.
Now, we are done. We can run the application. However, some readers may ask, How can I implement it? This is also a Linux issue. In fact, the executable files of Linux applications are stored in the/usr/local/bin directory! However, this is not the truth of "universal availability". The most reliable part is the INSTALL and README files of this software.
2. Uninstall:
Generally, software developers seldom consider how to uninstall their own software. tar is only a package, so it does not provide a good method to uninstall the software.
Can't you uninstall it! Actually, no. There are two software that can solve this problem: Kinstall and Kife. They are the golden partner for installing and uninstalling tar packages. Their usage will be further described by the author. I will not go into detail here.
Rpm is a major contribution of Redhat, which makes Linux software installation easier.
1. installation:
I just need a simple sentence to finish. Run:
Rpm-ivh rpm package name
For more advanced information, see the following table:
Rpm parameter description
-I install software
-T test the installation.
-P: shows the installation progress.
-F ignore any errors
-U upgrade and Installation
-V check kit is correctly installed
These parameters can be used at the same time. For more information, see the RPM Command help.
2. Uninstall:
I just need a simple sentence to finish. Run:
Rpm-e Software name
Note that the software name is used later, not the software package name. For example, to install the software-1.2.3-1.i386.rpm package, execute:
Rpm-ivh software-1.2.3-1.i386.rpm
When uninstalling, execute:
Rpm-e software.
In addition, graphical RPM tools such as GnoRPM and kpackage are provided in Linux to simplify the entire process. The specific application of these software will be introduced separately.
This is a package manager provided by Debian Linux, which is very similar to RPM. However, since RPM appeared earlier, it is common in various versions of Linux. The debian Package Manager dpkg only appears in Debina Linux. it is not available in other Linux versions. Here we will briefly describe:
1. Install
Dpkg-I deb software package name
Such as: dpkg-I software-1.2.3-1.deb
2. Uninstall
Dpkg-e Software name
For example, dpkg-e software