View previous topic :: View next topic |
Author |
Message |
ceramide n00b
Joined: 27 Jun 2022 Posts: 11
|
Posted: Wed Jun 29, 2022 10:39 am Post subject: [SOLVED] Another noob question |
|
|
Example scenario: I "emerge x11-misc/tint2" without any USE flags. I later realise that I should've included the "tint2conf" flag. Since I've already emerged in this example tint2, how would I go about getting tint2conf?
Last edited by ceramide on Thu Jun 30, 2022 12:59 am; edited 1 time in total |
|
Back to top |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1392 Location: Germany
|
|
Back to top |
|
|
ceramide n00b
Joined: 27 Jun 2022 Posts: 11
|
Posted: Wed Jun 29, 2022 2:05 pm Post subject: |
|
|
My package.use is a directory. What do you mean by "placing" x11-misc/tint2 tint2conf in it? Create a new file and include that line? I can't exactly use a directory as the name of a file.
Also, do you mean emerge -av instead of emerge mit? Thanks! |
|
Back to top |
|
|
Leonardo.b Apprentice
Joined: 10 Oct 2020 Posts: 297
|
Posted: Wed Jun 29, 2022 2:25 pm Post subject: |
|
|
https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/Portage
Also, give a look at portage and emerge manual pages.
/etc/portage/package.use is a file read by Portage, looking for USE flags.
The format is like:
Code: | # Set use1 and use2, but not use3 for package foo/bar
foo/bar use1 use2 -use3 |
If package.use is a directory, all the files inside it are read, in alphabetical order.
It is up to you if you want it to be a directory or a file. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Jun 29, 2022 2:41 pm Post subject: |
|
|
ceramide wrote: |
My package.use is a directory. What do you mean by "placing" x11-misc/tint2 tint2conf in it? Create a new file and include that line? I can't exactly use a directory as the name of a file.
Also, do you mean emerge -av instead of emerge mit? Thanks! | Yes, x11-misc/tin2 tin2conf would go into a file in the package.use directory. I generally use the name of the package (tint2 in this case).
"mit" is German for with, so I believe that was "emerge with the -av flag". _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1531 Location: South America
|
Posted: Wed Jun 29, 2022 2:51 pm Post subject: |
|
|
Quote: | [...] so I believe that was "emerge with the -av flag". |
Also, for reinstalling packages with changed USE flags, --oneshot (or its shorter form -1) should also be added, so that they do not accidentally get added to the @selected set... _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
ceramide n00b
Joined: 27 Jun 2022 Posts: 11
|
Posted: Thu Jun 30, 2022 12:59 am Post subject: |
|
|
Thanks everyone! And also thanks for referencing the wiki and man pages, I will read through them and also make use of them more, in general, to learn how to deal with typical tasks like these. |
|
Back to top |
|
|
|