Gentoo: Difference between revisions

From The Incoherency.Net Wiki
Jump to navigation Jump to search
No edit summary
Denis (talk | contribs)
Undo revision 439 by Ovipowumon (talk)
 
Line 1: Line 1:
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://ojiqovam.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
----
=[http://ojiqovam.co.cc CLICK HERE]=
----
</div>
[[Image:Gentoo-logo.png]]
[[Image:Gentoo-logo.png]]


Line 43: Line 35:


  eselect profile list
  eselect profile list
  eselect profile set &lt;number>
  eselect profile set <number>


== Unmask Package ==
== Unmask Package ==

Latest revision as of 22:17, 24 November 2010

Essential Packages[edit]

  • logrotate - rotate log files on a routine basis (force with logrotate -f /etc/logrotate.conf)

Checking for Vulnerabilities[edit]

To check installed ebuilds against known vulnerabilities, first make sure app-portage/gentoolkit is installed, then use the following command:

glsa-check -l affected

Fixing Broken Dependencies[edit]

revdep-rebuild --ignore --pretend
revdep-rebuild -i -p -v

Building Packages[edit]

quickpkg

Finding what ebuild a File Belongs To[edit]

 equery belongs file

Backup an Ebuild[edit]

Use quickpkg

Generate a New Manifest for a Crudely Hacked Ebuild[edit]

ebuild /usr/local/portage/net-irc/xchat/xchat-2.0.9.ebuild digest

Changing Portage Profile[edit]

eselect profile list
eselect profile set <number>

Unmask Package[edit]

Add a line to /etc/portage/package.keywords like so:

net-mail/qmrtg ~amd64

Package Specific USE Flags[edit]

  • Defined in /etc/portage/package.use

Example:

net-ftp/proftpd -mysql -ssl
net-libs/courier-authlib -mysql -berkdb -gdbm
sys-apps/ucspi-tcp limits
app-admin/sudo offensive

Customize an ebuild[edit]

HOWTO Create an Updated Ebuild

Edit world Favorites[edit]

/var/lib/portage/world

Package Information[edit]

All package info is located in /var/db/pkg

Passive Mode FTP with g-cpan[edit]

env FTP_PASSIVE=1 g-cpan -i Acme::Damn