Three software installations under Linux

xiaoxiao2021-03-06  43

Through RPM

software

Package installation

Speaking of the RPM (Redhat package management) standard package, you may think of the famous Redhat company, which is the emergence of the RPM package release, making it easy to install the application software in Linux. If the user wants to install software issued in RPM, simply enter the command "rpm -ivh xxx.rpm".

For example, users want to install OpenOffice.org-1.0.1.rpm packages, simply enter the command "rpm -ivh openoffice.org-1.0.1.rpm". Another advantage of the RPM package release method is that it can easily delete the installed RPM package, as long as the "rpm -e openoffice.org-1.0.1" command can be installed openoffice.org-1.0 .1.rpm is safely deleted from the hard disk. If you are installation / delete software in the X-Window environment, there is a better way. If you are using KDE, you can use the KPackage program that comes with KDE to add or delete the software. If you use gnome, The software can be managed using the GNORPM program. These two programs are very similar to the "Add / Remove Programs" feature in Microsoft Windows. Software with RPM software package is the easiest to install and manage, it is recommended to use this model to manage software later.

2.Tar.gz (TGZ) package installation

Software packages with tar.gz to extension are packaged and compressed with Gzip programs with a tar program. To install this package, you need to decompress the package before you use "tar -zxfv filename.tar.gz" to decompress the package, unzip the resulting file in the directory named filename. Enter the directory, you can see the decompressed file.

Various software has different installation methods, but there are installs and readme files after each software is compressed, and there will be detailed installation guides in the help file. There is a disadvantage that the software issued by tar.gz (or tgz) package is generally without an automatic anti-installer. If you need to delete the already installed program, you have to take care of the installation path and file name in Makefile. These have some difficulty for beginners.

3.Tar.bz2 package installation

Software packets with tar.bz2 are extensions, is packaged with a TAR program and compressed with BZIP2 program. Its advantage is that the compression ratio is very high, and "Bunzip2 filename.tar.bz2" is required to decompress. However, the package issued in this way is the same shortcomings with the tar.gz package, that is, delete is very troublesome.

转载请注明原文地址:https://www.9cbs.com/read-63157.html

New Post(0)