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 > What combination of USE flags work for you ?

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 04-01-2009   #21 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,100
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 help.
Please keep it on the forums only.
MikeTbob is offline  


Reply With Quote
Old 04-02-2009   #22 (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
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
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 04-02-2009   #23 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
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
Jonathan183 is offline   Reply With Quote
Old 04-03-2009   #24 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
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.
i92guboj is offline   Reply With Quote
Old 04-03-2009   #25 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
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?
Jonathan183 is offline   Reply With Quote
Old 04-03-2009   #26 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
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.
i92guboj is offline   Reply With Quote
Old 04-03-2009   #27 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
i92guboj thanks for making that clear
Jonathan183 is offline   Reply With Quote
Old 04-04-2009   #28 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,100
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 help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 04-04-2009   #29 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
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
i92guboj is offline   Reply With Quote
Old 04-07-2009   #30 (permalink)
Linux User
 
darkrose0510's Avatar
 
Join Date: Jan 2006
Location: Queensland, the cyclone/flood/drought capital of Australia
Posts: 364
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).
__________________
Inventor of '{' and '}' - patent pending

A computer without a Microsoft operating system is like a dog without bricks tied to its head.
darkrose0510 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 02:04 AM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2