Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 2.44 KB

README.md

File metadata and controls

75 lines (55 loc) · 2.44 KB

oma

oma(Oh My Ailurus, 小熊猫包管理)is a package manager frontend for libapt-pkg. oma is the default package manager interface for AOSC OS.

Although it is based on apt, we did quite a bit of extra work, the goal of this project is to make apt with better user interaction (especially for AOSC OS users), you can get a feel for the differences between oma and apt with the following examples:

Pending Operations

Multi-threaded Downloads

multi-thread-download.webm

Smart Search

oma-search.webm

Undo

undo.webm

...and more.

Dependencies

  • libapt-pkg
  • Glibc
  • Ripgrep binary (optional, accelerates oma provides oma files and oma command-not-found)
  • LLVM/Clang Compile
  • OpenSSL
  • Rustc with Cargo
  • nettle
  • pkg-config

Build & install

cargo build --release
cp ./target/release/oma /usr/local/bin/oma

Usage

saki@Magputer [ aoscpt@master ] $ oma
oma (oma) - Package management interface for AOSC OS

Usage: oma [OPTIONS] [COMMAND]

Commands:
  install     Install package(s) from the repository
  upgrade     Upgrade packages installed on the system
  download    Download package(s) from the repository
  remove      Remove the specified package(s)
  refresh     Refresh repository metadata/catalog
  show        Show information on the specified package(s)
  search      Search for package(s) available from the repository
  files  List files in the specified package
  provides    Search for package(s) that provide(s) certain patterns in a path
  fix-broken  Resolve broken system dependencies in the system
  pick        Install specific version of a package
  mark        Mark status for one or multiple package(s)
  list        List package(s) available from the repository
  depends     Lists dependencies of one or multiple packages
  rdepends    List reverse dependency(ies) for the specified package(s)
  clean       Clear downloaded package cache
  history     Show a history/log of package changes in the system
  help        Print this message or the help of the given subcommand(s)

Options:
      --debug    Run oma with debug mode
  -h, --help     Print help (see more with '--help')
  -V, --version  Print version