this post was submitted on 29 Apr 2024
14 points (100.0% liked)
Arch Linux
7759 readers
1 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
I get a fatal error from every mirror it attempts to download through.
This can be 2 things:
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 againThank you!
So far I've determined I'm definitely not connected to internet.
Unfortunately i cannot seem to connect.
I've tried iwctl, and also nmtui.
I dont know if I'm describing this right but both connect without error for a bit. But the second I go to use the WiFi it disconnects.
Edit: rebooting after connecting seems to have solved it.
Well, this is strange...
You said you're using both iwctl and nmtui, and maybe that's the issue, cause you're configuring 2 distinct apps to handle your connection and I think they can conflict with each other
Choose 1 and disable the other
For example, let's suppose you wanna keep iwd, so enable it with
sudo systemctl enable --now iwd.service
And disable NetworkManager
sudo systemctl disable NetworkManager.service
Reboot your system
However I suggest you to take a look at https://wiki.archlinux.org/title/Network_configuration