Software for RPM Package installation
1, determine the software version
Rpm-qa|grep softname*
Softname is the name of the software, the * wildcard character can be used in the indeterminate part. Then there will be a list of related packages.
2. Uninstall Package
Rpm-e softname_version
Softname_version is the full package name.
When uninstalling the RPM installation package, you will often experience the following error as prompted by the system:
Error:specifies multiple packages, this error is typically due to two or more packages with the same name (typically: x86 and x64 packages are installed), and Linux cannot differentiate between uninstall destinations. You can use the--allmatches parameter to tell the uninstaller to uninstall as long as the match is unloaded, equivalent to the same name.
Common Uninstall error xxx.so is needed by YYY indicates that these libraries are dependent on these programs (run required), and if you confirm that there are no problems, you can use the--nodeps parameters, regardless of dependencies and directly uninstall the GD package, such as # RPM-E GD-- Allmatches--nodeps
3. Custom Installation and uninstall software
This kind of software is very rare, but some commercial software will provide, installation uninstall will be like Windows platform, usually only run a script to complete.
Iii. self-compiling and installing software
This kind of software has *.tar.gz,*.tar.bz,*.tar.bz2, all is the source program, need to compile to install (of course, also have the above Green decompression installation, but also use tar.gz so packaged, not only). This type of software uses the rpm command above to find no information. Only God knows (he may not know for some time) where to install.
1. Uninstall self-compiling software
Make Uninstall
Note that the command is to be executed in the source package directory, the use of this command to uninstall the software, will be more thorough, and all the relevant paths will be listed.
However, often after we install the source package will be deleted, only the installation target, then find the installation configuration is very troublesome (the path may be the default path, may also specify the path). and may not be able to find it. Installing the log may not be helpful.
2, xxx Uninstall method
If you encounter the situation mentioned above (in fact, often encountered), and can not find the path, only manually deleted, to ensure that there is no running interference program on it.
In addition, there are *.src.rpm forms of source code packages, also need to compile the installation, uninstall method with the second section.
*.tar.gz/*.tgz, *.bz2 form of source code package
Installation: Tar zxvf *.tar.gz or tar yxvf *.bz2 first extract
Then go to the unpacked directory:
./configure Configuration
Uninstalling: Make uninstall or manually removed