Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

yay: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory

1- Remove yay by running
$ sudo pacman -R yay

2- Make a new directory and change to it (makes for easier cleanup): 
$ mkdir /tmp/yay && cd /tmp/yay

3- Download the latest PKGBUILD for yay by running 
$ curl -OJ 'https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=yay'

4- Build and install the package by running 
$ makepkg -si

5- Get rid of of the evidence: 
$ rm -rf /tmp/yay
Source by joshtronic.com #
 
PREVIOUS NEXT
Tagged: #error #loading #shared #open #shared #object #No #file #directory
ADD COMMENT
Topic
Name
8+5 =