Use RPM to list all installed packagesįor information to see what are the packages currently installed on your system you can use this command: rpm -qaįurthermore, to see the total number of packages installed on your system in figures we can use a command: rpm -qa | wc -l Yum command to install rpm with dependencies The difference is the flag used with the RPM command i.e -e for uninstalling whilst if you use -i, the same command will use to install. If you want to use the same RPM command to uninstall or remove some installed package or software then it will be like this:Įxample to use it: rpm -e php-5.4.86_64.rpm Httpd is needed by php-5.4.86_64 RPM uninstall command The output for the above command: ~]# rpm -i php-5.4.86_64.rpm ![]() If you have some packages that need some extra packages while installing it, use the YUM command shown in this article. So, in this way, we can simply use RPM command to install any rpm packages, however, it not resolve the dependencies of any packages require and gives error most of the time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |