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.

6 points

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

permalink
report
reply
3 points
*

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

permalink
report
parent
reply
4 points

Yep, sudo gives your user root privileges

permalink
report
parent
reply
1 point

using

sudo pacman -S <filename>

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

permalink
report
parent
reply
3 points

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.

permalink
report
reply
5 points

BTW, for AUR helpers, you don’t use sudo.

permalink
report
parent
reply
3 points
*

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.

permalink
report
reply
3 points

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>”

permalink
report
reply
2 points

Hmm.

I connected to my internet using iwctl.

But yeah the ping returned a failure so I guess I’m not connected.

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply

Arch Linux

!archlinux@lemmy.ml

Create post

The beloved lightweight distro

Community stats

  • 183

    Monthly active users

  • 272

    Posts

  • 1.7K

    Comments

Community moderators