Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openSUSE/opi
OBS Package Installer (CLI)
https://github.com/openSUSE/opi
cli open-build-service opensuse opensuse-buildservice package-management perl rpm zypper
Last synced: 6 days ago
JSON representation
OBS Package Installer (CLI)
- Host: GitHub
- URL: https://github.com/openSUSE/opi
- Owner: openSUSE
- License: gpl-3.0
- Created: 2019-04-25T10:30:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T14:44:45.000Z (21 days ago)
- Last Synced: 2024-10-23T17:56:20.709Z (21 days ago)
- Topics: cli, open-build-service, opensuse, opensuse-buildservice, package-management, perl, rpm, zypper
- Language: Python
- Homepage:
- Size: 1.02 MB
- Stars: 245
- Watchers: 12
- Forks: 22
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OPI
**O**BS **P**ackage **I**nstaller
Search and install almost all packages available for openSUSE and SLE:
1. openSUSE Build Service
2. Packman
3. Popular packages for Microsoft and other vendors## System Requirements
- openSUSE Tumbleweed, openSUSE Leap 42.1+, SLE 12+
- python3
- python3-requests
- python3-lxml
- python3-termcolorIf you want to use dnf instead of zypper, you also need:
- dnf
- libdnf-repo-config-zypp## Install
### openSUSE Tumbleweed and Leap
```
sudo zypper install opi
```### SLE
```
# eg. for SLE 15 SP4
sudo SUSEConnect -p PackageHub/15.4/x86_64sudo zypper refresh
sudo zypper install opi
```## Use
Run:
```
opi [package_name]
```Example:
```
opi filezilla
```Demo:
![Screenshot](demo.gif)
### Config options
Change the config by editing the content of `/etc/opi.cfg`.
#### Using DNF instead of Zypper
If you want to, you can use [DNF](https://en.opensuse.org/SDB:DNF) instead of Zypper.
```cfg
backend = dnf
```If you want to go back to Zypper, just change the value of `backend` back to `zypp`.
#### Disabling auto-refresh for new repositories
If you want to, you can disable auto-refreshing of new repositories.
```cfg
new_repo_auto_refresh = false
```If you want to reactivate auto-refreshing for new repositories, just change the value of `new_repo_auto_refresh` back to `true`.
### Packages from Other Repositories
**Packman Codecs** (enable you to play MP4 videos and YouTube)
```
opi packman# or
opi codecs
``````
usage: opi [-h] [-v] [-n] [-P] [-m] [query ...]openSUSE Package Installer
==========================Search and install almost all packages available for openSUSE and SLE:
1. openSUSE Build Service
2. Packman
3. Popular packages for various vendorspositional arguments:
query can be any package name or part of it and will be searched
for both at the openSUSE Build Service and Packman.
If multiple query arguments are provided only results
matching all of them are returned.
Please use the -m option if you want to use the query
arguments as individual package queries.options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-n run in non interactive mode
-P don't run any plugins - only search repos, OBS and Packman
-m use query args as space separated package queriesAlso these queries (provided by plugins) can be used to install packages from various other vendors:
anydesk AnyDesk remote access
atom Atom Text Editor
brave Brave web browser
chrome Google Chrome web browser
codecs Media Codecs from Packman and official repo
dotnet Microsoft .NET framework
jami Jami p2p messenger
maptool Virtual Tabletop for playing roleplaying games
megasync Mega Desktop App
msedge Microsoft Edge web browser
ocenaudio Audio Editor
plex Plex Media Server
resilio-sync Decentralized file synchronization between devices using bittorrent protocol
skype Microsoft Skype
slack Slack messenger
sublime Editor for code, markup and prose
teams-for-linux Unofficial Microsoft Teams for Linux client
teamviewer TeamViewer remote access
vivaldi Vivaldi web browser
vscode Microsoft Visual Studio Code
vscodium Visual Studio Codium
yandex-browser Yandex web browser
yandex-disk Yandex.Disk cloud storage client
zoom Zoom Video Conference
```