OPI

OPI #

OBS Package Installer

在openSUSE和SLE中可安装和搜索大部分软件:

  1. openSUSE Build Service
  2. Packman
  3. Popular packages for Microsoft and other vendors

系统要求 #

  • openSUSE Tumbleweed, openSUSE Leap 42.1+, SLE 12+
  • python3
  • python3-requests
  • python3-lxml
  • python3-termcolor

如果你希望用dnf代替zypper,则需要以下组件:

  • dnf
  • libdnf-repo-config-zypp

安装 #

openSUSE Tumbleweed and Leap #

sudo zypper install opi

SLE #

# eg. for SLE 15 SP4
sudo SUSEConnect -p PackageHub/15.4/x86_64

sudo zypper refresh
sudo zypper install opi

使用 #

运行:

opi [package_name]

示例:

opi filezilla

演示:

演示截图

使用DNF代替Zypper #

如果你希望用 DNF 代替Zypper.

参考以下编辑 /etc/opi.cfg:

backend = dnf

如果想使用回Zypper,将backend修改回zypp即可。

其他软件源 #

Packman Codecs (多媒体解码器)

opi packman

# 或

opi codecs
使用: opi [-h] [-v] [-r] [query [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 vendors

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

可选参数:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -r, --reversed-output
                        print the search results in reverse

Also these queries 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
  megasync          Mega Desktop App
  msedge-beta       Microsoft Edge Beta
  msedge-dev        Microsoft Edge Dev
  msteams           Microsoft Teams
  plex              Plex Media Server
  skype             Microsoft Skype
  slack             Slack messenger
  sublime           Editor for code, markup and prose
  teamviewer        TeamViewer remote access
  vivaldi           Vivaldi web browser
  vscode            Microsoft Visual Studio Code
  vscodium          Visual Studio Codium
  yandex-disk       Yandex.Disk cloud storage client
  yandex-browser    Yandex web browser
  zoom              Zoom Video Conference
Host by unixetc.com Linux Tags