Difference between pages "Pt-br/Emerge" and "Template:Subarch"

(Difference between pages)
(Search packages)
 
 
Line 1: Line 1:
== Principiando com o emerge ==
+
<includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
Emerge é o front-end para o gerenciador de Portage do funtoo. Com o emerge é fácil instalar, atualizar ou remover pacotes.
+
{{DISPLAYTITLE:Download - {{{title}}}}}
 +
|
 +
{{DISPLAYTITLE:Download - {{{subarch}}}}}
 +
}}'''This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].'''
  
=== Atualizar a Base de Dados de Pacote ===
+
{{{Description|}}}
'''Sincronize base de dados de pacote local. Isso atualizará sua arvore Portage local com a ultima versão do Funtoo ebuilds.'''
+
{{#seo:
<console>
+
|title={{#if:{{{title|}}}|Download - {{{title}}}|Download - {{{subarch}}}}}
###i## emerge --sync
+
|keywords=funtoo,linux,build,subarch,{{{subarch}}},{{{title}}}
</console>
+
|description=This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].
 
+
}}
=== Buscar pacotes ===
+
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}|title={{{title|}}}}}
'''Busca pacotes por nome.'''
+
=== Optimizations ===
<console>
+
__NOTOC__
###i## emerge -s firefox
+
{{TableStart}}
###i## emerge --search firefox
+
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
</console>
+
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
 
+
<tr><td>USE (see [[CPU_FLAGS]] for more info)</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</td></tr>
'''Busca pacotes pode descrição.'''
+
{{TableEnd}}{{#vardefine:subarch|{{{subarch|}}}}}{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds}}{{#vardefine:builds|{{#external_value:builds}}}}
<console>
+
=== Download ===
###i## emerge -S web browser
+
{{#if:{{#var:builds}}|This section lists the Funtoo Linux builds currently available for download for '''{{{subarch}}}'''.  A full list of Funtoo Linux builds can be found on the [[Subarches]] page.
###i## emerge --searchdesc web browser
+
{{table|1=
</console>
+
<tr><th class="active">Build</th><th class="active">Variant</th><th class="active">Latest Build</th><th class="active">Download</th><th class="active">Browse Mirror</th></tr>{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}}}|No downloadable stage builds are currently available for this sub-architecture.}}
 
+
{{Important|Do you want a particular build of Funtoo Linux but do not see it here? Let us know what you need, and we will likely add it for you. [https://bugs.funtoo.org Create a bug report] requesting the build you need. To see what options there are, see our [[Corei7|Intel Core i7]] subarch page, which has a lot of builds listed.}}
=== Install packages ===
+
[[Category:Subarches]]
'''Install package.'''
+
__NOEDITSECTION__
<console>
+
=== Detailed Description ===
###i## emerge firefox
+
</includeonly>
</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.}}
+

Revision as of 00:03, March 29, 2015