LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-11-2009, 06:44 PM   #1
Allie
LQ Newbie
 
Registered: Aug 2009
Posts: 11

Rep: Reputation: 0
Where did yum download files to?


Hello,
I installed gcc using yum by using the command yum install gcc. It did its thing and downloaded 5 rpm packages and it proceeded to install them. The question is, where did it download these rpm to as I would like to keep them for future use? I'm using CentOS 5.3. Thank you.
 
Old 08-11-2009, 07:54 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,125

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
The packages are downloaded to :
/var/cache/yum/<reponame>/packages/

To keep packages ( in the future ) :

1) su
2) gedit /etc/yum.conf
... and edit line 3 from
keepcache=0
to
keepcache=1
.....
 
  


Reply

Tags
yum conf, yumconf


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
Using YUM to download mtools. swamprat Linux - Software 2 04-23-2008 08:41 PM
yum.conf - extract files from a DVD. How define repo location and what is yum command emuub Linux - Software 2 06-17-2007 08:28 AM
From where Do I download YUM? TSynergy Linux - Newbie 4 11-06-2004 10:01 PM
yum download files axelmang Fedora 2 10-15-2004 10:29 AM
Download Manager - download BIG files AndrewMSConvert Linux - General 3 11-09-2003 07:26 AM


All times are GMT -5. The time now is 12:23 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