Concept of yum in RHEL

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Concept of yum in RHEL
# 8  
Old 01-22-2013
Yes, that is correct output. From the yum nanpage:

Code:
       yum list [all | glob_exp1] [glob_exp2] [...]
              List all available and installed packages.

       yum list available [glob_exp1] [...]
              List all packages  in  the  yum  repositories  available  to  be
              installed.

       yum list updates [glob_exp1] [...]
              List   all   packages   with   updates   available  in  the  yum
              repositories.

       yum list installed [glob_exp1] [...]
              List the packages specified by args.  If an  argument  does  not
              match  the  name  of an available package, it is assumed to be a
              shell-style glob and any matches are printed.

       yum list extras [glob_exp1] [...]
              List the packages installed on the system that are not available
              in any yum repository listed in the config file.

       yum list obsoletes [glob_exp1] [...]
              List  the packages installed on the system that are obsoleted by
              packages in any yum repository listed in the config file.

       yum list recent
              List packages recently added  into  the  repositories.  This  is
              often  not  helpful, but what you may really want to use is "yum
              list-updateinfo new" from the security yum plugin.

# 9  
Old 02-12-2013
Yum allows you to install and update software packages from multiple repositories, without having to know which package comes from which repository - Yum tracks and manages all of that for you.

How are you patching and updating your system, if not through yum?

yum check-update
yum update

Those are the two commands I use to check for any available updates, and then to install those updates.

You can do the same thing manually with RPM, but why? It's a whole lot faster and easier using Yum.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. Linux

Local YUM Repository for RHEL versions

Hello, I need to know regarding setting up of Local repositories so that I can update or install packages on other RHEL servers. In our environment we have many servers with different RHEL versions. Like RHEL 7.2, RHEL 7.3, RHEL 7.4, RHEL 7.5 Arch = x86_64 I have setup one Repo server;... (0 Replies)
Discussion started by: SunshineMLinux
0 Replies

3. Red Hat

Is it possible to install RHEL 7 on top of RHEL 6?

Hi We have RHEL 6.7 on an HP physical server and want to install RHEL 7 (not upgrade) on top of it by means of virtualization. Is it possible to install/configure RHEV/KVM virtualization on base RHEL 6.7 OS instance and then install RHEL 7 as a VM guest on it? If yes, could you please guide me... (1 Reply)
Discussion started by: magnus29
1 Replies

4. UNIX for Dummies Questions & Answers

Windows->RHEL->RHEL X11 Forwarding?

I know this question might have been asked a lot but couldn't find anything that worked. From a windows machine 'A' I can only SSH into Linux server 'B' from where I can SSH into another Linux server 'C'. I need to be able to run GUI interfaces on server C which run on my Windows machine. I... (3 Replies)
Discussion started by: hr.prasan
3 Replies

5. Red Hat

RHEL 6, Spacewalk 2.3 unable to download RHEL 5 repo data

Hello all, I am having a bit of an issue on my Spacewalk installation. Some amplifying information is that it is Spacewalk 2.3 installed on a RHEL 6 machine and I am attempting to install/update a RHEL 5 channel/repository. I am fairly new to Spacewalk so I am still learning but this is what I... (3 Replies)
Discussion started by: jstone4646
3 Replies

6. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

7. Red Hat

Does RHEL 5 provide a command to collect RHEL system log in single compress file?

Hi, I heard a command that can collect all RHEL 5 log in a single compress file before I forget. Does any body know...What the command is ? Thanks. (4 Replies)
Discussion started by: nnnnnnine
4 Replies

8. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

9. Ubuntu

How to configure YUM in RHEL 4.0

Hi guys Can anyone assist me how to configure YUM in RHEL4.0. and from where i can get the YUM package for RHEL4.0. Thanks in advance (3 Replies)
Discussion started by: daya.pandit
3 Replies
Login or Register to Ask a Question