Find the answer to your Linux question:
Page 3 of 7 FirstFirst 1 2 3 4 5 6 7 LastLast
Results 21 to 30 of 67
I just want to make sure you two folks do know that you can specify use flags on the fly as opposed to making them permanent via /etc/make.conf USE="gnome -kde" ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864

    I just want to make sure you two folks do know that you can specify use flags on the fly as opposed to making them permanent via /etc/make.conf
    USE="gnome -kde" emerge -pv abiword
    Here is a link that I like to scan periodically, just for reference.
    http://linuxreviews.org/gentoo/emerge/
    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.

  2. #22
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    541
    Quote Originally Posted by MikeTbob View Post
    I just want to make sure you two folks do know that you can specify use flags on the fly as opposed to making them permanent via /etc/make.conf
    USE="gnome -kde" emerge -pv abiword
    Here is a link that I like to scan periodically, just for reference.
    emerge user guide (Linux Reviews)
    Although you can do that, it won't stick when doing an "update -avuDN world". Most of the community and devs frown upon this use. If you want to do that, you need to set them by package in /etc/portage/package.use.

    I usually set them in make.conf so that it can carry over to a different install.

    Linux User #376741
    Code is Poetry

  3. #23
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    MikeTbob - I did know that you could specify USE as a one-off but I have not taken this approach yet. I'd like a USE combination that works with everything if possible ... so ends up in make.conf. If I needed a particular combination for one or two packages then I'd probably take the approach gruven suggested ... but I have not needed to do that yet.
    Thanks for the link ... bookmarked

  4. #24
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Efectivamente, specifying USE flags on the command line is completely discouraged unless you do it for testing purpose (i.e. with -pv). That will only bring you trouble, because the system won't remember the settings.

    If you want to set something global, use make.conf, if you want to set flags on a per package basis, use /etc/portage/package.use(/*).

    Personally I only use package.use, a very big one I have no USE declaration in make.conf. They are very fine tuned so I don't think that posting it here will do any good at all.

  5. #25
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Quote Originally Posted by i92guboj View Post
    Personally I only use package.use, a very big one I have no USE declaration in make.conf. They are very fine tuned so I don't think that posting it here will do any good at all.
    Did you start off using make.conf but find it did not give you the control you wanted and switched to package.use ... or did you start with package.use only?

  6. #26
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by Jonathan183 View Post
    Did you start off using make.conf but find it did not give you the control you wanted and switched to package.use ... or did you start with package.use only?
    I started using make.conf, just like the average Joe. Then I learned about /etc/portage/* and with the time started to use it more and more as I profiled more and more my setup. Once day I realized that I had a very big USE in make.conf, and a very big package.use, removed the make.conf USE clause and after emerge -auDvN world I realized that only a few dozen packages would change if I removed the make.conf stuff.

    So I made the relevant changes in package.use and removed the stuff in make.conf. I find it easier to manage now that package.use is there. Of course, I've written it in years and years of Gentoo. Writing one from scratch just to take rid of the make.conf stuff would be an insane amount of manual and tedious work.

    Bear in mind that I rarely reinstall. Gentoo has rendered reinstallations something of the past. The last time I reinstalled it was to migrate from x86 to x86_64, like three years ago.

  7. #27
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    i92guboj thanks for making that clear

  8. #28
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    I'd like to mention that i92guboj knows what he is talking about more than I do. I believe he is also a Moderator on the Gentoo.org forums. (I Tip my Hat).

    I didn't intend for anyone to think I meant to use the USE flags on the fly all the time, I just wanted to let you know that it is possible and sometimes helpful.
    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.

  9. #29
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by MikeTbob View Post
    I'd like to mention that i92guboj knows what he is talking about more than I do. I believe he is also a Moderator on the Gentoo.org forums. (I Tip my Hat).

    I didn't intend for anyone to think I meant to use the USE flags on the fly all the time, I just wanted to let you know that it is possible and sometimes helpful.
    Yes, I am a moderator on the Gentoo forums. But that doesn't grant me infallibility nor any special knowledge, just some extra pain doses I know one or two things because I've been using Gentoo since 2004.1 or so if my memory serves correctly, that's all.

    I can be wrong just like anyone else, and I have no problem admitting my errors and learning from them, it's much more productive for me than giving advice

    I just wanted to make that clear for a simple reason: a lot of people start setting USE from the command line, and after that they have all kind of colorful problems, and some packages behave erratically or work only intermittently. That's why all the developers and experienced users disregards the usage of USE on command line, unless it's only to do a quick check, with emerge -pv or something similar.

    Regards

  10. #30
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    I just got my desktop re-setup (wanted to try out ext4), so here's the USE flags for it:
    Code:
    USE="mmx sse sse2 X gtk -gnome -qt3 -qt4 -kde alsa opengl sdl png jpeg gif dvd cdr"
    package.use also has gnome for gtk (it wouldn't compile without it), and xinerama for fluxbox (so maximising windows doesn't stretch across both screens).

Page 3 of 7 FirstFirst 1 2 3 4 5 6 7 LastLast

Posting Permissions

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