LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-12-2009, 09:12 PM   #1
kittichaitanya
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
where the packages reside in my system


i have installed some updates for my fedora..
how can i copy that to my friends system.
 
Old 11-12-2009, 09:22 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
Your initial package install is done from the installation media so the packages reside on that. (They are extracted onto your system during installation so are no longer packaged up the way they were.)

After initial install you can load new or updated packages with yum. These also are extracted and loaded. The packages themselves are only saved if "keepcache" is set to "1" in /etc/yum.conf. The "cachedir" in that file will tell you where the files are saved if it is set to 1. In the cache directory you have .hdr files which are headers and .rpm files which are the actual packages.

If you didn't have keepcache set to 1 then the only way to do it is to download the packages without installing and then transfer to him. If he is on the internet it would be much easier to simply do the yum install there.
 
Old 11-12-2009, 10:54 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
*
And when you have edited the keepcache ( ref. post # 2 )
to keepcache=1 , the packages installed, in the future
will be kept in /var/cache/yum/<reponame>/packages/
 
Old 11-16-2009, 09:07 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
Quote:
Originally Posted by knudfl View Post
*
And when you have edited the keepcache ( ref. post # 2 )
to keepcache=1 , the packages installed, in the future
will be kept in /var/cache/yum/<reponame>/packages/
Usually - However as I noted in my post it is the "cachedir" setting in the yum.conf that determines in which directory the files 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
Does pxelinux.cfg have to reside in /tftpboot jasgrif11 Linux - General 1 05-21-2008 05:46 PM
how to show up all available packages in system-config-packages (RHEL 5) sean_zhang Linux - Newbie 1 03-10-2008 06:05 AM
Where does Konqueror reside? drummerdan Slackware 6 08-16-2006 11:23 PM
Can / and /boot reside on the same partition? piggysmile Linux - Hardware 4 12-04-2005 08:24 AM
where do my application files reside? bobotoes Linux - Newbie 5 12-23-2004 11:09 PM


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