Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > How do USE flags work?

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-15-2009   #1 (permalink)
Linux User
 
hazel's Avatar
 
Join Date: May 2004
Location: Harrow, UK
Posts: 493
How do USE flags work?

Can someone explain to me how USE flags actually work? I'm familiar with the idea that some programs contain code for extra bells and whistles that not everyone wants, so those sections only compile if a certain flag is set. But that's at the discretion of the programmer. How can gentoo assume that something like gnome support will always be conditionally compiled in programs that come from so many different sources? Do they patch all the programs?
__________________
"I'm just a little old lady; don't try to dazzle me with jargon!"
hazel is offline  


Reply With Quote
Old 03-15-2009   #2 (permalink)
Linux User
 
gruven's Avatar
 
Join Date: Dec 2004
Location: Arkansas
Posts: 439
Send a message via ICQ to gruven Send a message via AIM to gruven Send a message via MSN to gruven Send a message via Yahoo to gruven Send a message via Skype™ to gruven
If you will notice in Debian, they have many packages that have support for other things such as apache. They have apache-mod-php, apache-mod-ssl, etc... Those packages may not be exact, but you get my point.

In Gentoo, instead of installing those separate packages, they use USE flags. If you want an option built in, you set its USE flag. If you don't, you unset it.

It is an easier way to not build support for things you don't want.

The default USE flags enabled will depend on the profile you selected when you installed. I usually just leave it at default and select everything I want in my make.conf.

Gentoo Linux Documentation -- USE flags
That link explains them very well.
__________________

Linux User #376741
Preferred Linux Distro: Funtoo
Screenshots
Remember, Ubuntu is A Linux distribution, not THE Linux distribution.

There is no need to login to the GUI as root!
gruven is offline   Reply With Quote
Old 03-16-2009   #3 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
We also had a small discussion on which combination of USE flags work well for us, if you want to have a gander at them.
http://www.linuxforums.org/forum/gen...-work-you.html
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 01:17 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2