GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey guys! I need a help again
I want to reinstall some of installed packages.
I read portage manual page, but this manual is the most confusing and frustrating manual that I have seen.
Can anyone exactly explain (with a small example) how to reinstall package? I want to reinstall package with another USE flags set.
For example: amarok installed with USE='dbus -debug' flags. How can I get amarok with USE='alsa lpc -dbus' flags? Should I remove package completly and install it again? If yes, is this enough:
Then emerge -pv amarok again, and it should show those changes. If you need more changes, go back and edit /etc/portage/package.use again.
Then
Code:
emerge -av media-sound/amarok
The USE="some_flag" emerge amarok is a bad idea.
EDIT:
Editing the package.use file will insure that future upgrades of the software still have the same USE flags. package.use will override the settings only for specified flags of an individual package, override the ones from make.conf and the ones set by default (the defaults are set depending on which eselect profile set you used).
Last edited by fakie_flip; 07-16-2012 at 08:51 AM.
Reason: Additional info
Better way would be writing USE flags into make.conf or /etc/portage/package.use...
And look for the --newuse parameter, but I think, it is given by default anyway.
Check the use flags, you only need to set those that you want to change from the ones in the output above. Now edit /etc/portage/package.use or /etc/make.conf, wherever you use to set the flags. If you use both you probably know what to do. Set the flags that you noted down in the step above, save, close.
Now just emerge -va that package, if you agree with the output press enter.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.