LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-17-2005, 02:56 AM   #1
Sando
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Rep: Reputation: 15
KDE and Gentoo


Hi!

I've just got a quick question regarding Gentoo 2005.0 and how much it emerges using:

#>emerge --usepkg kde

The Reason is that firstly, This is the first command that I've run after the Gentoo Installation and it's taking like ages to compile all the libraries and source code. Can anyone give me:

a) An esitimated Time of completion on a Intel Pentium 2: 300Mhz with 128MB RAM and......
b) EXACTLY what that command actually emerges and all of the dependencies that it emerges as well, because I saw CUPS flying past at a particular moment and I thought I was emerging KDE? So yes, just a list of what "emerge --usepkg kde" actually emerges and the emerged dependencies.

Cheers,

Sandomaphone
 
Old 04-17-2005, 03:34 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well I could just cut and paste, but it's easier for you to just run:
emerge -pv kde

You can tweak some of the USE flags on the packages that appear to not necessarily have to install the entire world. For example, truly, just pulling out of my head, so it probably doesn't exist:
If you:
Code:
emerge -pv kde
I'd probably pipe it to a screen pager for easier reading:
Code:
emerge -pv kde | less
And see that kde-printer has a USE flag of +cups marked, you can alter that to:
USE="-cups" emerge kde -pv
And now you should see kde-printer with a USE flag of -cups, which will likely keep cups from un-necessarily getting installed.

How long?

Years. That's actually going to take you quite a while. On my AMD64 3200, compiling KDE actually took me ~4 hours from a completely virgin boot (first, fresh boot after initial install). I'd estimate it would take you ~15-20 hours to get it completely installed with that CPU. There are a few ways to speed up the process, check out the Gentoo Handbook for more info on installing packages directly from the CD (assuming you have the right CD).

Cool

Last edited by MasterC; 04-17-2005 at 03:35 AM.
 
Old 04-17-2005, 04:23 AM   #3
Sando
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Man, Thats going to be Painful!

does the -pv switch list EVERYTHING that emerge is going to do? Like dependencies and everything?

Cheers,

Sandomaphone
 
Old 04-17-2005, 06:05 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yes, it pretends, -p, and it's verbose, -v showing the size of the downloads, the packages, if they are upgrades (U) new (N) or Downgrades (UD).

Just in case you aren't aware, you can instead use -av, which will save a small bit of time as it prompts at the end of the list with a "Do you want me to emerge these pacakages? Y/N" so it doesn't have to recalculate everything.

Cool

Last edited by MasterC; 04-17-2005 at 06:07 AM.
 
Old 04-17-2005, 07:54 AM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Why not use a "lightweight" wm?
 
Old 04-18-2005, 02:16 AM   #6
Sando
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Because I don't really like icewm or fwm or really any other lighter WMs.

However, Just a quick question:

I did a:

#>emerge --usepkg kde

OK? Well, I downloaded the Gentoo 2005.0 Package CD and I inserted that into the CD-ROM Drive BEFORE executing this command, however, I don't know whether Portage is using the packages on the CD or downloading them off the Net, due to the fact that I have internet on that Box.

So, Next Questions:

a) Is it getting the Sources off the Internet? Why?
b) On the Package CD, is it Binaries on there because KDE is taking AGES to compile, AKA. it's still going as we speak. ?

I want to know this because It might have been rather timesaving instead of doing what I am doing right now....

Cheers,

Sandomaphone
 
Old 04-18-2005, 03:13 AM   #7
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

portage will look for packages, by default, under
Code:
/usr/portage/distfiles
if you have a cd, copy all the packages that you want there.
note, that if the packages are old, portage will get the newer version from internet.

regards

slackie1000
 
Old 04-18-2005, 04:05 AM   #8
Sando
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Well, the unfortunate thing is that I told Portage to look in /mnt/cdrom for packages only before that, I executed:

#>emerge sync

Which updated the Portage Tree and therefore, Now I understand why it's getting everything off the internet. Is there anyway to rollback the Portage Tree to an older Tree?

Cheers,

Sandomaphone
 
Old 04-18-2005, 04:57 AM   #9
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

Quote:
Originally posted by Sando
Well, the unfortunate thing is that I told Portage to look in /mnt/cdrom for packages only before that, I executed:
how exactly you did that? did you follow any installation instructions?

