View previous topic :: View next topic |
Author |
Message |
kiigass n00b
Joined: 21 Nov 2018 Posts: 65
|
Posted: Thu Dec 06, 2018 11:52 am Post subject: What does "pull in automatically" mean? |
|
|
Hi,
here https://wiki.gentoo.org/wiki/PulseAudio it says:
Quote: | Portage knows the pulseaudio as a global USE flag for enabling support for PulseAudio in other packages. Enabling this USE flag will pull in media-sound/pulseaudio automatically: |
I did
Code: | root #emerge --ask --changed-use --deep @world |
afterwards, but it did not install pulseaudio. I installed it manually by
Code: | emerge --ask --verbose media-sound/pulseaudio |
I am confused. What is meant by "pulled in automatically"? Would it have been installed as a dependency as soon as I install some package which depends on pulseaudio, i.e. uses the global use flag "pulseaudio"?
thanks |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Thu Dec 06, 2018 11:54 am Post subject: |
|
|
Yes, exactly. IF you are right at the beginning of installing Gentoo, there will probably be nothing installed with USE pulseaudio, so it does not get pulled in. |
|
Back to top |
|
|
kiigass n00b
Joined: 21 Nov 2018 Posts: 65
|
Posted: Thu Dec 06, 2018 12:12 pm Post subject: |
|
|
asturm wrote: | Yes, exactly. IF you are right at the beginning of installing Gentoo, there will probably be nothing installed with USE pulseaudio, so it does not get pulled in. |
Thanks! |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Fri Dec 07, 2018 1:45 am Post subject: |
|
|
In this case, the flag causes packages which can use pulseaudio to DEPEND (build-time dependency) or RDEPEND (runtime dependency) on it, as appropriate. Portage will then notice the dependency and try to install the pulseaudio package to satisfy that dependency. As asturm says, you are in a state where none of your installed packages are pulseaudio aware, so none of them gained the dependency, so there was nothing for Portage to do differently as a result of the flag. |
|
Back to top |
|
|
|