Okay so I just finished struggling through my archlinux install. I have arch Linux with hyprland now.
But I cannot figure out how to download anything.
At minimum i need a browser, and git. But I cannot figure out web downloads in kitty.
Edit: nmtui to connect to WiFi, and then a reboot solved it.
You may use
pacman
to install packages in your ArchTo install packages you need to use
pacman -S <pkgname>
. For example to install Firefox:pacman -S firefox
You can also install many packages once, for example:
pacman -S firefox git ruby keepassxc
Remember that you need root privileges to install apps with
pacman
How do I have root privileges? Do I just use sudo?
Yep,
sudo
gives your user root privilegesusing
sudo pacman -S <filename>
I get a fatal error from every mirror it attempts to download through.
This can be 2 things:
- You’re not connected to the internet
- You need to properly set the mirrors
Try run
ping www.google.com
and 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/mirrorlist
you paste the content you got when clickingGenerate List
at this site I mentioned beforeThen run
sudo pacman -Syyu
to update everything and then try install your apps again
Does internet work? You can check by running “ping archlinux.org” in a terminal, (Ctrl C to stop it). If you are connected to internet you could search for packages using the “pacman -Ss <e. g. chromium>”, and or install by using “sudo pacman -S <name>”
Hmm.
I connected to my internet using iwctl.
But yeah the ping returned a failure so I guess I’m not connected.
It’s possible you may be specifying the wrong device? Try iwctl, and then “device list” to see other options. I always seem to have two or three, with only one working. More info here: https://wiki.archlinux.org/title/Iwd#iwctl