Differences between version 15 and revision by previous author of GentooNotes.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 15 | Last edited on Tuesday, June 21, 2005 2:58:57 pm | by JohnMcPherson | Revert |
Older page: | version 13 | Last edited on Friday, April 8, 2005 10:29:14 am | by NickJohnson | Revert |
@@ -2,8 +2,19 @@
* To be able to su(1), you must be in group <tt>wheel</tt>: <tt>usermod -G wheel user</tt>
* To be able to use the SoundCard, you must be in group <tt>audio</tt>: <tt>usermod -G audio user</tt>
* There is a thread in the Gentoo about [Non-standard Portage Utilities | http://forums.gentoo.org/viewtopic.php?t=67849]
+
+!!!Package querying basics
+!Searching available package names
+ emerge search ''part of packagename''
+
+!Listing files in a package
+(old way)
+ qpkg -l ''packagename''
+(newer way)
+ equery f ''packagename''
+
!!! Changing <tt>USE</tt> flags
If you've added (or removed) some <tt>USE</tt> flags on your system, there will be some inconsistencies with how some packages are compiled.
@@ -76,14 +87,14 @@
The only recommended way to install masked packages is to add to <tt>/etc/portage/package.keywords</tt> an entry for the package you want to build. Do __not__, whatever you do, emerge the <tt>.ebuild</tt> directly, or try to override <tt>ACCEPT_KEYWORDS</tt> on the CommandLine. Eg., if you want to emerge [XFce]4 from the unstable tree, do:
<verbatim>
-echo wm-x11/xfce4 ~x86 >> /etc/portage/package.keywords
-echo =wm-x11/xfce4-4..0 ~x86 >> /etc/portage/package.keywords # specific version of the package
-echo ~wm-x11/xfce4-4..0 ~x86 >> /etc/portage/package.keywords # all revisions of a specific version
+echo '
wm-x11/xfce4 ~x86'
>> /etc/portage/package.keywords
+echo '
=wm-x11/xfce4-4..0 ~x86'
>> /etc/portage/package.keywords # specific version of the package
+echo '
~wm-x11/xfce4-4..0 ~x86'
>> /etc/portage/package.keywords # all revisions of a specific version
</verbatim>
!!! Useful utilities
* revdep-rebuild - checks for broken library dependancies and rebuilds
* equery - various queries you can do against the portage system, such as checking <tt>USE</tt> flag settings, dependancies and so on.
* enotice - this little tool keeps track of important information and notices (einfo / ewarn) from ebuilds, and logs them away for you to inspect. Very useful for boxes that have a large number of updates, where important bits (like, "we're overwriting your PAM config, fix it up afterwards" might get lost). http://dev.gentoo.org/~eldad/