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

(Difference between pages)
 
(Install packages)
 
Line 1: Line 1:
{{#vardefine:Next|{{#show:{{FULLPAGENAME}}|?Next in Series|link=none}}}}
+
== Principiando com o emerge ==
{{#if:{{#var:Next|}}|'''Read the next article in this series: [[{{#var:Next}}]]'''}}
+
Emerge é o front-end para o gerenciador de Portage do funtoo. Com o emerge é fácil instalar, atualizar ou remover pacotes.
{{Tip|[[Support Funtoo]] and help us grow! '''Donate $15 per month and get a free SSD-based [[Funtoo Hosting|Funtoo Virtual Container]].'''}}
+
 
</div><div class="col-xs-12 col-md-3">{{#vardefine:Summary|{{#show:{{FULLPAGENAME}}|?Summary}}}}
+
=== Atualizar a Base de Dados de Pacote ===
{{#vardefine:Author|{{#show:{{FULLPAGENAME}}|?Author|link=none}}}}
+
'''Sincronize base de dados de pacote local. Isso atualizará sua arvore Portage local com a ultima versão do Funtoo ebuilds.'''
{{#vardefine:Icon|{{#show:{{FULLPAGENAME}}|?Icon}}}}
+
<console>
{{#if:{{#var:Author|}}|{{#widget:ArticleBio|body={{#show: {{#var:Author}} | ?Bio }}|user={{#var:Author|}}|icon_url={{#if:{{#var:Icon|}}|{{filepath:{{#sub:{{#var:Icon}}|5}}|80}}|http://www.gravatar.com/avatar/{{#show: {{FULLPAGENAME}} | ?Gravatar MD5}}/?s=80&d=retro&r=g}}}}}}
+
###i## emerge --sync
<div class="bs-head" style="text-decoration: underline; margin-bottom: 15px;">Got Funtoo?</div>
+
</console>
Have you installed Funtoo Linux yet? Discover the power of a from-source meta-distribution optimized for your hardware! See our [[Funtoo Linux Installation|installation instructions]] and [[Subarches|browse our CPU-optimized builds]].
+
 
<div class="bs-head" style="text-decoration: underline; margin-bottom: 15px;">More Articles</div>
+
=== Buscar pacotes ===
Browse all our Linux-related articles, below:
+
'''Busca pacotes por nome.'''
{{#ask:[[Category:Articles]]
+
<console>
|format=category
+
###i## emerge -s firefox
|link=all
+
###i## emerge --search firefox
|headers=show
+
</console>
|searchlabel=... further results
+
 
|columns=1
+
'''Busca pacotes pode descrição.'''
}}
+
<console>
__NOEDITSECTION__
+
###i## emerge -S web browser
</div></div></div>
+
###i## emerge --searchdesc web browser
[[Category:Articles]]
+
</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>
 +
 
 +
=== 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.}}

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.