LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   portage questions (https://www.linuxquestions.org/questions/linux-distributions-5/portage-questions-125793/)

mvbv-linux 12-14-2003 02:30 PM

portage questions
 
Hello,

I'm a new gentoo user and I have some questions about the package system.

1) I got the sources of KDE 3.1.4 on a cover cd. Can I use them with portage ? I mean, to avoid a useless download, is it possible to simply drop the sources from my cd into, for example, /usr/var/portage/distfiles...maybe will I have to zip them into a tar.bz2 file ?
Do the sources somehow have to be tweaked to use them with gentoo ?

2) If it's possible, how can I tell portage to first look locally for the files and only get those which are missing on the net ?

The system seems great but I do not understand yet how it behaves...

mvbv-linux 12-14-2003 02:32 PM

another one
 
Here's another one :

Is there a flag that I could use with emerge to know precisely what's installed on my system ?

a kind of -ql or -qi for rpm...

Zerodark 12-15-2003 04:49 PM

If you have the KDE 3.1.4 sources on a cd, if they are in tar.bz2 format, just copy it all into the /usr/portage/distfiles directory, and do

Code:

emerge -k kde
And the command to search locally would be

Code:

emerge -k filename

mvbv-linux 12-16-2003 06:28 AM

emerge - kde
 
Thanks.

To install kde with emerge, how can I tell to install only the required packages (arts, kdelibs, kdebase) and not the other ones.
If I do 'emerge kde', I will get the whole stuff. And I want to know exactly what has been installed with wich package...

And what's the command to install them later ?

Zerodark 12-20-2003 11:00 AM

To install individual packages, just do:

Code:

emerge -kp kde
And then for all the specific packages you want, merge them seperatly.

Code:

emerge -k packagename


All times are GMT -5. The time now is 11:00 AM.