Difference between pages "Emerge/pt-br" and "Template:File"

< Emerge(Difference between pages)
(Remove packages)
 
 
Line 1: Line 1:
== Principiando com o emerge ==
+
<includeonly><div style="margin-bottom: 0.3em; padding: 3px; border: none;"><tt>{{#if:{{{name|}}}|'''{{{name|}}}'''{{#set:Mentions file={{#explode:{{{name}}}|/|-1}}}}}}</tt><span style="color: #888;"> {{#if:{{{lang|}}}| ({{{lang}}} source code)}}</span> {{#if:{{{desc|}}}| - {{{desc}}}}}{{#tag:{{#if:{{{lang|}}}|syntaxhighlight|pre}}|
Emerge é o front-end para o gerenciador de Portage do funtoo. Com o emerge é fácil instalar, atualizar ou remover pacotes.
+
{{{body}}}
 
+
|lang={{{lang}}}}}
=== Atualizar a Base de Dados de Pacote ===
+
</div>{{#if:{{{recipe|}}}|{{#subobject:|step={{{step|}}}|In recipe={{{recipe|}}}|action={{{action}}}|filename={{{name}}}|body={{{body}}}}}</includeonly>
'''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 ===
+
'''Instalar pacote.'''
+
<console>
+
###i## emerge firefox
+
</console>
+
 
+
'''Instalar múltiplos pacotes.'''
+
<console>
+
###i## emerge firefox thunderbird
+
</console>
+
 
+
'''Instalar pacotes. Pedir por confirmação antes de realizar quaisquer alterações. Exibe saída em verbose.'''
+
<console>
+
###i## emerge -av firefox
+
###i## emerge --ask firefox
+
</console>
+
 
+
=== Removes pacotes ===
+
'''Remove pacote.'''
+
<console>
+
###i## emerge -C firefox
+
###i## emerge --unmerge firefox
+
</console>
+
 
+
'''Remove pacote. Pergunta por confirmação antes de realizar quaisquer alterações.'''
+
<console>
+
###i## emerge -aC firefox
+
</console>
+
 
+
'''Remove pacotes órfãos. Pergunta por confirmação antes de realizar quaisquer alterações.'''
+
<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.}}
+

Revision as of 03:39, February 19, 2015