LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-25-2009, 07:52 AM   #1
shashi1234567
LQ Newbie
 
Registered: Dec 2009
Posts: 6

Rep: Reputation: 0
How to save a rpm downloaded & installed by "yum install xxx.rpm" command


Hello All,

I want to install net-snmp-utils-5.3.1-14.el5.i386.rpm rpm using the command "yum install net-snmp-utils-5.3.1-14.el5.i386.rpm
Now, once yum installs this rpm, how can i copy all these downloaded rpm (and dependencies rpm)? So that i can use these downloaded rpms if i want to install them as a fresh or to copy and install on another computer.

Please guide.


Sincerely,
Manjunath
 
Old 12-25-2009, 07:58 AM   #2
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
You have to checkout your repositories added. Those repositories contain the ftp web address. Using that ftp address, browse and download your specific file.
 
Old 12-25-2009, 08:16 AM   #3
shashi1234567
LQ Newbie
 
Registered: Dec 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Raju, Thanks for this info.
But i was looking for not to download the rpm's manually, but i would like yum to install the rpm and its dependencies and at the end i want to copy those downloaded rpm's(by yum) for future installation.


Please help again.
 
Old 12-25-2009, 10:49 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,521

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
1) su

2) gedit /etc/yum.conf

.. and then edit the line : keepcache=0
to : keepcache=1

Then the packages in /var/cache/yum/<repo-name>/packages/
will be saved.
.....
 
  


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
Rpm & yum "unsupported hash version: 8" error on RHEL 5.1 Muddoll Red Hat 4 02-12-2009 05:40 AM
"bash: rpm: command not found" errom when trying to install any package sandeepchau123 Linux - General 16 07-06-2008 03:58 AM
yum install <xxx.rpm> get error kruvalig Fedora 5 07-25-2007 04:23 PM
Kernel downloaded with "yum", but not installed. Madone_SL_5.5 Linux - Kernel 1 11-18-2006 10:35 AM
How to install "make" command from rpm on cd 2 - red hat linux 7.0 ZARGON Linux - Newbie 2 08-31-2004 10:53 AM


All times are GMT -5. The time now is 11:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration