Features | Install | Contribute
oma is an attempt at reworking APT's interface, making it more user-friendly, more robust against common user errors, and more performant during package downloads. oma also integrates closely with AOSC OS's various system management functions, from mirror configuration, topic (testing) repository enrollment, to system feature protection.
For a more detailed overview on oma's features, see features.
Please see Install.

undo command.oma is pre-installed with AOSC OS. It is also available for Debian, Ubuntu, Deepin, openKylin, and more dpkg-based OS.
curl -sSf https://repo.aosc.io/get-oma.sh | sudo sh
To build oma, ensure the following dependencies are installed:
During runtime, oma requires or recommends the following:
oma provides, oma files, and oma command-not-found)bash
git clone https://github.com/AOSC-Dev/oma.git
cd oma
bash
apt install build-essential zlib1g-dev libssl-dev pkgconf nettle-dev libapt-pkg-dev curl xz-utils clang libbz2-dev liblzma-dev
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
cargo install cargo-deb
bash
just deb
oma # without arguments
bash
oma install <package_name>
bash
oma search <keyword>
- Removing a package:
bash
oma remove <package_name>
oma install and oma upgrade):bash
oma refresh
For a full list of available sub-commands and arguments, run:
oma help
| Command | Description |
|---|---|
install |
Install package(s) from the repository |
upgrade |
Upgrade all installed packages |
download |
Download package(s) without installing |
remove |
Remove specified package(s) |
refresh |
Refresh repository metadata |
search |
Search for package(s) in the repository |
show |
Show detailed information for a package |
files |
List files in the specified package |
provides |
Find packages providing specific patterns |
fix-broken |
Fix broken dependencies |
pick |
Install a specific version of package(s) |
mark |
Mark package(s) with a specific status |
list |
List all available packages |
depends |
Show dependencies for package(s) |
rdepends |
Show reverse dependencies for package(s) |
clean |
Clear downloaded package cache |
history |
Show package history or change logs |
help |
Show help of oma or the given subcommand(s) |
Contributions are welcome!
Please feel free to file issues or pull requests to help improve oma.
Please see CONTRIBUTING for detailed instructions.
oma is licensed under the GNU General Public License v3.0. See the COPYING file for details.