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 Arch
To 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
using
sudo pacman -S <filename>
I get a fatal error from every mirror it attempts to download through.
I would do:
pacman -S --needed firefox
Instead.
You can replace pacman
with AUR helper (I’d suggest installing Paru or YAY) if you’re using one.
sudo pacman -S
is virtually the only command I used as a beginner.
But that said, you may install from the AUR using yay.
I found out previously just use yay. Don’t do sudo yay. It’s not necessary and not 100% of AUR packages are guaranteed to be clean: omitting sudo will keep them out of root.
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