Difference between pages "Emerge/pt-br" and "Translations:Metro/134/en"

< Emerge(Difference between pages)
(Search packages)
 
(Importing a new version from external source)
 
Line 1: Line 1:
== Principiando com o emerge ==
+
[[Category:HOWTO]]
Emerge é o front-end para o gerenciador de Portage do funtoo. Com o emerge é fácil instalar, atualizar ou remover pacotes.
+
[[Category:Metro]]
 
+
__TOC__
=== 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.'''
+
<console>
+
###i## emerge --sync
+
</console>
+
 
+
=== Buscar pacotes ===
+
'''Busca pacotes por nome.'''
+
<console>
+
###i## emerge -s firefox
+
###i## emerge --search firefox
+
</console>
+
 
+
'''Busca pacotes pode descrição.'''
+
<console>
+
###i## emerge -S web browser
+
###i## emerge --searchdesc web browser
+
</console>
+
 
+
=== Install packages ===
+
'''Install package.'''
+
<console>
+
###i## emerge firefox
+
</console>
+
 
+
'''Install multiple packages.'''
+
<console>
+
###i## emerge firefox thunderbird
+
</console>
+
 
+
'''Install package. Ask for confirmation before performing any changes. Show verbose output.'''
+
<console>
+
###i## emerge -av firefox
+
###i## emerge --ask firefox
+
</console>
+
 
+
=== Remove packages ===
+
'''Remove package.'''
+
<console>
+
###i## emerge -C firefox
+
###i## emerge --unmerge firefox
+
</console>
+
 
+
'''Remove package. Ask for confirmation before performing any changes.'''
+
<console>
+
###i## emerge -aC firefox
+
</console>
+
 
+
'''Remove orphaned packages. Ask for confirmation before performing any changes.'''
+
<console>
+
###i## emerge -a --depclean
+
</console>
+
 
+
=== Update packages ===
+
'''Update all packages.'''
+
<console>
+
###i## emerge -uDN @world
+
</console>
+
 
+
'''Update all packages. Ask for confirmation before performing any changes. Show verbose output.'''
+
<console>
+
###i## emerge -uavDN @world
+
</console>
+
 
+
'''When upgrading to a new version of perl, it is necessary to also run <code>perl-cleaner</code> afterwards:'''
+
<console>
+
###i## emerge -auvDN @world
+
###i## perl-cleaner --all
+
</console>
+
 
+
{{Note|This requirement of running <code>perl-cleaner</code> 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.}}
+

Latest revision as of 17:33, July 12, 2015