https://github.com/imf4ll/opio
AUR helper & package downgrader
https://github.com/imf4ll/opio
archlinux aur aur-helper aur-packages downgrade package
Last synced: 3 months ago
JSON representation
AUR helper & package downgrader
- Host: GitHub
- URL: https://github.com/imf4ll/opio
- Owner: imf4ll
- License: gpl-3.0
- Created: 2023-07-21T13:46:38.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-27T04:33:02.000Z (almost 3 years ago)
- Last Synced: 2023-07-27T05:24:29.666Z (almost 3 years ago)
- Topics: archlinux, aur, aur-helper, aur-packages, downgrade, package
- Language: Rust
- Homepage:
- Size: 3.84 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
- [Features](#features)
- [Install](#how-to-install)
- [Arguments](#arguments)
- [Usage](#how-to-use)
### Features:
- Pacman's package downgrade
- AUR Helper with search and choose
- AUR's package downgrade
- AUR's package update
### How to install:
```sh
$ cargo install --git https://github.com/imf4ll/opio.git
```
or with autocompletion:
```sh
$ git clone https://github.com/imf4ll/opio.git
$ cd opio/
$ make install
```
### Arguments:
| Name | Description | Usage |
|------|-------------|-------|
| -i, --install | Install first valid package from AUR | PACKAGE |
| -d, --downgrade | Turns on downgrade mode | PACKAGE |
| -a, --aur | Prioritize AUR mode | - |
| -u, --update | Update a package from AUR to latest version | PACKAGE |
| -s, --search | Search for a package in AUR | PACKAGE |
| -f, --file-path | Final package download path | PATH |
| -k, --keep | Keep AUR package after installing | - |
| --ignore-cache | Ignores packages from cache while downgrading 'pacman' packages | - |
| --pkgbuild | Shows PKGBUILD before install | - |
| --status | Check Archive and AUR status | - |
| --upgrade | Self update 'opio' to latest version | - |
| --noconfirm | Install package without prompt confirmation | - |
| -h, --help | Print help | - |
| -V, --version | Print version | - |
### How to use:
- Install first valid package from AUR:
```sh
$ opio -i alacritty
```
- Search and choose through AUR:
```sh
$ opio -s alacritty
```
- Update a package from AUR to latest version
```sh
$ opio -u brave-bin
```
- Downgrade 'pacman' package: (REQUIRES ROOT PRIVILEGES)
```sh
$ sudo opio -d xsel
```
- Downgrade 'AUR' package:
```sh
$ opio -a -d brave-bin
```