1
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]

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.

top 5 comments
sorted by: hot top controversial new old
[-] [email protected] 1 points 4 months ago

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

[-] [email protected] 1 points 4 months ago* (last edited 4 months ago)

How do I have root privileges? Do I just use sudo?

[-] [email protected] 1 points 4 months ago

Yep, sudo gives your user root privileges

[-] [email protected] 0 points 4 months ago

using

sudo pacman -S

I get a fatal error from every mirror it attempts to download through.

[-] [email protected] 1 points 4 months ago

This can be 2 things:

  1. You're not connected to the internet
  2. 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 internet

Otherwise, 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 clicking Generate List at this site I mentioned before

Then run sudo pacman -Syyu to update everything and then try install your apps again

this post was submitted on 29 Apr 2024
1 points (100.0% liked)

Arch Linux

7605 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS