levi linux
(usa Arch Linux)
Enviado em 30/09/2012 - 10:40h
Para instalar pelo Emerge é necessário tomar alguns cuidados. Primeiro edite o arquivo:
/etc/entropy/client.conf
Nesse arquivo procure a seguinte sessão:
# Ignore SPM (Portage) pseudo-downgrades
# USE AT YOUR OWN RISK, IF YOU DON'T KNOW WHAT'S THIS OPTION
# !!!!!!!!!!!!!!!!!! SKIP IT !!!!!!!!!!!!!!!!!!
# !!!!!!!!!!!!!!!!!! SKIP IT !!!!!!!!!!!!!!!!!!
# !!!!!!!!!!!!!!!!!! SKIP IT !!!!!!!!!!!!!!!!!!
# !!!!!!!!!!!!!!!!!! SKIP IT !!!!!!!!!!!!!!!!!!
# This option permits to skip packages with Entropy revision 9999
# from being treaten as downgrades. This usually happens when
# migrating from Portage to Entropy
# Valid parameters: disable, enable, true, false, disabled, enabled, 0, 1
# Default parameter if unset: disable
ignore-spm-downgrades = disable
Note que o parâmetro padrão é disable, altere para
enable . Deixando como no exemplo abaixo:
# Ignore SPM (Portage) pseudo-downgrades
# USE AT YOUR OWN RISK, IF YOU DON'T KNOW WHAT'S THIS OPTION
# !!!!!!!!!!!!!!!!!! SKIP IT !!!!!!!!!!!!!!!!!!
# !!!!!!!!!!!!!!!!!! SKIP IT !!!!!!!!!!!!!!!!!!
# !!!!!!!!!!!!!!!!!! SKIP IT !!!!!!!!!!!!!!!!!!
# !!!!!!!!!!!!!!!!!! SKIP IT !!!!!!!!!!!!!!!!!!
# This option permits to skip packages with Entropy revision 9999
# from being treaten as downgrades. This usually happens when
# migrating from Portage to Entropy
# Valid parameters: disable, enable, true, false, disabled, enabled, 0, 1
# Default parameter if unset: disable
ignore-spm-downgrades = enable
Feito isso, é sempre bom dar uma refinada no make.conf, eu por exemplo removo as línguas não usadas.
Deixando a sessão da seguinte forma:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
# Compiler stuff
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
# Only enable Graphite via package.env
CFLAGS="-O2 -march=x86-64 -pipe" # -ftree-vectorize ${GRAPHITE}"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -s"
# Portage stuff
ACCEPT_KEYWORDS="~amd64"
FEATURES="ccache parallel-fetch protect-owned splitdebug noinfo"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/ccache"
LINGUAS="en en_US pt pt_BR"
## USE ARRAYS ##
SAB_BAD="-kdeprefix -arts -qt3 -beagle -gnome -evo -mono -eds -apm -oss -branding -esd"
SAB_MEDIA="musicbrainz sdl pulseaudio wmf fame cdr dvi mp3rtp xine cddb alsa dvb dvd network dvdread ipod audiofile artswrappersuid dvdr jack dri cdda mjpeg mmx joystick xvmc cpudetection v4l v4l2"
SAB_CODECS="x264 gsm lame dv mp3 stream live openal theora ogg a52 win32codecs matroska xvid flac ffmpeg aac speex real dts musepack"
SAB_SYSTEM="cjk unicode gnutls nptl gcj udev kerberos acl dbus bash-completion lzo rar policykit xcb bzip2 bidi wifi lm_sensors acpi usb pcmcia bluetooth irda ieee1394 perl python"
SAB_FILESYS="fat hfs jfs xfs ntfs reiserfs sysfs inotify"
SAB_PRINT="cups ppds foomatic-db gimpprint freetype xprint scanner"
SAB_XSYS="cairo X opengl png gif gtk qt4 qt3support xpm tiff xinerama aiglx svg gphoto2 dga lcd openexr"
SAB_DESKTOP="kdehiddenvisibility gmp libnotify rdesktop pda zeroconf kdeenablefinal visualization avahi startup-notification accessibility"
SAB_BROWSER="nsplugin firefox mozdevelop xulrunner"
SAB_COMMS="jabber msn yahoo icq irc aim rss slp mail imap"
USE="${SAB_BAD} ${SAB_MEDIA} ${SAB_CODECS} ${SAB_SYSTEM} ${SAB_FILESYS} ${SAB_PRINT} ${SAB_XSYS} ${SAB_DESKTOP} ${SAB_BROWSER} ${SAB_COMMS}"
## DEVICES ##
INPUT_DEVICES="evdev void"
VIDEO_CARDS="fbdev vesa radeonhd"
LIRC_DEVICES="audio audio_alsa serial pctv"
ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y"
CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template"
## OFFICE ##
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher"
## QEMU ##
QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64"
QEMU_SOFTMMU_TARGETS="x86_64 arm cris i386 m68k microblaze mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc sparc64"
## PORTAGE CONFIG ##
source /var/lib/layman/make.conf
CONFIG_PROTECT="/usr/share/config/kdm /etc /etc/conf.d /etc/init.d"
CONFIG_PROTECT_MASK="/etc/skel"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
APACHE2_MPMS="prefork"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://archive.mmu.edu.my/gentoo rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://mirror.neolabs.kz/gentoo http://ftp.gentoo.bg/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/" ;
## FUCK KILL PYTHON 3 WITH FIRE ##
# Avoids python.eclass to compile stuff for Python 3
USE_PYTHON="2.7"
PYTHON_TARGETS="python2_7"
# Some more forced targets
PHP_TARGETS="php5-3"
RUBY_TARGETS="ruby18"
# Apache suEXEC default UMASK
# See bug 3544
SUEXEC_UMASK=022
Claro que você pode configurar de acordo com seu hardware, como não conheço seu hardware postei esse make.conf quase padrão, só que com menos línguas.
Feito isso sincronize o emerge.
# emerge --sync
Agora é só instalar o seu programa.
# emerge -av nome_aplicativos
Devo dizer que o melhor seria usar o entropy!
Mas consulte o link abaixo caso queira usar o emerge:
http://en.gentoo-wiki.com/wiki/Portage
Obs! O portage tem muitas função, é muito poderoso. CUIDADO!!!
Boa sorte!