the deal is the following: gentoo get updates really fast. each two days you will have new results in your sync process.
it means, that 99% of your files under /usr/portage/distfiles or /wherever will be old. the question is:
can you leave with that or you need the bleeding edge?
you need to put some output here, if you want help.
what is now, the content of this directory: /usr/portage/distfiles
if you made, sync it is almost impossible that all your packages under distfiles will be current.
keep posting..

regards

slackie1000
 
Old 04-18-2005, 05:05 AM   #10
Sando
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Well, I changed to /mnt/cdrom (Gentoo Linux 2005.0 Package CD) instead of /usr/portage/distfiles because that had KDE on it and several other useful utilities.

Secondly, NO I do NOT nessacerily want the "bleeding edge" however, I want at least KDE 3.2 Standard on everything. SO whenever KDE 3.2 was made, I want that same standard in eveything else. You know what I mean?

Thirdly, How would I stop it from updating Portage every 2 days? How would I make it so ONLY if the package ISN'T on the Package CD - ROM then it THEN looks on the internet? And how would I make it so that I can enable \ disable at will the Portage 2-day Update Feature, however, emerge sync always works whenever I want?

Thats about all.

I'm getting Frustrated now because KDE is taking literally years to compile (I started Sunday 7am and it's 8:07pm Monday and it STILL isn't finished....shees!)

Cheers,

Sandomapone
 
Old 04-18-2005, 05:14 AM   #11
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

Quote:
Originally posted by Sando

Thirdly, How would I stop it from updating Portage every 2 days? How would I make it so ONLY if the package ISN'T on the Package CD - ROM then it THEN looks on the internet? And how would I make it so that I can enable \ disable at will the Portage 2-day Update Feature, however, emerge sync always works whenever I want?
my bad. my english is terrible. sorry.
this is not automatic. portage will update - sync - only when you want. of course, considering that you didn't make any kind of cron job for that.
i am not in gentoo now, but for sure there is a possibility to redirect portage to look where you want for packages. as soon as I am back there i post a better solution.
2 days compiling kde is completely normal - i personally, do not use kde.
if you have a 2005 package cd, what is the problem to install gentoo again.
my tip: go for a stage 3 install and follow this excelente guide.

regards

slackie1000
 
Old 04-19-2005, 02:10 AM   #12
Sando
LQ Newbie
 
Registered: Oct 2004
Posts: 21

Original Poster
Rep: Reputation: 15
......STILL COMPILING!!! ARGH!

Apart from that, NO I DO NOT! want to reinstall Gentoo 2005.0 again....EVER! After I've finished compiling KDE, I'm going to take an image of that Box!

What I WANT to know is if there is KDE BINARIES for GENTOO 2005.0!!! And the second question is HOW TO DIRECT PORTAGE to those specific Binaries or if not, to get the sources from the Package CD!

the Portage --usepkg *shoold* force it to use the CD however I think it isn't because I did an emerge --sync and that updated the Portage tree and thus the Sources\Binaries on the Package CD must be old or something, otherwise it wouldn't be downloading the sources!

Thanks,

Sandomaphone
 
Old 04-19-2005, 03:34 AM   #13
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

Quote:
Originally posted by Sando
Apart from that, NO I DO NOT! want to reinstall Gentoo 2005.0 again....EVER! After I've finished compiling KDE, I'm going to take an image of that Box!
LOL... did you read something about gentoo before start the installation process? if you would have followed the installation book, everything would be fine.
you are compiling something like KDE. what did you expect? one hour?

Quote:
Originally posted by Sando

the Portage --usepkg *shoold* force it to use the CD however I think it isn't because I did an emerge --sync and that updated the Portage tree and thus the Sources\Binaries on the Package CD must be old or something, otherwise it wouldn't be downloading the sources!
this is correct. you could have changed that by masking the package. you should have read that also. there is a really nice portage guide here.

gentoo installation is something different. requires some read and some idea what is going on.

regards

slackie1000

Last edited by slackie1000; 04-19-2005 at 03:35 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE 3.4.x on Gentoo 2005.0 dinolinux Linux - General 2 06-21-2005 02:04 PM
Gentoo - What depends on KDE? Orkie Linux - Distributions 3 05-09-2005 02:22 PM
My Gentoo Wallpapers on kde-look cheater1034 General 4 09-19-2004 12:49 PM
KDE won't run on Gentoo 1.4 Twiggy794 Linux - Software 9 09-28-2003 04:31 PM
don't install gentoo with kde crashmeister Linux - Distributions 8 11-07-2002 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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