The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Emerge/pt-br"
Line 8: | Line 8: | ||
</console> | </console> | ||
=== | === Buscar pacotes === | ||
''' | '''Busca pacotes por nome.''' | ||
<console> | <console> | ||
###i## emerge -s firefox | ###i## emerge -s firefox | ||
Line 15: | Line 15: | ||
</console> | </console> | ||
''' | '''Busca pacotes pode descrição.''' | ||
<console> | <console> | ||
###i## emerge -S web browser | ###i## emerge -S web browser |
Revision as of 16:46, 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.
root # emerge --sync
Buscar pacotes
Busca pacotes por nome.
root # emerge -s firefox root # emerge --search firefox
Busca pacotes pode descrição.
root # emerge -S web browser root # emerge --searchdesc web browser
Install packages
Install package.
root # emerge firefox
Install multiple packages.
root # emerge firefox thunderbird
Install package. Ask for confirmation before performing any changes. Show verbose output.
root # emerge -av firefox root # emerge --ask firefox
Remove packages
Remove package.
root # emerge -C firefox root # emerge --unmerge firefox
Remove package. Ask for confirmation before performing any changes.
root # emerge -aC firefox
Remove orphaned packages. Ask for confirmation before performing any changes.
root # emerge -a --depclean
Update packages
Update all packages.
root # emerge -uDN @world
Update all packages. Ask for confirmation before performing any changes. Show verbose output.
root # emerge -uavDN @world
When upgrading to a new version of perl, it is necessary to also run perl-cleaner
afterwards:
root # emerge -auvDN @world root # perl-cleaner --all
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.