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-12-2009, 08:12 PM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 1
Rep:
|
where the packages reside in my system
i have installed some updates for my fedora..
how can i copy that to my friends system.
|
|
|
11-12-2009, 08:22 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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.
|
|
|
11-12-2009, 09:54 PM
|
#3
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
*
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/
|
|
|
11-16-2009, 08:07 AM
|
#4
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
Quote:
Originally Posted by knudfl
*
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.
|
|
|
All times are GMT -5. The time now is 01:34 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
|
|