forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pacman: add pt_PT translation (tldr-pages#7630)
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# pacman | ||
|
||
> Utilitário para gerir pacotes Arch Linux. | ||
> Sub comandos como `pacman sync` tem a sua própria documentação. | ||
> Mais informações: <https://man.archlinux.org/man/pacman.8>. | ||
- Sincronizar e actualizar todos os pacotes: | ||
|
||
`sudo pacman --sync --refresh --sysupgrade` | ||
|
||
- Instalar um novo pacote: | ||
|
||
`sudo pacman --sync {{package_name}}` | ||
|
||
- Remover um pacote e todas as dependencias: | ||
|
||
`sudo pacman --remove --recursive {{nome_do_pacote}}` | ||
|
||
- Procurar um pacote na base de dados por palavra chave ou expressão regular (regex): | ||
|
||
`pacman --sync --search "{{search_pattern}}"` | ||
|
||
- Listar versão dos pactotes instalados: | ||
|
||
`pacman --query` | ||
|
||
- Listar versão dos pactotes instalados explicitamente: | ||
|
||
`pacman --query --explicit` | ||
|
||
- Listar pacotes órfãos (instalados como dependencia mas não exigidos por nenhum pacote): | ||
|
||
`pacman --query --unrequired --deps --quiet` | ||
|
||
- Remover memória armazenada (cache) do `pacman`: | ||
|
||
`sudo pacman --sync --clean --clean` |