First, rpm package installation:
1. Install a package
# rpm -ivh
2. Upgrade A package
# rpm -Uvh
3. Remove a package
# rpm -e
4.Installation parameters
--force Forces installation even if it overwrites files belonging to other packages
--nodeps If the installation of this RPM package depends on other packages, even if other packages are not installed, the installation is forced.
5. Query whether a package is installed
# rpm -q < rpm package name>
6.Get information about the package being installed
# rpm -qi < rpm package name>
7. List which files are in the package
# rpm -ql < rpm package name>
8 List which RPM package a file belongs to on the server
#rpm -qf
9. Combine several parameters together
# rpm -qil < Rpm package name>
10.List all installed rpm packages
# rpm -qa
11.List an RPM package file that is not installed in the system What files are included in it?
# rpm -qilp < rpm package name>
Second, rpm package uninstall:
rpm -qa |
Grep package name
This command is to list the package-related packages.
rpm -e file name
This command is the software you want to uninstall, followed by Package name, the last version number is not used
For example:
# rpm -qa |
Grep mysql
mod_auth_mysql-2.6.1-2.2 php-mysql-5.3.9-3.15 mysql-devel-5.1.77-1.CenOS 5.2
mysql-5.0.77-1. CenOS 5.2 mysqlclient10-5.0.77-1.CentOS 5.2 libdbi-dbd-mysql-0.6.5-10.CentOS 5.2
# rpm -e mysqlclient
Third, yum installation:
# yum install package name
four, yum uninstall:
# yum -y remove package name
The method is as follows: 1. Create a new .htaccess file in the directory where you need to use the
Computer Store News Microsoft released Windows8 RTM for PC OEMs and manufacturer partners on August
(1) Ifconfig command The first type uses the ifconfig command to configure the ip
>> load heart_scale error using the loadASCII file The number of columns in the third row of h
CentOS 6.5 configuration yum install Nginx
Linux device driver learning (0)-Hello, world! Module
Linux operating system sound card driver installation and configuration
Linux printf output string color
Linux displays the Chinese character file name on the FAT partition
Linux installation of U disk process
Linux view directory size and hard disk size
Linux signal signal processing mechanism
How to solve the application error 0xc0000417 in WinXP system?
How to use the cat command under Linux?
Notebook win7 system can not find the wireless network and there is an error 871122 how to do
How does Ubuntu set up a shortcut to start a program?
How to set up a way to connect to a wireless network
Detailed Windows XP hard disk partitioning steps
How Windows 7 virtual machines share host files
Clone the contents of the old hard drive to the new hard drive
Windows xp system computer automatic shutdown command
The Win7 system does not recognize the three solutions of the "unknown Device" driver.