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édente | ||
tuto:gentoo:tuto_gentoo [2013/03/12 22:45] – [Fichier conf/make.conf] root | tuto:gentoo:tuto_gentoo [2016/01/14 22:40] (Version actuelle) – [Voir quel package est lié à une variable use] root | ||
---|---|---|---|
Ligne 46: | Ligne 46: | ||
cat / | cat / | ||
+ | ===== Voir quel package est lié à une variable use ===== | ||
+ | < | ||
+ | euse -i zlib | ||
+ | </ | ||
+ | < | ||
+ | equery hasuse mysql | ||
+ | </ | ||
===== Installation aux petits oignons ===== | ===== Installation aux petits oignons ===== | ||
Installe le " | Installe le " | ||
Ligne 64: | Ligne 71: | ||
===== 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 73: | Ligne 80: | ||
< | < | ||
- | equery meta firefox | + | # equery meta firefox |
* www-client/ | * www-client/ | ||
Herd: mozilla (mozilla@gentoo.org) | Herd: mozilla (mozilla@gentoo.org) | ||
Ligne 103: | Ligne 110: | ||
====== SCRIPT D' | ====== SCRIPT D' | ||
- | <code bash> | + | <code bash install.sh> |
#!/bin/bash | #!/bin/bash | ||
Ligne 191: | Ligne 198: | ||
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 215: | Ligne 223: | ||
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 310: | Ligne 318: | ||
===== Fichier conf/fstab ===== | ===== Fichier conf/fstab ===== | ||
- | < | + | < |
- | / | + | / |
/ | / | ||
</ | </ | ||
===== Fichier conf/grub ===== | ===== Fichier conf/grub ===== | ||
- | < | + | < |
default 0 | default 0 | ||
timeout 30 | timeout 30 | ||
Ligne 334: | Ligne 342: | ||
===== 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 360: | Ligne 368: | ||
</ | </ | ||
- | ===== Fichier conf/ | + | ===== Fichier conf/ |
- | <code make> | + | <code make make.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