Outils pour utilisateurs

Outils du site


tuto:gentoo:tuto_gentoo

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
tuto:gentoo:tuto_gentoo [2013/03/12 22:55] – [Lister toutes les versions d'un soft] roottuto:gentoo:tuto_gentoo [2016/01/14 22:37] – [Voir quel package est lié à une variable use] root
Ligne 46: Ligne 46:
   cat /usr/portage/profiles/use.desc   cat /usr/portage/profiles/use.desc
  
 +===== Voir quel package est lié à une variable use =====
 +<code>
 +euse -i zlib
 +</code>
 ===== Installation aux petits oignons ===== ===== Installation aux petits oignons =====
 Installe le "soft" avec les options choisies (avec opt1 et sans opt2) Installe le "soft" avec les options choisies (avec opt1 et sans opt2)
Ligne 73: Ligne 77:
  
 <code> <code>
-equery meta firefox+equery meta firefox
  * www-client/firefox [gentoo]  * www-client/firefox [gentoo]
 Herd:        mozilla (mozilla@gentoo.org) Herd:        mozilla (mozilla@gentoo.org)
Ligne 191: Ligne 195:
 sleep 3 sleep 3
 cp -a "${CONF_PATH}/make.conf" etc/make.conf cp -a "${CONF_PATH}/make.conf" etc/make.conf
-COMPILE_CPU=`lscpu | grep "^CPU(s):" | awk '{ print $NF+1 }'`+COMPILE_CPU=`lscpu | grep "^CPU\(s\):" | awk '{ print $NF+1 }'`
 echo "MAKEOPTS='-j$COMPILE_CPU -l$COMPILE_CPU'" >> etc/make.conf echo "MAKEOPTS='-j$COMPILE_CPU -l$COMPILE_CPU'" >> etc/make.conf
 echo "EMERGE_DEFAULT_OPTS='--jobs=$COMPILE_CPU --load-average=${COMPILE_CPU}.0 --with-bdeps y'" >> etc/make.conf echo "EMERGE_DEFAULT_OPTS='--jobs=$COMPILE_CPU --load-average=${COMPILE_CPU}.0 --with-bdeps y'" >> etc/make.conf
 +echo "PORTAGE_NICENESS=15" >> etc/make.conf
 vi etc/make.conf vi etc/make.conf
  
Ligne 215: 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 "\nDéfinition du password root..." echo -e "\nDéfinition du password root..."
 echo "changeme echo "changeme
Ligne 366: Ligne 371:
 # Please consult /usr/share/portage/config/make.conf.example for a more                                                                                                                                                                             # Please consult /usr/share/portage/config/make.conf.example for a more                                                                                                                                                                            
 # detailed example.                                                                                                                                                                                                                                 # detailed example.                                                                                                                                                                                                                                
-CFLAGS="-march=native -O2 -pipe"                                                                                                                                                                                                                   +CFLAGS="-march=native -mtune=native -O3 -pipe"                                                                                                                                                                                                                   
 CXXFLAGS="${CFLAGS}"                                                                                                                                                                                                                                CXXFLAGS="${CFLAGS}"                                                                                                                                                                                                                               
 # 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