LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

oma

modern package management frontend for dpkg-based Linux distributions

TLDR

Enter the interactive package management interface
$ sudo oma
copy
Install a package
$ sudo oma install [package_name]
copy
Remove a package
$ sudo oma remove [package_name]
copy
Search for a package
$ oma search [keyword]
copy
Show detailed information for a package
$ oma show [package_name]
copy
Upgrade all installed packages to their latest versions
$ sudo oma upgrade
copy
Update the list of available packages
$ sudo oma refresh
copy
List files in a package
$ oma files [package_name]
copy
Fix broken dependencies
$ sudo oma fix-broken
copy
Display help
$ oma help
copy

SYNOPSIS

oma [command] [options] [package...]

DESCRIPTION

oma is a modern package management frontend for dpkg-based Linux distributions, developed by the AOSC (Anthon Open Source Community) project. It provides an interactive text-based interface for managing packages, with support for dependency resolution and system upgrades. Pre-installed on AOSC OS, it is also available for Debian, Ubuntu, Deepin, openKylin, and other dpkg-based distributions.The tool features multi-threaded package downloads, smart search, and safeguards against accidental removal of essential packages. It aims to provide a user-friendly experience while maintaining compatibility with the underlying dpkg/apt infrastructure.

PARAMETERS

install package

Install one or more packages
remove package
Remove one or more packages
upgrade
Upgrade all installed packages to newest versions
refresh
Update the package list from repositories
search keyword
Search for packages matching keyword
show package
Display detailed information about a package
list
List installed packages
depends package
Show package dependencies
rdepends package
Show reverse dependencies
files package
List files in the specified package
provides pattern
Find packages providing files matching the pattern
fix-broken
Fix broken dependencies
pick package
Install a specific version of a package
mark package
Mark package status (manual, auto, hold, unhold)
download package
Download package(s) without installing
history
Show package operation history
clean
Clean downloaded package cache
help
Display help information

CAVEATS

Requires root privileges (via sudo) for operations that modify the system. Designed primarily for AOSC OS but may work on other dpkg-based distributions with appropriate configuration.

HISTORY

Developed by the AOSC (Anthon Open Source Community) as part of their effort to create a streamlined Linux distribution experience. The name "oma" is derived from various meanings across languages, reflecting AOSC's international community.

SEE ALSO

apt(8), apt-get(8), dpkg(1), aptitude(8)

Copied to clipboard
Kai