如何在 Arch Linux 上使用 AUR 包安装 Skype 后运行 Skype

如何在 Arch Linux 上使用 AUR 包安装 Skype 后运行 Skype

我已按照以下步骤使用 AUR 包安装 Skype:

wget https://aur.archlinux.org/cgit/aur.git/snapshot/skypeforlinux-bin.tar.gz
tar zxf skypeforlinux-bin.tar.gz
cd skypeforlinux-bin
makepkg -s

输出是:

==> Making package: skypeforlinux-bin 8.6.76.56247-1 (Fri Sep  8 10:11:48 -03 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found skypeforlinux_8.6.76.56247_amd64.deb
==> Validating source files with sha256sums...
    skypeforlinux_8.6.76.56247_amd64.deb ... Passed
==> Extracting sources...
  -> Extracting skypeforlinux_8.6.76.56247_amd64.deb with bsdtar
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "skypeforlinux-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: skypeforlinux-bin 8.6.76.56247-1 (Fri Sep  8 10:13:39 -03 2017)

现在,我如何运行 Skype?因为我尝试搜索命令skype或类似命令,但没有出现任何内容。

你可以帮帮我吗?多谢!

答案1

您已经构建了软件包 ( makepkg -s),但尚未安装它,所以显然您无法运行它。

pacman -Q skypeforlinux-bin将确认它尚未安装。

输出makepkg也表明了这一点:

==>制作完成:skypeforlinux-bin 8.6.76.56247-1 (Fri Sep 8 10:13:39 -03 2017)

作为AUR 上的 wiki 页面明确指出,您需要通过makepkg -i安装您构建的包。

此时,您可以重建,或者更简单,只要您仍然拥有构建的包,只需使用 pacman:

sudo pacman -U $package_name.pkg.tar.xz

相关内容