Difference between revisions of "Pt-br/Emerge"

(Search packages)
(Install packages)
Line 22: Line 22:
  
 
=== Install packages ===
 
=== Install packages ===
'''Install package.'''
+
'''Instalar pacote.'''
 
<console>
 
<console>
 
###i## emerge firefox
 
###i## emerge firefox
 
</console>
 
</console>
  
'''Install multiple packages.'''
+
'''Instalar múltiplos pacotes.'''
 
<console>
 
<console>
 
###i## emerge firefox thunderbird
 
###i## emerge firefox thunderbird
 
</console>
 
</console>
  
'''Install package. Ask for confirmation before performing any changes. Show verbose output.'''
+
'''Instalar pacotes. Pedir por confirmação antes de realizar quaisquer alterações. Exibe saída em verbose.'''
 
<console>
 
<console>
 
###i## emerge -av firefox
 
###i## emerge -av firefox

Revision as of 16:52, February 7, 2015

Principiando com o emerge

Emerge é o front-end para o gerenciador de Portage do funtoo. Com o emerge é fácil instalar, atualizar ou remover pacotes.

Atualizar a Base de Dados de Pacote

Sincronize base de dados de pacote local. Isso atualizará sua arvore Portage local com a ultima versão do Funtoo ebuilds.

# emerge --sync

Buscar pacotes

Busca pacotes por nome.

# emerge -s firefox
# emerge --search firefox

Busca pacotes pode descrição.

# emerge -S web browser
# emerge --searchdesc web browser

Install packages

Instalar pacote.

# emerge firefox

Instalar múltiplos pacotes.

# emerge firefox thunderbird

Instalar pacotes. Pedir por confirmação antes de realizar quaisquer alterações. Exibe saída em verbose.

# emerge -av firefox
# emerge --ask firefox

Remove packages

Remove package.

# emerge -C firefox
# emerge --unmerge firefox

Remove package. Ask for confirmation before performing any changes.

# emerge -aC firefox

Remove orphaned packages. Ask for confirmation before performing any changes.

# emerge -a --depclean

Update packages

Update all packages.

# emerge -uDN @world

Update all packages. Ask for confirmation before performing any changes. Show verbose output.

# emerge -uavDN @world

When upgrading to a new version of perl, it is necessary to also run perl-cleaner afterwards:

# emerge -auvDN @world
# perl-cleaner --all
Note

This requirement of running perl-cleaner will eventually go away, once all perl-related ebuilds are updated to EAPI 5. EAPI 5 is a version of the Ebuild specification that supports smart updating of perl-related bits.