6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Arch Linux に yay をインストール

Last updated at Posted at 2019-05-25

Arch Linux に yay をインストールする方法です。

必要なライブラリーのインストール

sudo pacman -S git
sudo pacman -S fakeroot
sudo pacman -S binutils
sudo pacman -S make
sudo pacman -S gcc
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

インストールできたことの確認

$ which yay
/usr/bin/yay

$ yay --version
yay v12.3.5 - libalpm v14.0.0

yay の使い方
例えば python-dotenv のインストール

yay -S python-dotenv

ソフトの更新

yay -Syu

次のエラーが出た時は、yay を再インストールすれば、修復します。

$ yay --version
yay: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory
6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?