You can clean them with the following command: yum clean all It is recommended to clean all cached files to save disk space. To remove multiple packages like, HTTP and Firefox, run the following command: yum remove httpd firefoxīy default, yum stores all package data in /var/cache/yum/ directory. For example, to remove a package named HTTP, run the following command: yum remove httpd You can remove a package by just using the option remove by specifying your package name. To install a package from the downloaded RPM file, run the following command: yum localinstall packagename.rpm 2 – Remove a Package with YUM To reinstall any packages, run the following command: yum reinstall httpd To install multiple packages like, HTTP and Firefox, run the following command: yum install httpd firefox For example, to install a single HTTP package, run the following command: yum install httpd You can install single or multiple packages easily using the YUM command. A root password is configured on your server.In this post, we will show you how to use the YUM command to manage packages in Linux with various examples. You can read my guide on “APT Command in Linux – A Definitive Guide” Note: If you are using the Debian-based Linux distributions including, Ubuntu, Debina and Linux Mint. It is used to install, update, remove, find and manage packages on Linux. YUM also called “Yellowdog Updater” is a package management tool for RPM-based Linux distributions including, RHEL, CentOS and Fedora operating systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |