Arch Linux 中用于包管理的图形化应用
Arch Linux 包管理器
![](/data/attachment/album/202210/17/110440isl629s0uqnl8b29.jpg)


[安装 Arch Linux](https://itsfoss.com/install-arch-linux/) 有一些挑战性。这就是为什么 [有几个基于 Arch 的发行版](https://itsfoss.com/arch-based-linux-distros/) 通过提供图形化的安装程序使事情变得简单。


即使你设法安装了 Arch Linux，你也会注意到它严重依赖命令行。如果你需要安装应用或更新系统，那么必须打开终端。


是的！Arch Linux 没有软件中心。我知道，这让很多人感到震惊。


如果你对使用命令行管理应用感到不舒服，你可以安装一个 GUI 工具。这有助于在舒适的图形化界面中搜索包以及安装和删除它们。


想知道你应该使用 [pacman 命令](https://itsfoss.com/pacman-command/) 的哪个图形前端？我有一些建议可以帮助你。


**请注意，某些软件管理器是特定于桌面环境的。**


### 1、Apper


![使用 Apper 安装 Firefox](/data/attachment/album/202210/17/151733k7v9x728nrzl7778.png)


Apper 是一个精简的 Qt5 应用，它使用 PackageKit 进行包管理，它还支持 AppStream 和自动更新。但是，**没有 AUR 支持**。


要从官方仓库安装它，请使用以下命令：



```
sudo pacman -Syu apper

```


> 
> **[GitLab 上的 Apper](https://invent.kde.org/system/apper)**
> 
> 
> 


### 2、深度应用商店


![使用深度应用商店安装 Firefox](/data/attachment/album/202210/17/151734ch6si9l16s186rs6.png)


深度应用商店是使用 DTK（QT5）构建的深度桌面环境的应用商店，它使用 PackageKit 进行包管理，支持 AppStream，同时提供系统更新通知。 **没有 AUR 支持**。


要安装它，请使用以下命令：



```
sudo pacman -Syu deepin-store

```


> 
> **[Github 上的深度商店](https://github.com/dekzi/dde-store)**
> 
> 
> 


### 3、KDE 发现应用


![使用 Discover 安装 Firefox](/data/attachment/album/202210/17/151734ongu6frkk9gbugfh.png)


<ruby> 发现 <rt>  Discover </rt></ruby> 应用不需要为 KDE Plasma 用户介绍。它是一个使用 PackageKit 的基于 Qt 的应用管理器，支持 AppStream、Flatpak 和固件更新。


要在发现应用中安装 Flatpak 和固件更新，需要分别安装 `flatpak` 和 `fwupd` 包。**它没有 AUR 支持。**



```
sudo pacman -Syu discover packagekit-qt5

```


> 
> **[GitLab 上的 Discover](https://invent.kde.org/plasma/discover)**
> 
> 
> 


### 4、GNOME PackageKit


![Installing Firefox using GNOME PackageKit](/data/attachment/album/202210/17/151735oxw8b8qgg89958x9.png)


GNOME PackageKit 是一个使用 PackageKit 技术的 GTK3 包管理器，支持 AppStream。不幸的是，**没有 AUR 支持**。


要从官方仓库安装它，请使用以下命令：



```
sudo pacman -Syu gnome-packagekit

```


> 
> **[freedesktop 上的 PackageKit](https://freedesktop.org/software/PackageKit/index.html)**
> 
> 
> 


### 5、GNOME 软件应用


![Installing Firefox using GNOME Software](/data/attachment/album/202210/17/151736b3uczuoulo10pp34.png)


GNOME <ruby> 软件 <rt>  Software </rt></ruby> 应用不需要向 GNOME 桌面用户介绍。它是使用 PackageKit 技术的 GTK4 应用管理器，支持 AppStream、Flatpak 和固件更新。


**它没有 AUR 支持。**要安装来自 GNOME 软件应用的 Flatpak 和固件更新，需要分别安装 `flatpak` 和 `fwupd` 包。


安装它使用：



```
sudo pacman -Syu gnome-software-packagekit-plugin gnome-software

```


> 
> **[GitLab 上的 GNOME 软件](https://gitlab.gnome.org/GNOME/gnome-software)**
> 
> 
> 


### 6、tkPacman


![使用 tkPacman 安装 Firefox](/data/attachment/album/202210/17/151736zkb7dtblzhst9hpw.png)


它是用 Tcl 编写的 Tk pacman 封装。界面类似于 [Synaptic 包管理器](https://itsfoss.com/synaptic-package-manager/)。


由于没有 GTK/Qt 依赖，它非常轻量级，因为它使用 Tcl/Tk GUI 工具包。


**它不支持 AUR**，这很讽刺，因为你需要从 [AUR](https://itsfoss.com/aur-arch-linux/) 安装它。你需要事先安装一个 [AUR 助手](https://itsfoss.com/best-aur-helpers/)，如 yay。



```
yay -Syu tkpacman

```


> 
> **[Sourceforge 上的 tkPacman](https://sourceforge.net/projects/tkpacman)**
> 
> 
> 


### 7、Octopi


![使用 Octopi 安装 Firefox](/data/attachment/album/202210/17/151736fs8pbubff96wrb9w.png)


可以认为它是 tkPacman 的更好看的表亲。它使用 Qt5 和 Alpm，还支持 Appstream 和 **AUR（通过 yay）**。


你还可以获得桌面通知、仓库编辑器和缓存清理器。它的界面类似于 Synaptic 包管理器。


要从 AUR 安装它，请使用以下命令。



```
yay -Syu octopi

```


> 
> **[GitHub 上的 Octopi](https://github.com/aarnt/octopi)**
> 
> 
> 


### 8、Pamac


![使用 Pamac 安装 Firefox](/data/attachment/album/202210/17/151737nl1rl5v51u55wbld.png)


Pamac 是 Manjaro Linux 的图形包管理器。它基于 GTK3 和 Alpm，**支持 AUR、Appstream、Flatpak 和 Snap**。


Pamac 还支持自动下载更新和降级软件包。


它是 Arch Linux 衍生版中使用最广泛的应用。但因为 [DDoS AUR 网页](https://gitlab.manjaro.org/applications/pamac/-/issues/1017) 而臭名昭著。


[在 Arch Linux 上安装 Pamac](https://itsfoss.com/install-pamac-arch-linux/) 有几种方法。最简单的方法是使用 AUR 助手。



```
yay -Syu pamac-aur

```


> 
> **[GitLab 上的 Pamac](https://gitlab.manjaro.org/applications/pamac)**
> 
> 
> 


### 总结


要删除任何上面图形化包管理器以及依赖项和配置文件，请使用以下命令将 `packagename` 替换为要删除的包的名称。



```
sudo pacman -Rns packagename

```

这样看来，Arch Linux 也可以在不接触终端的情况下使用合适的工具。


还有一些其他应用程序也使用终端用户界面（TUI）。一些例子是 [pcurses](https://github.com/schuay/pcurses)、[cylon](https://github.com/gavinlyonsrepo/cylon)、[pacseek](https://github.com/moson-mo/pacseek) 和 [yup](https://github.com/ericm/yup)。但是，这篇文章只讨论那些有适当的 GUI 的软件。


**注意：** PackageKit 默认打开系统权限，因而 [不推荐](https://bugs.archlinux.org/task/50459) 用于一般用途。因为如果用户属于 `wheel` 组，更新或安装任何软件都不需要密码。


**你看到了在 Arch Linux 上使用图形化软件中心的几种选择。现在是时候决定使用其中一个了。你会选择哪一个？Pamac 或 OctoPi 还是其他？现在就在下面留言吧**。




---


via: <https://itsfoss.com/arch-linux-gui-package-managers/>


作者：[Anuj Sharma](https://itsfoss.com/author/anuj/) 选题：[lkxed](https://github.com/lkxed) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux 中国](https://linux.cn/) 荣誉推出


OK
[Installing Arch Linux](https://itsfoss.com/install-arch-linux/) is considered challenging. This is why [several Arch-based distributions exist](https://itsfoss.com/arch-based-linux-distros/) to make things easier by providing a graphical installer.

Even if you manage to install Arch Linux, you’ll notice that it relies heavily on the command line. You’ll have to open the terminal if you have to install applications or update the system.

Yes! Arch Linux does not have a software center. Shocking for many, I know.

If you feel uncomfortable using the command line for managing applications, you can install a GUI tool. This helps in searching for packages and installing and removing them from the comfort of the GUI.

Wondering which graphical frontend for [pacman commands](https://itsfoss.com/pacman-command/) you should use? I have some suggestions to help you get started.

*Please note that some software managers are desktop environment specific.*

## 1. Apper

Apper is a minimal Qt5 application and package manager using PackageKit which also supports AppStream and automatic updates. But, **there is no AUR support**.

To install it from the official repos use the command below.

`sudo pacman -Syu apper`


## 2. Deepin App Store

Deepin App Store is an app store for Deepin Desktop Environment built with DTK(Qt5), using PackageKit with AppStream support and also provides system update notifications. There is **no AUR support**.

To install it, use the command below.

`sudo pacman -Syu deepin-store`


## 3. Discover

Discover needs no introduction for KDE Plasma users. It is a Qt-based application manager using PackageKit which supports AppStream, Flatpak and Firmware updates.

For installing Flatpak and Firmware updates from Discover `flatpak`

and `fwupd`

packages need to be installed respectively.

There is no AUR support.

`sudo pacman -Syu discover packagekit-qt5`


## 4. **GNOME PackageKit**

GNOME** **PackageKit is a GTK3 package manager using PackageKit which supports AppStream. Unfortunately, there is **no AUR support**.

To install it from the official repos use the command below.

`sudo pacman -Syu gnome-packagekit`


## 5. **GNOME Software**

GNOME Software needs no introduction for GNOME desktop users. It is the GTK4 application manager using PackageKit which supports AppStream, Flatpak and Firmware updates.

There is no AUR support. To install Flatpak and Firmware updates from GNOME Software `flatpak`

and `fwupd`

packages need to be installed respectively.

Install it using:

`sudo pacman -Syu gnome-software-packagekit-plugin gnome-software`


## 6. **tkPacman**


**tkPacman**It is a Tk pacman wrapper written in Tcl. The interface is similar to [Synaptic Package Manager](https://itsfoss.com/synaptic-package-manager/).

It is quite lightweight due to no GTK/Qt dependencies as it is uses Tcl/Tk GUI toolkit.

It does not support AUR which is ironic because you need to install it from [AUR](https://itsfoss.com/aur-arch-linux/). You need to install an [AUR helper](https://itsfoss.com/best-aur-helpers/) like yay beforehand.

`yay -Syu tkpacman`


## 7. **Octopi**

Consider it a better looking cousin of tkPacman. It uses Qt5 and Alpm and also supports Appstream and **AUR (via yay)**.

You also get desktop notifications, repository editor and cache cleaner. The interface is similar to Synaptic Package Manager.

To install it from the AUR, use the following command.

`yay -Syu octopi`


## 8. Pamac

Pamac is the graphical package manager from Manjaro Linux. It based on GTK3 and Alpm and **supports AUR, Appstream, Flatpak and Snap**.

Pamac also supports automatic download of updates and downgrade of packages.

It is the most widely used Application in Arch Linux derivatives. But, has been notorious for [DDoSing the AUR webpage](https://gitlab.manjaro.org/applications/pamac/-/issues/1017).

There are several ways to [install Pamac on Arch Linux](https://itsfoss.com/install-pamac-arch-linux/). The simplest would be to use an AUR helper.

`yay -Syu pamac-aur`


## Conclusion

To remove any of the above-mentioned GUI package managers along with the dependencies and configuration files, use the following command replacing *packagename* with the name of package to be removed.

`sudo pacman -Rns `*packagename*


So it seems Arch Linux can also be used without touching the terminal with the right tools.

There are also some other applications also which use Terminal User Interface (TUI). A few examples are [pcurses](https://github.com/schuay/pcurses), [cylon](https://github.com/gavinlyonsrepo/cylon), [pacseek](https://github.com/moson-mo/pacseek), and [yup](https://github.com/ericm/yup). But, this article is about only the ones with proper GUI.

**Note:** PackageKit opens up system permissions by default, and is otherwise [not recommended](https://bugs.archlinux.org/task/50459) for general usage. Because if the user is part of the wheel group no password is required to update or install any software.

*You saw several options for using GUI software center on Arch Linux. It’s time to make a decision on using one of them. Which one would you choose? Pamac or OctoPi or something else? Leave a quick comment below right now.*