Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Harrow, UK

    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!"

  2. #2
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    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.

    Code is Poetry

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    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.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts