WebSphere Issues

19/04/2017

Yum commands

Filed under: Linux — Tags: , — Ishtiaque @ 10:38 am

1. Install or update a particular package

  • yum install httpd
  • yum update httpd

2. Check and install updates

  • yum check-update
  • yum list update
  • yum update

3. List available or installed packages

  • yum list installed
  • yum list available
  • yum list installed “kernel*”
  • yum list “kernel*”

3. Search a package

  • yum search httpd

4. Get details of a package

  • yum info httpd

5. List dependencies of a package

  • yum deplist httpd

6. Group of packages

  • yum grouplist
  • yum groupinfo “GNOME Desktop”
  • yum groupinstall “GNOME Desktop”
  • yum groupremove “”GNOME Desktop”

7. Repository list

  • yum repolist

7. Config files

  • /etc/yum.conf
  • /etc/yum.repos.d/
Advertisements

Create a free website or blog at WordPress.com.

%d bloggers like this: