2019-03-27 17:32:37 +00:00
|
|
|
# apk
|
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
> Gerenciador de pacotes da distribuição Alpine.
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Atualizar os índices dos pacotes disponíveis:
|
2019-03-27 17:32:37 +00:00
|
|
|
|
|
|
|
`apk update`
|
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Instalar um pacote:
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
`apk add {{pacote}}`
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Remover um pacote:
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
`apk del {{pacote}}`
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Reparar ou atualizar um pacote sem modificar as principais dependências:
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
`apk fix {{pacote}}`
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Procurar um pacote especificando alguma palavra-chave:
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2020-11-01 13:40:05 +00:00
|
|
|
`apk search {{palavra_chave}}`
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Exibir informações sobre um pacote:
|
2019-03-27 17:32:37 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
`apk info {{pacote}}`
|