LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
  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,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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: 530

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



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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 10:50 AM.

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