2019-03-27 17:41:00 +00:00
|
|
|
# dnf
|
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
> Gerenciador de pacotes das distribuições baseadas em RHEL (substituto do yum).
|
2019-03-27 17:41:00 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Instalar um novo pacote:
|
2019-03-27 17:41:00 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
`sudo dnf install {{nome_do_pacote}}`
|
2019-03-27 17:41:00 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Instalar um novo pacote e responder sim para todas as questões:
|
2019-03-27 17:41:00 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
`sudo dnf -y install {{nome_do_pacote}}`
|
2019-03-27 17:41:00 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Remover um pacote:
|
2019-03-27 17:41:00 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
`sudo dnf remove {{nome_do_pacote}}`
|
2019-03-27 17:41:00 +00:00
|
|
|
|
2019-03-28 17:48:42 +00:00
|
|
|
- Atualizar todos os pacotes instalados para as versões mais recentes:
|
2019-03-27 17:41:00 +00:00
|
|
|
|
|
|
|
`sudo dnf upgrade`
|