Results 1 to 4 of 4
Just a quick question, all the tutorials I read say to put my USE flags into /etc/portage/package.use However on my computer the only packages.use is /usr/portage/profiles/base/package.use /etc/portage/ doesn't exist for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-06-2008 #1
- Join Date
- Dec 2006
/portage/packages.use doesn't exist
However on my computer the only packages.use is
/etc/portage/ doesn't exist for me. So, if I create it, will it be basically a custom USE Flag file thingy? (so I don't have to edit /usr/portage/profiles/base/package.use, because it contains some default flag stuff)
- 09-06-2008 #2
- 09-06-2008 #3
As root, do this:
mkdir /etc/portage && touch /etc/portage/package.use
Also, you probably really need to read the documentation on portage and use flags if you plan on sticking with gentoo very long.
Working with Gentoo â€” Gentoo Linux Documentation
Linux User #376741
Code is Poetry
- 09-06-2008 #4
- Join Date
- Nov 2007
- Córdoba (Spain)
The ones under /usr/portage are tied to the profiles, and changing them makes you no good, since the next time you emerge --sync all the changes there will be lost.
Then there's /etc/make.conf, you can define global USE flags there. This is generally used to set flags that are being to be used in all (or at least most of) your packages.
Then there's /etc/portage/package.use. package.use can be a file or a directory. If it's a file, then you can specify use flags like this:
category/package <list of use flags>
In the last place, there's always the possibility to specify them on command line, which I don't advise unless it's with -pv for testing purposes. This last method doesn't record the USE flag, which means that in the next update they might be changed without a warning.
All this methods have been listed by precedence. The later ones take precedence over the previous.
Oh, and about /etc/portage/* stuff, if it doesn't exist, just create it.