LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-23-2012, 08:22 AM   #1
KellKheraptis
LQ Newbie
 
Registered: May 2012
Posts: 11

Rep: Reputation: Disabled
Does Portage check needed dependencies?


I know a good bit of the draw of Gentoo is setting USE flags and CFlags, and from my understanding of it, dumping unneeded USE flags from packages ultimately is what sets Gentoo in a league of its own for speed, however...does Portage give an alert if you get rid of a dependency vital to the package in question? The end goal will be of course pre-selecting a list of what I want to install, and ONLY getting the dependencies needed for those items, to ensure maximum speed in loading and executing. Also, is it possible to do the same thing with the kernel, or is this mostly done for me by the compiler? Sorry if these were covered in the Gentoo handbook, I've been pouring over it for a while now and didn't see it. I'd attempted to install Gentoo once from the minimal CD, but due to either a damaged ISO or a bad tg3 driver, it never got off the ground, so I'd like to give it a second go and see if it's got a leg up on my current lean, mean ArchBang setup. Thanks!
 
Old 05-23-2012, 08:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
If a package is vital, then the USE flag is not used within the ebuild, removing the option to not use it.

USE flags are not dependencies though, they control the compiled functionality, not just that it needs another package.

Last edited by acid_kewpie; 05-23-2012 at 08:33 AM.
 
Old 05-23-2012, 08:45 AM   #3
KellKheraptis
LQ Newbie
 
Registered: May 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
If a package is vital, then the USE flag is not used within the ebuild, removing the option to not use it.

USE flags are not dependencies though, they control the compiled functionality, not just that it needs another package.
So for example, if I'm using OpenBox and only ever will, I have no need for the myriad of compatibility/functionality parts of a package pertaining to KDE or GNOME, and thus can dispose of that via the USE flags?
 
Old 05-23-2012, 08:51 AM   #4
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 419

Rep: Reputation: Disabled
Yes, it's important to know which USE flags do what. I believe all you need to do is add in "-kde" or something similar. You can find a list of USE flags either on the system locally or online at http://www.gentoo.org/

You will have to rebuild the packages with the new USE flags which Portage can do for you.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Circular dependencies in portage, file and eselect Zmegolaz Linux - Software 6 04-17-2011 03:55 PM
[SOLVED] How do I check dependencies? TobiSGD Slackware 14 09-22-2010 01:16 AM
[SOLVED] Check versions that are stable in portage? mbostwick Gentoo 6 09-12-2009 11:08 PM
check dependencies syeronne Linux - Newbie 1 11-30-2005 09:53 AM
Portage: Updating individual package and dependencies in Gentoo vharishankar Linux - Distributions 2 03-29-2005 04:26 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration