← 返回命令列表

Linux command

oma 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Example

sudo oma

Install

sudo oma install [package_name]

Remove

sudo oma remove [package_name]

Search

oma search [keyword]

Example

oma show [package_name]

Upgrade

sudo oma upgrade

Update

sudo oma refresh

Example

oma files [package_name]

Fix broken

sudo oma fix-broken

Example

oma help

说明

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.

参数

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

FAQ

What is the oma command used for?

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.

How do I run a basic oma example?

Run `sudo oma` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does install _package_ do in oma?

Install one or more packages