LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-04-2007, 08:11 AM   #1
ptossy
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Question how to download one RPM with up2date?


How do you download from RHN (RedHat Network) just one particular rpm (and its dependencies if needed) using up2date? Thanks for any help you guys/gals might give.
 
Old 11-04-2007, 08:38 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
As root type: up2date --install foo --solvedeps=foo

Last edited by Lenard; 11-04-2007 at 09:02 AM.
 
Old 11-04-2007, 08:50 AM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
If you know the name of the package from command line you can type
up2date-nox --install <package>

The "up2date-nox" tells it not to start the GUI.

To find the package you're interested in you can type:
up2date-nox --whatprovides <whatever>

Where <whatever> is something descriptive.

Note this is much like grep through all packages so you can get lots of hits if you don't make it specific enough. e.g. If you typed "ls" for <whatever> it would find the package that contained "ls" but would also find all files that had "ls" in their name such as "alsa" which really have nothing to do with the command you were looking for. Make sure whatever you're looking for is as specific as possible.
 
Old 11-04-2007, 12:20 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You might want to look into yum instead of up2date. It is becoming (or has become) the standard tool for RH based package management.
 
Old 11-05-2007, 10:35 AM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
As of RHEL5 yum is the only way to do it. Before RHEL 5 though the "approved" method was up2date.
 
  


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
Up2date fails to install after download Witton Fedora 2 12-13-2005 04:38 AM
up2date won't download msar Fedora 8 07-11-2004 09:58 AM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 06:24 PM
where to download the latest up2date ? vivo Linux - Software 1 05-05-2004 05:31 AM
Up2date keeps saying I have a download waiting when I don't? hitbob Red Hat 8 09-17-2003 01:16 AM

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

All times are GMT -5. The time now is 11:53 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
Open Source Consulting | Domain Registration