除了使用apk-get
.有没有办法通过pacman下载这个库?我只使用 Linux 终端大概一个月,所以可能有些东西我没有得到。
编辑:我正在尝试安装 C++ libtcod 库。
答案1
是的,但是您需要使用Arch 用户存储库(AUR)。按照 Arch Wiki 中的说明进行操作 (https://wiki.archlinux.org/index.php/Arch_User_Repository)然后您可以使用您最喜欢的 AUR 客户端安装它。例如:
$ trizen -Ss libtcod
aur/libtcod 1.15.1-1 [unmaintained] [28+] [0.00%] [22 May 2020]
Roguelike graphics/utility library
aur/libtcod-151 1.5.1-2 [unmaintained] [9+] [0.00%] [6 Apr 2017]
Roguelike graphics/utility library (v1.5.1 maintained for brogue)
aur/libtcod-git 1.16.0.alpha.12.r0.g1c8be39-1 [0+] [0.00%] [27 Aug 2020]
Roguelike graphics/utility library. Development version.
aur/python-libtcod 1.15.1-2 [2+] [0.00%] [8 Jul 2020]
Python Roguelike graphics/utility library.
aur/python-libtcod-cffi 1.0-1 [unmaintained] [2+] [0.00%] [3 Oct 2016]
Python CFFI port of libtcod.
aur/python-tdl 1.5.3-4 [out-of-date] [unmaintained] [1+] [0.00%] [4 Aug 2016]
Pythonic CFFI port of libtcod.
因此,要安装,我将运行trizen -S python-libtcod
或 ,trizen -S libtcod-git
具体取决于您需要哪一个。