mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 21:59:34 +00:00
Update cheatsheets
This commit is contained in:
41
tldr/linux/oma
Normal file
41
tldr/linux/oma
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# oma
|
||||
|
||||
> A package management frontend for dpkg-based Linux distributions.
|
||||
> More information: <https://github.com/AOSC-Dev/oma#usage>.
|
||||
|
||||
- Enter the interactive package management interface:
|
||||
|
||||
`sudo oma`
|
||||
|
||||
- Install a package:
|
||||
|
||||
`sudo oma install {{package_name}}`
|
||||
|
||||
- Remove a package:
|
||||
|
||||
`sudo oma remove {{package_name}}`
|
||||
|
||||
- Search for a package:
|
||||
|
||||
`oma search {{keyword}}`
|
||||
|
||||
- Show detailed information for a package:
|
||||
|
||||
`oma show`
|
||||
|
||||
- Upgrade all installed packages to their latest versions:
|
||||
|
||||
`sudo oma upgrade`
|
||||
|
||||
- Update the list of available packages and versions (done automatically before `oma install` and `oma upgrade`):
|
||||
|
||||
`sudo oma refresh`
|
||||
|
||||
- Display help:
|
||||
|
||||
`oma help`
|
||||
Reference in New Issue
Block a user