LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 12-25-2010, 06:33 AM   #1
betomlin1
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
unmasking keyword mask


How do I unmask a keyword mask such as: dev-python/PyQt4-4.8.1 (masked by: ~amd64 keyword)
 
Old 12-25-2010, 07:03 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Add the following line to (and create the file if it is not present) /etc/portage/package.keywords:

Code:
dev-python/PyQt4 ~amd64
 
Old 12-28-2010, 07:24 AM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

Just for your information, because the solution from andrewthomas is 100% correct.
1) ~amd64 keyword is not mandatory anymore. So you can just do:
Code:
echo "dev-python/PyQt4" >> /etc/portage/package.keywords
2) you may want to just unmask a specific package version:
Code:
echo "=dev-python/PyQt4-4.8.1" >> /etc/portage/package.keywords
3)If you plan to unmask a lot of packages, your package.keywords file may wuickly becom a mess to manage. So to manage that easily, you can create a /etc/portage/package.keywords directory and create some kind of category files inside this directory. Here is a typical example:
Code:
mkdir -p /etc/portage/package.keywords
echo "dev-python/PyQt4" >> /etc/portage/package.keywords/python-libs
echo "dev-util/cmake" >> /etc/portage/package.keywords/build-tools
...
Kind regards,

Oliv'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
truct keyword... antiregulator Linux - Kernel 10 05-22-2009 08:20 AM
how to grep a "keyword" beside another keyword? xiawinter Linux - Software 7 12-29-2007 12:50 AM
unmasking my proxy password in XP htamayo General 3 11-26-2006 06:37 PM
LXer: Unmasking Novell's identity plans LXer Syndicated Linux News 0 07-17-2006 09:03 PM
unmasking NTS mount jasonmcneil0 Linux - Newbie 2 12-18-2003 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration