Binary Packages

Binary packages provide an excellent method to distribute packages among several hosts or have a downgrade path in case a package update fails.

Tunnelling Subversion

Utilities like rsync and cvs accept an environment variable to contain a command which allows logging in to a remote system before executing the desired action. The result seemingly causes the action to be executed locally although it is actually tunnelled through the specified program. Formerly rsh was used which contains some serious design flaws therefore ssh was designed to replace it. Refer to notes RSync over SSH and CVS over SSH for details how to use ssh with these utilities.

Introduction to Subversion

Improvements over CVS:

Client Configuration

The most common use of the SSH client configuration in ~/.ssh/config is the definition of aliases for host with special requiements.

Emerge and Firewalls

A typical emerge rsync only works if an intermediate firewall allows the appropriate packets to pass through. Though chances are that you are able to work around that.

Display USE flags

The implemented use flags of a package can be retrieved by the following. etcat and qpkg are superceded by equery as of portage-2.0.50 and gentoolkit-0.2.

Reverse Dependency Rebuild

Many packages install dynamic libraries which other packages link against. When updating such a package the old instance of a dynamic library is removed causing dynamic links to break. The package gentoolkit contains a tool to check an repair the dynamic linking of your system: revdep-rebuild.

Package Versions

List packages and versions matching a string. etcat and qpkg are superceded by equery as of portage-2.0.50 and gentoolkit-0.2.

Package Content

It is sometimes useful to obtain a list of files which were merged for a certain package. etcat and qpkg are superceded by equery as of portage-2.0.50 and gentoolkit-0.2.

Little Known Facts

Some basic facts about gentoo.