An open API service indexing awesome lists of open source software.

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

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
```