Setting up global USE flags

Added by Diego Rodríguez 18 days ago

I'm a complete Gentoo noob and I've been playing with Calculate for like a week or so. I've read the documentation but the directories are different on Calculate and I'd like to know how to use them.

For example /etc/make.profile, /etc/make.globals. and /etc/make.conf doesn't exist. I suppose that defining my USE flags must be done on the /etc/portage/make.conf, but that's a folder that contains a 0.base and a custom file and in the documentation, those aren't specified on how they should be used.

As I said I'm a newbie coming from Manjaro where this kind of tinkering has never been necessary, but now I wanna learn how to use my system to its full potential, so what should I do? Why are they different? Should I create a /etc/make.conf file and establish my USE flags there, or should I just specify my USE flags in 0.base or custom by adding a new line (none of them have "USE=" written on their script)? Also what is the /etc/make.conf.catalyst for, which already has some USE flags set?

Thanks for your comprehension Calculate community.


Replies (2)

RE: Setting up global USE flags - Added by Brad Heffernan 17 days ago

Not sure if it is correct but it is working for me, i use the custom file in

/etc/portage/package.use/

here is an example:

i use ncmpcpp and i want the curl and visualizer USE flags so my /etc/portage/package.use/custom file will look like this

media-sound/ncmpcpp curl visualizer

now when i need to reinstall for whatever reason the use flags are added automatically.

another way you can do it is through app-portage/porthole you can search and select what to install once selected you will see a grid in the summary with version numbers, right click the version you want and select Advanced Emerge this will bring up a window with the option to tick USE flags and if you want to keep those useflags for future installs and can click the update package.use button.

Hope this was helpful.

RE: Setting up global USE flags - Added by Diego Rodríguez 16 days ago

I think the USE flags on package.use are the local not the global, but whatever, they work the same. But what I'm most fascinated with is the advance emerge option in Porthole, that's really powerful and just plain simple. Thanks for the heads up on that option.

(1-2/2)

Thank you!