LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 08: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, 08:22 PM   #2
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
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, 09:54 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
*
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, 08:07 AM   #4
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
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



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 04:46 PM
how to show up all available packages in system-config-packages (RHEL 5) sean_zhang Linux - Newbie 1 03-10-2008 05:05 AM
Where does Konqueror reside? drummerdan Slackware 6 08-16-2006 10:23 PM
Can / and /boot reside on the same partition? piggysmile Linux - Hardware 4 12-04-2005 07:24 AM
where do my application files reside? bobotoes Linux - Newbie 5 12-23-2004 10:09 PM

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

All times are GMT -5. The time now is 08:39 PM.

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