Commonly used Linux important Commands

get list of all installed software

rpm -qa | less

Use following syntax to list the files for already INSTALLED package:

rpm -ql package-name for example :- rpm -ql package

rpm -ql package-name

Type the following command to list the files from rpm package:

rpm -qlp packege.rpm

Remove the rpm packege

rpm -e packege name

Search installed packege

rpm -qa packege name

upgrade the packege

rpm -Uvh packegname.rpm

force fully upgrade the packege

rpm -Uvh –force packege name.rpm


Leave a Reply

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