If the package is already installed then you will see the output as Installed Package and if the package is not installed then you will get the output as Available Package. To list particular package use command yum list. ~]# yum list installed # List only Installed Packages To list only installed packages use command yum list installed, Refer the output below. ~]# yum list # List all Installed and Available Packages To list all installed packages in system and available packages in YUM repository Package Manager server use the command yum list, Refer the Sample output below. > Package httpd-tools.x86_64 0:2.2.3 will be an update > Package httpd-tools.x86_64 0:2.2.2 will be updated > Processing Dependency: httpd-tools = 2.2.3 for package: httpd-2.2.3.x86_64 > Package httpd.x86_64 0:2.2.3 will be an update > Package httpd.x86_64 0:2.2.2 will be updated ~]# yum update httpd # Update httpd Package This will assume Yes for any question asked during package installation. You can also use yum command with option -y. Loading mirror speeds from cached hostfile Loaded plugins: fastestmirror, refresh-packagekit, security ~]# yum install dhcp # Install DHCP Package using yum command To install a package using yum command follow the below command, Here I am installing DHCP package. So let’s have a look at yum commands examples.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |