Gentoolkit/fr

Gentoolkit est une suite d'outils destinée à faciliter l'administration d'un système Gentoo. Ce document couvre les bases de quelques uns des outils présents dans cette boîte à outils.

Qu’est-ce que le Gentoolkit ?
Gentoo est une distribution unique en son genre qui présente des complexités qui n'existent tout simplement pas dans d'autres distributions. Au fur et à mesure que les développeurs et contributeurs de Gentoo découvraient ces complexités, ils écrivirent des outils pour aider les utilisateurs et les administrateurs à les surmonter. Beaucoup de ces outils ont été apportés au projet Gentoo et sont inclus dans le paquet.

Gentoolkit contient tout un ensemble d'outils utiles pour vous aider à gérer vos paquets et garder la trace de ce qui se passe sur votre système. La plupart des utilisateurs — en particuliers ceux qui mettent souvent leur système à jour — tireront un bénéfice à avoir gentoolkit installé.

Emerge
As with most other Gentoo packages, installation is as simple as an :

Trouver de la documentation
Toute la documentation dont un outil dispose (autre que les pages de manuel) se trouve dans.

euse
is a tool to see, set and unset USE flags at various places. For more information on USE flags, please refer to the USE Flags. See for complete help and all options.

Consulter, activer et désactiver des options de la variable USE
The command reads the current active USE flags and displays them.

Similarly the command is used to view active global USE flags. The command does the same for active local USE flags. and  are sub-options to  and need an option before them (like  ) to function correctly.

is able to set or unset USE flags. The commands used for this are (enable a flag) and  (disable a flag).

Activer une option de la variable USE :

Le fichier ressemble à ceci après exécution de la commande :

Désactiver une option de la variable USE :

De nouveau, le fichier  après la commande :

revdep-rebuild
This tool is Gentoo's Reverse Dependency rebuilder. It will scan the installed ebuilds to find packages that have become broken as a result of an upgrade of a package they depend on. It can emerge those packages for users automatically but it can also happen that a given package does not work with the currently installed dependencies, in which case you should upgrade the broken package to a more recent version. will pass flags to which lets you use the   flag to see what is going to be emerged again before going any further.

To rebuild some packages run without the   flag and the listed packages will be emerged again.

glsa-check
glsa-check is mainly a test tool that keeps track of the various GLSA's (Gentoo Linux Security Advisory) and will eventually be integrated into and.

eread
is a simple utility to display elog files produced by >=. The saving of elog files can be enabled by setting a couple of variables in :

Once elog has been set up to satisfaction, run to view the log files.

Select a number and the file will be displayed using the paging program specified in the PAGER environment variable. If PAGER is not set, it will use. The PAGER environmental variable can be set using (module  ).

Après avoir vu le fichier, on vous demandera si vous voulez le supprimer.

eclean
is a tool to remove old source files and old binary packages from the system.

When building and installing packages, the source files are downloaded and preserved in DISTDIR, usually. This can accumulate several gigabytes of material over time if it is not cleaned periodically. Users should run to clean source files from DISTDIR.

It is possible to create archives of installed packages by using or. These archived packages are kept in PKGDIR, usually. When they are no longer needed, or if they are too old, can be ran to remove them from PKGDIR. It is a good way to ensure that any binary packages on the system are only the latest versions.

For more information on and tips on maintaining a cruft-free system, please read  or check the eclean article.

Voir aussi

 * equery
 * eclean
 * epkginfo
 * Q_applets