项目作者: openSUSE

项目描述 :
OBS Package Installer (CLI)
高级语言: Python
项目地址: git://github.com/openSUSE/opi.git
创建时间: 2019-04-25T10:30:41Z
项目社区:https://github.com/openSUSE/opi

开源协议:GNU General Public License v3.0

下载


OPI

OBS Package Installer

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

If you want to use dnf instead of zypper, you also need:

  • dnf
  • libdnf-repo-config-zypp

Install

openSUSE Tumbleweed and Leap

  1. sudo zypper install opi

SLE

  1. # eg. for SLE 15 SP4
  2. sudo SUSEConnect -p PackageHub/15.4/x86_64
  3. sudo zypper refresh
  4. sudo zypper install opi

Use

Run:

  1. opi [package_name]

Example:

  1. opi filezilla

Demo:

Screenshot

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 instead of Zypper.

  1. 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.

  1. 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)

  1. opi packman
  2. # or
  3. opi codecs
  1. usage: opi [-h] [-v] [-n] [-P] [-m] [query ...]
  2. openSUSE Package Installer
  3. ==========================
  4. Search and install almost all packages available for openSUSE and SLE:
  5. 1. openSUSE Build Service
  6. 2. Packman
  7. 3. Popular packages for various vendors
  8. positional arguments:
  9. query can be any package name or part of it and will be searched for both at the openSUSE Build Service and Packman.
  10. If multiple query arguments are provided only results matching all of them are returned.
  11. Please use the -m option if you want to use the query arguments as individual package queries.
  12. options:
  13. -h, --help show this help message and exit
  14. -v, --version show program's version number and exit
  15. -n run in non interactive mode
  16. -P don't run any plugins - only search repos, OBS and Packman
  17. -m use query args as space separated package queries
  18. Also these queries (provided by plugins) can be used to install packages from various other vendors:
  19. anydesk AnyDesk remote access
  20. atom Atom Text Editor
  21. brave Brave web browser
  22. chrome Google Chrome web browser
  23. codecs Media Codecs from Packman and official repo
  24. collabora Collabora desktop office
  25. dotnet Microsoft .NET framework
  26. freeoffice Office suite from SoftMaker (See OSS alternative libreoffice)
  27. jami Jami p2p messenger
  28. libation Tool for managing audible audiobooks
  29. maptool Virtual Tabletop for playing roleplaying games
  30. megasync Mega Desktop App
  31. msedge Microsoft Edge web browser
  32. ocenaudio Audio Editor
  33. orcaslicer Slicer and controller for Bambu and other 3D printers
  34. plex Plex Media Server (See OSS alternative jellyfin)
  35. resilio-sync Decentralized file sync between devices using bittorrent protocol (See OSS alternative syncthing)
  36. skype Microsoft Skype
  37. slack Slack messenger
  38. spotify Listen to music for a monthly fee
  39. sublime Editor for code, markup and prose
  40. teams-for-linux Unofficial Microsoft Teams for Linux client
  41. teamviewer TeamViewer remote access
  42. vivaldi Vivaldi web browser
  43. vscode Microsoft Visual Studio Code
  44. vscodium Visual Studio Codium
  45. yandex-browser Yandex web browser
  46. yandex-disk Yandex.Disk cloud storage client
  47. zoom Zoom Video Conference