Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is the list of USE variables, default values [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Thu Apr 23, 2015 3:55 pm    Post subject: Where is the list of USE variables, default values [SOLVED] Reply with quote

Hello all,

I've been doing my first Gentoo install in many, many, many years...and a lot has changed.

One thing I remember in the old handbook and install guide, was in the part where you are putting your make.conf file together...there was a weblink to a page on the gentoo site that listed all the USE variables available and you could use that as a good reference to set all you wanted.

Is that still around? If so...wish it was still a link IN the install guide....
If not can someone post it for me?

Also, it seems from the reading of the new handbook, a lot of the USE variable are default chosen for you, and you have to know what they are in order to basically enable or disable them in make.conf....rather than have you set most of them in make.conf.

Just seems a bit more difficult now to be exactly sure of what USE variables you're setting for your system.

Can someone help me out with links and maybe a better explanation of how it is handled now?

Thank you in advance,

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........


Last edited by cayenne on Thu Apr 23, 2015 8:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1656
Location: United Kingdom

PostPosted: Thu Apr 23, 2015 5:17 pm    Post subject: Reply with quote

I think you're looking for this: https://wwwold.gentoo.org/dyn/use-index.xml

Presumably someone is in the process of moving it over to the new Wiki format for the Handbook: https://wiki.gentoo.org/wiki/USE_flag
_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
EmaRsk
Apprentice
Apprentice


Joined: 07 Sep 2004
Posts: 158
Location: Italy

PostPosted: Thu Apr 23, 2015 5:25 pm    Post subject: Reply with quote

Or:
/usr/portage/profiles/use.desc
/usr/portage/profiles/use.local.desc

Or euse -i [flag].
equery uses <package> is also useful.
Both tools are from app-portage/gentoolkit.
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Thu Apr 23, 2015 5:28 pm    Post subject: Thank you!! Reply with quote

Fitzcarraldo wrote:
I think you're looking for this: https://wwwold.gentoo.org/dyn/use-index.xml

Presumably someone is in the process of moving it over to the new Wiki format for the Handbook: https://wiki.gentoo.org/wiki/USE_flag


Yes, that was the page I was thinking about!!

Cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Thu Apr 23, 2015 5:30 pm    Post subject: Reply with quote

cayenne,

Try ufed. Its a Use Flag EDitor. There are others.

Your USE flags are set cumulatively in four places.

1. By the profile you choose (globally)
2. In make.conf (globally)
3. In package.use (per package)
4. On the command line (this command only)

emerge --info will show your actual global USE settings.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Thu Apr 23, 2015 5:35 pm    Post subject: How to find default USE settings? Reply with quote

EmaRsk wrote:
Or:
/usr/portage/profiles/use.desc
/usr/portage/profiles/use.local.desc

Or euse -i [flag].
equery uses <package> is also useful.
Both tools are from app-portage/gentoolkit.


Thanks!!

Wow, that euse -i sure sends out a lot of stuff!!

Ok, I guess now, my last question on this, is how do you know what USE flags are being set for you?

I the past, the USE flags were set by me in the USE= portion of the make.conf.

However, it seems a LOT of defaults for USE are set on install somehow...and the USE= in the make.conf is just used to modify what's already set somewhere else?

How do you find and know what is set by default...so that you know what to change in the make.conf? Or am I missing something had have it wrong on how it works now?


Thanks to all for the great and quick replies!!

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Thu Apr 23, 2015 5:44 pm    Post subject: Reply with quote

cayenne,

USE flags have always been set in your profile.
It see what is set there, comment out USE in make.conf and run emerge --info.
Its quite safe to swap profiles and look. Just don't build anything.

There is a special use flag
Code:
-*
That clears the current settings in case you want complete control.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Thu Apr 23, 2015 5:55 pm    Post subject: Oh..the profile!! Reply with quote

NeddySeagoon wrote:
cayenne,

USE flags have always been set in your profile.
It see what is set there, comment out USE in make.conf and run emerge --info.
Its quite safe to swap profiles and look. Just don't build anything.

There is a special use flag
Code:
-*
That clears the current settings in case you want complete control.


OH interesting!!!

Ok, the profile thing is a bit new to me...and I'm trying to find time to read through all of that, as that I know it is something I need to know about....

I think the profile thing was just really starting to take hold after my last install...at least my knowledge of it being something of merit did...

Is there a place in the profile to look to see where it is set?

Again..thanks for all the great info...I've got a lot more to read and learn!!

C
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Thu Apr 23, 2015 6:00 pm    Post subject: Reply with quote

cayenne,

Code:
eselect profile list
will show your current setting.
Profiles are stored in /usr/portage/profiles and may be changed by emereg --sync.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Thu Apr 23, 2015 6:02 pm    Post subject: Reply with quote

NeddySeagoon wrote:
cayenne,

Code:
eselect profile list
will show your current setting.
Profiles are stored in /usr/portage/profiles and may be changed by emereg --sync.


Thanks Neddy...I remember setting one during the install:

Code:
bazuka linux # eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/13.0
  [2]   default/linux/amd64/13.0/selinux
  [3]   default/linux/amd64/13.0/desktop
  [4]   default/linux/amd64/13.0/desktop/gnome
  [5]   default/linux/amd64/13.0/desktop/gnome/systemd
  [6]   default/linux/amd64/13.0/desktop/kde
  [7]   default/linux/amd64/13.0/desktop/kde/systemd
  [8]   default/linux/amd64/13.0/developer
  [9]   default/linux/amd64/13.0/no-multilib *
  [10]  default/linux/amd64/13.0/x32
  [11]  hardened/linux/amd64
  [12]  hardened/linux/amd64/selinux
  [13]  hardened/linux/amd64/no-multilib
  [14]  hardened/linux/amd64/no-multilib/selinux
  [15]  hardened/linux/amd64/x32
  [16]  hardened/linux/musl/amd64
  [17]  default/linux/uclibc/amd64
  [18]  hardened/linux/uclibc/amd64


My question is..how do I find out what USE flags that (or any profile) is setting by default?


Thank you!

C
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
bstaletic
Apprentice
Apprentice


Joined: 05 Apr 2014
Posts: 225

PostPosted: Thu Apr 23, 2015 6:14 pm    Post subject: Reply with quote

If you have an empty USE= in make.conf emerge --info will tell you your use flags set by your profile (since nothing else is setting USE flags).
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Thu Apr 23, 2015 6:29 pm    Post subject: Just one place in profiles to look maybe? Reply with quote

bstaletic wrote:
If you have an empty USE= in make.conf emerge --info will tell you your use flags set by your profile (since nothing else is setting USE flags).


Ok, I saw that....

But is there not a simple directly file within the profile selected to see the USE choices for that profile are? That was the answer I was looking more for....

Seems that going into make.conf, commenting out your USE there, saving it and then running emerge --info is a bit of a kludge.

Is there not some single file within wherever the profiles chosen are kept that you can examine?


:roll:


Thanks!

C
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Thu Apr 23, 2015 7:03 pm    Post subject: Reply with quote

cayenne,

Profiles are heirarchical. Flags set at one level can be unset at the next then set again.
There is no single file you can refer to to read the USE flags provided by your profile.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10263
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Apr 23, 2015 7:03 pm    Post subject: Reply with quote

No, because the profile is a nested directory tree of files, more than one of which contribute to the effective USE flags.

Edit: NeddySeagoon: Fastest gun in the GentooVerse.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Thu Apr 23, 2015 8:02 pm    Post subject: Thank you Reply with quote

NeddySeagoon wrote:
cayenne,

Profiles are heirarchical. Flags set at one level can be unset at the next then set again.
There is no single file you can refer to to read the USE flags provided by your profile.


Hmm..that IS very interesting.

Ok, thanks for the info!!

I'll work with the modifying USE in make.conf, commenting out and doing the emerge --info and back and forth to see what I have set in there.
:)

I appreciate all the answers and patience with me...I'm trying to learn!!
:)

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum