Install and uninstall software using rpm under Linux

Install and uninstall software using rpm under Linux

1. Installation

rpm -i The package file name to be installed

Here are some examples:

rpm -i example.rpm installs the example.rpm package;

rpm -iv example.rpm installs the example.rpm package and displays the file information being installed during the installation process;

rpm -ivh example.rpm installs the example.rpm package and displays the file information and progress being installed during the installation process;

2. Check the installed software

rpm -qa | grep package name

3. Uninstall the software

rpm -e --nodeps packages to uninstall

score

Leave a Reply

Your email address will not be published. Required fields are marked *