问题标签 [pacman-package-manager]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1825 浏览

windows - 使用 pacman 在 windows 的 MSYS2 上安装 Traceroute

我尝试traceroute在 MSYS2 上安装。使用它的pacman包管理器,我更新了索引:

并搜索traceroute:

它什么都找不到...

我可以使用任何 pacman 软件包源在 MSYS2 上安装东西吗?例如,我可以使用 ArchLinux'tracroute吗?

  • 如果是,如何?
  • 如果没有,如何继续traceroute在 MSYS2 上运行?

注意:有一个懒惰的解决方案,我用pacman -S --needed base-devel msys2-devel. 看来traceroute不是必不可少的开发工具...

0 投票
1 回答
5164 浏览

mingw-w64 - 找不到目标:mingw-w64-x86_64-flickcurl

我正在使用 MSYS2,我希望能够安装 flickcurl。

我尝试如下安装,但似乎找不到该文件。

我在这里错过了什么吗?

0 投票
1 回答
263 浏览

package - 如何将 aur 包制作成 archlinux 社区源码?

我已经将我的 aur 包上传到 aur.archlinux.org ( https://aur.archlinux.org/packages/xmake/ )。

如何将 aur 包制作成 archlinux 社区源码?

我想运行命令pacman -S xmake来安装我的包。

谁能帮我?

谢谢!

0 投票
2 回答
28384 浏览

linux - Arch Linux - apt-get update equivalent command?

What is the command for Arch Linux to update the packages before installing a new package?

For instance, I know that in Ubuntu, I do:

What about in Arch?

I came across a couple of version, but they don't seem agree with each others. I can't see the consistency there.

eg 1. (it looks tedious to me):

eg. 2:

eg. 3:

always use "-Sy" with a "u" i.e. "pacman -Syu" then "pacman -S ", and never "pacman -Sy ".

I am just confused!

Any ideas?

0 投票
1 回答
2046 浏览

archlinux - 如何使用 Pacman 删除 texlive

我在 Archlinux 中用 Pacman 安装了 texlive。我现在想删除所有已安装的软件包,因为我发现它们太大了,一个名为 overleaf 的网站可以满足我的大部分需求。

但是texlive里面包含的包太多了,列举如下。

我尝试了sudo pacman -R texinfo,并更改了不同的参数,例如-Rd-Rsn。他们都没有通过依赖检查。

我试过sudo pacman -Rc texinfo了,但它告诉我接下来的 7 个包将被删除,甚至包括 gdb!

那么如何很好地移除 texlive 家族呢?

0 投票
4 回答
9244 浏览

installation - 如何从 AUR 安装需要依赖 AUR 包的包

所以。我正在使用带有 i3 窗口管理器的 ArchLinux(简而言之,没有合适的桌面环境)。我是 Arch Linux 的新手

我正在尝试安装这个名为“shutter”的软件包,它可以帮助我截取屏幕截图。

现在,我尝试安装“快门”

不幸的是,pacman 存储库中没有快门(或者不管它叫什么,对不起)我知道它不可用,但我只是想尝试并继续尝试。

我知道它不可用的原因是它在 AUR 中列出。现在 AUR 中的包是主存储库中不存在的包。美好的。我从它的 git 下载包并尝试“制作”它。

现在这是我面临的错误。

现在,我仔细查看了这个列表,并意识到这些依赖包,例如gnome-perl 和其他,它们本身在 pacman 的主 repo 中不可用,但存在于 AUR 中。因此,pacman 无法定位目标是有道理的。

为了验证我试过:

所以是的,这个“gnome-perl”和其他依赖项也是 AUR 的一部分,因此当“makepkg”告诉 pacman 安装它时,pacman simple 失败了。

那么,我该如何从 AUR 安装这样的软件包,这些软件包进一步严重依赖于其他 AUR 软件包?

先感谢您。如果我的概念是错误的。请指导。再次感谢。

PS:我做了 sudo pacman -Syyu,但运气不好,毕竟这些包不是主仓库的一部分,并且在 AUR 中,所以更新 pacman 镜像列表和系统更新不应该修复它。

0 投票
6 回答
12341 浏览

r - R v3.4.0-2 unable to find libgfortran.so.3 on Arch

I was just on vacation for a month so am unable to say the exact point at which this happened, but R from the official Arch repos is now unable to start, citing

I thought that perhaps a symlink was improperly placed or destroyed, so I looked in /usr/lib to try to find it:

ls -halt /usr/lib/libgfortran.so.*

Has libfortran.so.3 been superseded by libgfortran.so.4 in Arch? If so, are there any possible workarounds for getting R to run with an older version?


pacman -Qi r


Edit: If anyone else comes across this, the r-devel AUR correctly compiles and runs, so hopefully on the next version bump the issue will be resolved.

0 投票
3 回答
4042 浏览

r - 使用单个命令加载多个 R 包

R可以使用 package 中的 functionp_load函数通过pacman R以下命令加载多个包:

但是,我想使用这样的命令

这是行不通的。想知道如何做到这一点?

0 投票
1 回答
960 浏览

windows-10 - 如何在 Windows 上安装 Devhelp,带有 GTK+ 稳定文档?

我用 Google 搜索了Devhelp的 Windows 二进制文件,但没有找到有用的东西。我使用 MSYS2 并在我执行的 MSYS2 MinGW 32 位终端pacman -Q devhelppacman -S devhelp,但找不到包。

0 投票
1 回答
705 浏览

python - Arch Linux 上“python-six”包的 ImportError

我确实重新安装了pacman -S python,pacman -S python-setuptoolspacman -S python-packaging,pacman -S python-six没有任何帮助。

现在几乎所有其他应用程序都遵循相同的模式(例如qutebrowserbuku.

我认为它是在我按照ArchWikivmware-vcli指南手动安装之后发生的(我知道它的并且可能不相关)。


python-setuptools按照类似帖子中的建议通过安装早期版本进行降级/var/cache/pacman/pkg并不能解决问题。