Installing Masked Packages in Gentoo

I've been avoiding installing masked packages for quite some time because I didn't know how to do it properly. I finally broke down and looked up the correct procedure.
Here is the improper way, which will either break your system or make it unstable if used sytemwide:

/etc/make.conf
ACCEPT_KEYWORDS="~x86"
-The x86 variable should be changed depending on your achitecture (x64, ppc, ppc64, etc)

Now, here is the "correct" way to unmask packages.
  • Edit or create the file "/etc/portage/package.keywords" -The file needs to be created if you have never accessed it before. 
  • Input the following, depending on the package. I'll use gnome-do as an example: "gnome-extra/gnome-do **"
In the future, use the command line without a text editor:
echo "gnome-extra/gnome-do **" >> /etc/portage/package.keywords
That's it!

No comments:

Post a Comment