Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clarification needed about prebuilts and CD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
trncyng
n00b
n00b


Joined: 17 Jul 2004
Posts: 4

PostPosted: Sat Jul 17, 2004 5:55 pm    Post subject: Clarification needed about prebuilts and CD Reply with quote

Following the Gentoo Linux x86 Handbook, Ch.11 Finalizing Your Gentoo Installation, under "Optional: Install GRP Packages," it tells us to
export PKGDIR="/mnt/cdrom"
to install packages we want from the CD (which I presume is to emerge <packagename>)

My questions is, is this a temporary convenient method when we want to install prebuilts from the Packages CD using simple emerge?

Do I have to undo this export if I want to use prebuilts that are on the hard disk and not CD? Or is this unset when I do an emerge sync?

I ask this because in the same Handbook, under Working With Gentoo > Portage and Software, it says that Portage looks in /usr/portage/packages/All for precompiled packages to see if the necessary files are already available (if not it goes to the Internet). If this is the case, can I simply copy the package(s) I want from the Packages CD into /usr/portage/packages/All and so have no need to issue the above export?

Thanks for any advice
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sat Jul 17, 2004 6:35 pm    Post subject: Reply with quote

1) yes for example you want install just an little package and with that you don't need to copy the files from packages cd to hardware....
2) you have just
Code:
unset PKGDIR

or even if you reboot it will be back....
3) yes you can....

and for installing precompiled packages with emerge you should use -k option an exemple:
Code:
emerge -k <package-name>

....
i hope that helps you....
_________________
DELL Inspiron 1501
Back to top
View user's profile Send private message
trncyng
n00b
n00b


Joined: 17 Jul 2004
Posts: 4

PostPosted: Sat Jul 17, 2004 6:50 pm    Post subject: Reply with quote

Thanks, it does. The Handbook is very well written. Just once in a rare while, I cannot tell the difference between general concepts and a specific practical application. Gentoo is way ahead of the rest of the others in documentation!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum