this post was submitted on 29 Apr 2024
0 points (NaN% liked)
Arch Linux
8539 readers
2 users here now
The beloved lightweight distro
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How do I have root privileges? Do I just use sudo?
Yep,
sudogives your user root privilegesusing
sudo pacman -S
I get a fatal error from every mirror it attempts to download through.
This can be 2 things:
Try run
ping www.google.comand see if you have connection. If you don't you need to connect your PC to the internetOtherwise, you have to set the mirrors. So go to https://archlinux.org/mirrorlist/ and select the best location to you, then in the file
/etc/pacman.d/mirrorlistyou paste the content you got when clickingGenerate Listat this site I mentioned beforeThen run
sudo pacman -Syyuto update everything and then try install your apps again