tuto:gentoo:tuto_gentoo
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
tuto:gentoo:tuto_gentoo [2012/04/14 12:04] – root | tuto:gentoo:tuto_gentoo [2016/01/14 22:37] – [Voir quel package est lié à une variable use] root | ||
---|---|---|---|
Ligne 37: | Ligne 37: | ||
etc-update (ou dispatch-conf) | etc-update (ou dispatch-conf) | ||
eclean-dist | eclean-dist | ||
+ | |||
+ | * Voir les info d' | ||
+ | |||
+ | emerge --info | ||
===== Description des variables use ===== | ===== Description des variables use ===== | ||
Ligne 42: | Ligne 46: | ||
cat / | cat / | ||
+ | ===== Voir quel package est lié à une variable use ===== | ||
+ | < | ||
+ | euse -i zlib | ||
+ | </ | ||
===== Installation aux petits oignons ===== | ===== Installation aux petits oignons ===== | ||
Installe le " | Installe le " | ||
Ligne 53: | Ligne 61: | ||
Pour rajouter des options //**USE**// à chaque installation pour un paquage (dans toutes ses versions ou une version précise) il faut éditer le fihchier | Pour rajouter des options //**USE**// à chaque installation pour un paquage (dans toutes ses versions ou une version précise) il faut éditer le fihchier | ||
- | <script> | + | <code> |
=sys-apps/ | =sys-apps/ | ||
net-analyzer/ | net-analyzer/ | ||
- | </script> | + | </code> |
===== Lister toutes les versions d'un soft ===== | ===== Lister toutes les versions d'un soft ===== | ||
< | < | ||
- | equery list -po firefox | + | # equery list -po firefox |
* Searching for firefox ... | * Searching for firefox ... | ||
[-P-] [ ] www-client/ | [-P-] [ ] www-client/ | ||
Ligne 69: | Ligne 77: | ||
< | < | ||
- | equery meta firefox | + | # equery meta firefox |
* www-client/ | * www-client/ | ||
Herd: mozilla (mozilla@gentoo.org) | Herd: mozilla (mozilla@gentoo.org) | ||
Ligne 99: | Ligne 107: | ||
====== SCRIPT D' | ====== SCRIPT D' | ||
- | < | + | < |
#!/bin/bash | #!/bin/bash | ||
Ligne 187: | Ligne 195: | ||
sleep 3 | sleep 3 | ||
cp -a " | cp -a " | ||
- | COMPILE_CPU=`lscpu | grep " | + | COMPILE_CPU=`lscpu | grep "^CPU\(s\):" | awk '{ print $NF+1 }'` |
echo " | echo " | ||
echo " | echo " | ||
+ | echo " | ||
vi etc/ | vi etc/ | ||
Ligne 211: | Ligne 220: | ||
hostname $MYHOSTNAME | hostname $MYHOSTNAME | ||
echo -e "\n* Génération des locales..." | echo -e "\n* Génération des locales..." | ||
- | locale.gen | + | locale-gen |
echo -e " | echo -e " | ||
echo " | echo " | ||
Ligne 306: | Ligne 315: | ||
===== Fichier conf/fstab ===== | ===== Fichier conf/fstab ===== | ||
- | < | + | < |
- | / | + | / |
/ | / | ||
</ | </ | ||
===== Fichier conf/grub ===== | ===== Fichier conf/grub ===== | ||
- | < | + | < |
default 0 | default 0 | ||
timeout 30 | timeout 30 | ||
Ligne 330: | Ligne 339: | ||
===== Fichier conf/ | ===== Fichier conf/ | ||
- | < | + | < |
# Use keymap to specify the default console keymap. | # Use keymap to specify the default console keymap. | ||
# of keymaps in / | # of keymaps in / | ||
Ligne 356: | Ligne 365: | ||
</ | </ | ||
- | ===== Fichier conf/ | + | ===== Fichier conf/ |
- | < | + | < |
# These settings were set by the catalyst build script that automatically | # These settings were set by the catalyst build script that automatically | ||
# built this stage. | # built this stage. | ||
# Please consult / | # Please consult / | ||
# detailed example. | # detailed example. | ||
- | CFLAGS=" | + | CFLAGS=" |
CXXFLAGS=" | CXXFLAGS=" | ||
# WARNING: Changing your CHOST is not something that should be done lightly. | # WARNING: Changing your CHOST is not something that should be done lightly. |
tuto/gentoo/tuto_gentoo.txt · Dernière modification : 2016/01/14 22:40 de root