rpm command for Linux common commands has many functions. Here we only show how to install and query the installed software with rpm. 1 The basic syntax for installing the rpm installation package is as follows: rpm -i rpm Package name For example: 1.rpm -i tomcat6.rpm This command will install the Tomcat software and configure the relevant system. 2 The basic syntax of upgrading the rpm upgrade package is as follows: rpm -U rpm Package name: 1.rpm – U tomcat4.rpm This command will upgrade the Tomcat software and configure the relevant system. 3, view the installed software Sometimes, know which packages have been installed in the system and their use is very useful, R P M query parameters can do this. To list all the packages that have been installed, you can use the following command: 1.rpm -qa You can use the grep command to specify the package name (or part of the name) as follows: 1.rpm -qa |
Grep 'tomcat' This command will list packages containing tomcat in the package name. In addition: To find out which package a particular file belongs to, you can type: 1.rpm -qf filename where filename is the name of the file you are about to find. To find out the functionality of an already installed package, use the following command: 1.rpm -qi packagename where packagename is the name of the package to find its purpose. 4, remove the installed software using RPM to remove the package is as simple as installing them. In most cases, the user only needs to enter the command: 1.rpm -e packagename where ackagename is the name of the package to be checked for deletion.
Before downloading the files on the Linux machine via FTP, upload it after the Windows editing, so
Because of work and study, you need to use Securecurt to operate Linux (Red Hat Enterprise Linux 5)
The wait queue in the Linux kernel has many uses for interrupt handling, process synchronization, a
Do you know what a Linux system is? Some users dont know much about Linux. Linux is a free and free
Linux prompt bash:command not found
Parse the Linux root file system mount process
Linux common command highlights Daquan
Compile vim to solve Chinese support
Linux under the dual network card configuration basic tutorial
Yum installation error: Error: database disk image is malformed Solution
Linux system how to set up a backup
Easily switch the language of mac apps
Universal Data Box helps you recover the data you accidentally deleted.
How to restore the Win 8 system after installing the driver? Method of restoring the driver
How to make the Win10 command prompt window semi-transparent
Sustainable update Win10 Mobile official version 10586.218 support models?
Triple protection portfolio Surface safety performance major upgrade
Reinstall win7 system prompts windows can not complete the installation solution
How to remove the win8 consumer preview desktop watermark
Break through the limitations of XP Home Edition to install IIS
Win10 Creators on Xbox One: Support for Beam Live and Dolby Atmos