mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 08:51:34 +00:00
Update cheatsheets
This commit is contained in:
42
linux/nala
Normal file
42
linux/nala
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# nala
|
||||
|
||||
> Package management utility with better formatting.
|
||||
> Front-end for the `python-apt` API.
|
||||
> More information: <https://gitlab.com/volian/nala>.
|
||||
|
||||
- Install a package, or update it to the latest available version:
|
||||
|
||||
`sudo nala install {{package}}`
|
||||
|
||||
- Remove a package:
|
||||
|
||||
`sudo nala remove {{package}}`
|
||||
|
||||
- Remove a package and its configuration files:
|
||||
|
||||
`nala purge {{package}}`
|
||||
|
||||
- Search package names and descriptions using a word, regex (default) or glob:
|
||||
|
||||
`nala search "{{pattern}}"`
|
||||
|
||||
- Update the list of available packages and upgrade the system:
|
||||
|
||||
`sudo nala upgrade`
|
||||
|
||||
- Remove all unused packages and dependencies from your system:
|
||||
|
||||
`sudo nala autoremove`
|
||||
|
||||
- Fetch fast mirrors to improve download speeds:
|
||||
|
||||
`sudo nala fetch`
|
||||
|
||||
- Display the history of all transactions:
|
||||
|
||||
`nala history`
|
||||
Reference in New Issue
Block a user