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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-04-2007, 08:11 AM
|
#1
|
LQ Newbie
Registered: Sep 2007
Posts: 2
Rep:
|
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.
|
|
|
11-04-2007, 08:38 AM
|
#2
|
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:
|
As root type: up2date --install foo --solvedeps=foo
Last edited by Lenard; 11-04-2007 at 09:02 AM.
|
|
|
11-04-2007, 08:50 AM
|
#3
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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.
|
|
|
11-04-2007, 12:20 PM
|
#4
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep:
|
You might want to look into yum instead of up2date. It is becoming (or has become) the standard tool for RH based package management.
|
|
|
11-05-2007, 10:35 AM
|
#5
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
As of RHEL5 yum is the only way to do it. Before RHEL 5 though the "approved" method was up2date.
|
|
|
All times are GMT -5. The time now is 11:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|