View previous topic :: View next topic |
Author |
Message |
edmz n00b
Joined: 07 Nov 2002 Posts: 7
|
Posted: Mon Jan 26, 2004 1:18 am Post subject: Finished installing. Just noticed I didnt install alsa. |
|
|
My insatll is fine other than the fact that I don't have "alsa" in the USE var but instead I have "oss".
I would like to use alsa instead of oss. What should I do ? Will removing "oss" and adding "alsa" to the USE var then:
Code: | emerge sync & emerge system | ?
I'm lost here. Thanks in advance for any help. |
|
Back to top |
|
|
uglyman Apprentice
Joined: 21 Apr 2002 Posts: 216 Location: Seattle, WA USA
|
Posted: Mon Jan 26, 2004 1:31 am Post subject: |
|
|
hi,
umm in my experience you are better off if you leave oss in the USE and add alsa in addition to it. Alsa has oss emulation so you should leave oss in USE so that programs that have oss capability will be able to use alsa also.
emerge sync downloads the latest portage tree. It is a good thing to do once in a while, but shouldnt have anything to do with this situation. emerge system will just redo the base system, most of which IIRC does not use alsa anyway. You can do something more broad like
but maybe someone else has a better suggestion for what command to rebuild with, there might be a way to target builds that use the alsa use flag. Another option would be just to remerge the things that seem to be lacking their alsa component (such as xmms for examplt). Anything where alsa doesn't work could be fixed by just a simple emerge program name, if alsa is in USE and alsa is installed and configured properly.
later
uglyman |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Mon Jan 26, 2004 6:16 am Post subject: |
|
|
There is an excellent document that gives step by step instructions on how to install alsa. At some point you may need to do something like: Code: | # emerge alsa-driver |
but there are other steps involved as well. The link above should help.
In general the USE flags don't affect which packages get emerged with either "emerge system" or "emerge world". Instead, they affect how the packages you choose to emerge get configured. For example the "alsa" USE flag isn't designed to somehow automatically emerge alsa for you. It is designed to tell other packages that they should compile in the hooks to alsa when they get emerged.
HTH |
|
Back to top |
|
|
|