LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2012, 04:37 PM   #1
johnmccarthy
Member
 
Registered: Jul 2010
Posts: 64

Rep: Reputation: 1
Smile Registered by RHEL5 Workstation with Red Hat on the Internet Easy Questions


Now that I have my RHEL 5 system on the internet and have registered I see there are some pretty cool commands I can type to see what updates are availble. My questions is two fold:

I see I have many updates to install after typing: yum list updates. What command or site can I go to to find a description of the suggested updates, which are listed after I type yum list updates?

I also have RHEL 5 system that is not on the internet, which I use on a test network. In the event I find that a update is available after using my RHEL system that is on the internet, what commands should I type to "download" the rpm instead of "installing" the rpm? I know if I type yum update or yum install {package-name-1} {package-name-2} this will install the package but instead I would like to download the package so I can update my RHEL 5 system not located on the internet.

A million thanks,
John
 
Old 11-07-2012, 04:41 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Given that you've registered with RHN, look on rhn.redhat.com for the update info. you can see the changelogs there.

updating a rhel5 box that isn't on RHN is not fun. If you don't plan for it to ever be so, I would *REALLY* strongly urge you to convert the system to CentOS, and the same goes for the online RHEL5 box if you're only playing with a 30 day access and don't plan on paying for support.

As there are potentially LOTS of dependencies for updates, the only good way to maintain offline systems is to create an offline repository for yum. you can use tools like mrepo to do this, but it's naturally never fun shifting all these packages around. http://kenfallon.com/how-to-mirror-r...your-firewall/
 
1 members found this post helpful.
Old 11-08-2012, 07:58 AM   #3
johnmccarthy
Member
 
Registered: Jul 2010
Posts: 64

Original Poster
Rep: Reputation: 1
Smile apt-get maybe

The link you referenced appears to explain how to setup an update server so off-line systems can get updates. I'm looking for a way to download updated rpms' (yum list updates) without installing them. Everything I read about apt-get says it will only work with Debian Linux and not RHEL, yes?

The yum command does not offer a "download option" at least not one I can see.

How can one download the rpm, reported after running yum list updates
 
Old 11-08-2012, 08:57 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,272

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
Quote:
Originally Posted by johnmccarthy View Post
The link you referenced appears to explain how to setup an update server so off-line systems can get updates. I'm looking for a way to download updated rpms' (yum list updates) without installing them. Everything I read about apt-get says it will only work with Debian Linux and not RHEL, yes?

The yum command does not offer a "download option" at least not one I can see.

How can one download the rpm, reported after running yum list updates
If you're new to Linux, there's a bit of advice that may help. First, I will assume you read the man page ("man yum" at the command line). At the bottom of a lot of man pages, you'll see a "See Also" section...that has related commands. In this case, you'd see the "yumdownloader" command.

As acid_kewpie said, though, it's not a fun (nor too easy) job keeping things up to date manually like that. And since you're registered, you can always contact Red Hat support for questions about offline repositories, and how to set them up.
 
Old 11-08-2012, 09:08 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by johnmccarthy View Post
The link you referenced appears to explain how to setup an update server so off-line systems can get updates. I'm looking for a way to download updated rpms' (yum list updates) without installing them. Everything I read about apt-get says it will only work with Debian Linux and not RHEL, yes?

The yum command does not offer a "download option" at least not one I can see.

How can one download the rpm, reported after running yum list updates
there are tools like yumdownloader, but that's only the list for one single system. unless you're going to maintain 100% equality between these two boxes, it just doesn't work like that, hence being able to have an entire mirror and update against it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Your Red Hat Installation is not registered or does not have proper entitlements?? mohain2011 Linux - Software 9 09-27-2011 01:25 PM
Does yum work in Red Hat el5 without a RHN registered account? sken2js Red Hat 7 11-03-2010 01:48 AM
Registered Red Hat Linux user #XXXXXX ovparrilla Red Hat 1 04-21-2004 04:22 PM
Red Hat Professional Workstation WS? cucolin@ Red Hat 2 02-05-2004 06:26 PM
Red Hat Professional WorkStation coolamit78 Linux - Software 1 02-03-2004 07:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration