this post was submitted on 04 Feb 2025
94 points (97.0% liked)

Linux

49544 readers
1363 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I’m planning to install Arch Linux for the first time. Any recommendations on setup, must-have applications, or best practices? Also, what’s something you wish you knew before switching to Arch?

top 50 comments
sorted by: hot top controversial new old
[–] Jumuta@sh.itjust.works 5 points 3 hours ago (1 children)

don't use archinstall if it's the first time, the manual installation is not that hard

[–] Strawberry@lemmy.blahaj.zone 2 points 1 hour ago

I learned so much from just going wiki-diving at every step of the installation and post-installation

[–] untorquer@lemmy.world 1 points 2 hours ago* (last edited 2 hours ago)

Be aware that some apps will install fine from the arch repo but some others will be better installed from flatpack (e.g. inkscape) or directly as an executable (e.g. Godot).

On steam you may need to specify your video card if you run an AMD card using the DRI prime command. Some games will require -vulkan to use vulkan rather than game settings.

[–] terminhell@lemmy.dbzer0.com 4 points 8 hours ago

Don't cheap out and use the hand holding script to ez mode the install. At least not the first time. You will learn a few things along the way.

[–] JackbyDev@programming.dev 10 points 10 hours ago

Use EndeavousOS instead because the initial install process is simpler.

[–] brisk@aussie.zone 6 points 11 hours ago* (last edited 11 hours ago) (1 children)

Check ArchLinux.org for news before you kick off an update. It's got an RSS feed and a mailing list if that helps.

Read the Wiki, and turn to it first for any issues you have.

This one may be a special "me" problem, but if you're manually interacting with wpa_supplicant, stop and go read the Networking page in the Wiki again.

Learn how to use journalctl (at least superficially) before something goes wrong.

Generally you want to restart after an update to the kernel or graphics drivers or things start degrading strangely.

[–] JackbyDev@programming.dev 2 points 10 hours ago

I'm surprised it isn't the norm to have a hook that checks it as part of pacman updating.

[–] moonpiedumplings@programming.dev 6 points 11 hours ago
[–] Bonje@lemmy.world 11 points 14 hours ago* (last edited 14 hours ago) (2 children)
  • EndeavourOS is arch based with less hassle. Its more than good enough for most people. don't get trapped by minimal install bs and other non-consequential opinionative approaches to software.
  • Select btrfs as your file system and use timeshift. If you fuck up or if your updates fuck something up. There are other ways of doing rollbacks and this is just what I became familiar with. I've used it two times in the past year, its worth it.
  • Bookmark the archwiki, 99% of the time the answer to the questions of 'how to' and 'can i' are in there
  • There are multiple DE's. Pick what works best for you before you toss that bootable USB installer. You of course can switch later down the line, but experimenting now will save you config troubleshooting later, just stick to what feels/looks best. Look around on the web to see what appeals to your workflow. There are others like Cosmic and Wayland that are not included in the arch gui installer, in which case, follow the install procedures for the DE you want and remove the old ones to avoid config overlap.
  • Have Fun. If you are not, do something that is.
[–] lambipapp@lemmy.world 4 points 13 hours ago

I 2nd this wholeheartedly! Been using endeavourOS for years at this point! Before endeavourOS I was distro hoping the classics. I tried Ubuntu, fedora, popOS, Debian and way more throughout my time on linux. When I tried endeavour the first time I just stuck with it. It just worked, the updates are seamless and I just like get along with it.

[–] Disonantezko@lemmy.sdf.org 2 points 12 hours ago

Wayland and Cosmic are not there yet for beginners, more like beta, watch videos from Brodie Robertson, I'll wait half year at least to try that for newbies.

[–] _____@lemm.ee 11 points 19 hours ago* (last edited 19 hours ago)

The whole arch advantage (imo) is that you have a full understanding of what's in your machine and how it works.

As a beginner you won't understand and that's okay, but you should try different things (or don't and just focus on what works for you) as long as the end result is you doing: pacman -Qe and going "hmm that makes sense", and imo the undesired result is going "hmm what do these all do, why do I have 2000+ packages"

[–] drwho@beehaw.org 3 points 14 hours ago

For starts, read the wiki. Specifically, read the installation guide at least twice to get a feel for how it works and what the Arch vibe is like. This is also your chance to figure out just what you want to do. Do you want to use GRUB or UEFI? Which sounds like a better fit? What filesystem? What do you want to run? mdadm or not? A little bit of planning and reading is better than reinstalling half a dozen times (ask me how I know...)

Must-have applications? Screen or tmux. SSH. Whatever shell you're comfortable with (bash is how I roll, but you might be a fan of fish).

[–] loo@lemmy.world 12 points 21 hours ago (1 children)

Only update your system if you have some time on your hands afterwards, in case something breaks. Happened to me a few times before.

[–] American_Jesus@lemm.ee 5 points 18 hours ago (1 children)

This.
"Just do a quick update" and spend 1h trying to fix some broken updates

Also look at https://archlinux.org/news/ before updating (or follow the RSS feed), some updates may need manual intervention

[–] CorrodedCranium@leminal.space 2 points 14 hours ago

Paying close attention to news feeds is something I wish I did when I ran Manjaro.

[–] Dima@feddit.uk 8 points 19 hours ago

Arch is good for tinkering with to make it your own, but can sometimes require tinkering to do things other distros can do straight away, e.g. adding udev rules to use certain devices or setting up zeroconf to be able to discover printers on the network automatically

If you want to be able to roll back changes easily you could set up your root and home partitions as btrfs subvolumes and use snapper to take snapshots, which can be combined with pacman hooks to automatically take snapshots when updating/installing software and can even be set up to allow booting into the snapshots which could be useful if you break your system

[–] onlooker@lemmy.ml 8 points 19 hours ago (1 children)

Do yourself a favour and install it on a virtual machine first. Screwing up an install on Arch is frighteningly easy. The Arch Wiki is your friend, use it. Also, read the installation instructions before you begin the installation, not during. If this sounds like too much of a headache (understandably so), then give EndeavourOS a whirl.

[–] ikidd@lemmy.world 3 points 18 hours ago (3 children)

It's all automated now, it's pretty hard to mess up a standard install. It's not like the good old days.

[–] passiveaggressivesonar@lemmy.world 2 points 12 hours ago (1 children)

funny you say that since I just did it (in virtualbox thankfully) and gave up until I heard about endavourOS a few minutes ago

[–] PancakeBrock@lemmy.zip 3 points 11 hours ago (1 children)

You boot into your installation media and type archinstall then pick the options you want. You can do it the manual way but Arch install works great.

Alright I'll try again and let you know, what DE do you recommend? I use cinnamon right now

[–] thevoidzero@lemmy.world 2 points 14 hours ago

That's what I thought, but then when arch install fcks up it seems even harder to fix. I ised it because I have been getting new computers so it was easier to run run it. It messed up the SSD in a way, and trying to run it again wouldn't work because it can't find the SSD that it did something to. It took a while to manually fix all that.

Also idk why arch install doesn't have easy way to partition home and root, the default suggestions's root is too small, changing it requires manually making each partition, just take an integer(%) allocated for home and calculate from there.

load more comments (1 replies)
[–] chaoticnumber@lemmy.dbzer0.com 8 points 21 hours ago

So many tips, let me add mine.

  • btop - for monitoring and process management
  • pacseek - terminal UI for installing, searching packages (uses yay)
  • chaotic aur - repo for prebuilt binaries that are generally ok

When installing use the archinstall the first time, unless you really want to go into the deep end and use the normal install.

[–] NateSwift@lemmy.dbzer0.com 37 points 1 day ago (3 children)

The ArchWiki is amazing, probably don’t start by installing nothing but a window manager and adding things you need as you go

load more comments (3 replies)
[–] propter_hog@hexbear.net 4 points 18 hours ago

Print out the install guide on paper and have it with you while you go. If you fuck up networking, you'll have the directions there to get it back.

[–] PumpkinEscobar@lemmy.world 14 points 1 day ago (2 children)
  • archinstall is one of the better/best distro installs around - it just does what it says it will and is pretty intuitive
  • LUKS encryption is easy to set up in archinstall - strongly recommend encrypting your root partition if you have anything remotely sensitive on your system
  • If you do use encryption but don't like typing the unlock password every reboot, you can use tpm to unlock - yes, this is less secure than requiring the unlock password every time you reboot, but LUKS + TPM unlock is still MUCH better than an unencrypted drive just sitting there
  • sbctl is a good tool for secure boot - If you want to get more secure, locking down bios with an admin password, turning on secure boot, sbctl works really well and is pretty easy to use. I would suggest reading up to understand what it's doing before just installing/configuring/using it
  • yay is a solid AUR helper / pacman wrapper
load more comments (2 replies)
[–] ndondo@lemmy.dbzer0.com 28 points 1 day ago (2 children)

EndeavorOS if you want to have an easy time. Also be comfortable reading documentation.

[–] 9tr6gyp3@lemmy.world 7 points 22 hours ago (3 children)

Why EndeavorOS over arch-install?

load more comments (3 replies)
[–] Templa@beehaw.org 1 points 15 hours ago (1 children)

If you don't mind AI slop wallpapers every time you upgrade your system. I can't wait to get rid of eOS on my desktop and just use regular Arch

[–] ndondo@lemmy.dbzer0.com 2 points 14 hours ago (1 children)

I've only seen this on a system I hadn't changed the wallpaper on. But agreed the stock ones suck

[–] Templa@beehaw.org 2 points 14 hours ago

I don't know why but even if I am setting my own wallpapers I still get to see the stock ones (when booting, etc), it pisses me off because it is clearly AI made and it seems the community around eOS likes them and even make worst ones on their forum

[–] downhomechunk@midwest.social 4 points 19 hours ago (1 children)

Install slackware instead! But if you must, yay.

[–] CorrodedCranium@leminal.space 3 points 15 hours ago

Any reason you would recommend Slackware specifically?

I've watched a few Youtube videos on the history of it and the advantages of it but I don't recall much. It seemed like a lot of people who had used Slackware a long time ago simply continuing to use Slackware and people using at as a learning tool because of how user involved it is.


Would you recommend people start with Slackware itself or a Slackware-based distro?

[–] CorrodedCranium@leminal.space 11 points 1 day ago* (last edited 1 day ago) (1 children)

I didn't read the documentation so I didn't know you weren't supposed to use sudo with yay.

-Ss can be added to pacman to search for packages. Pretty useful if you don't want to DuckDuckGo them every time.

As for applications one neat one I don't see recommended very often is xkill. You can use it to kill applications kind of like you would with the task manager in Windows. htop is probably a closer comparison to the task manager in general though.

There are a lot of Arch-based distros that are incredibly easy to install if you want a very easy setup process that doesn't involve a lot of terminal work.

[–] Jumuta@sh.itjust.works 3 points 16 hours ago (1 children)

i thought yay told you to not run it with sudo?

[–] CorrodedCranium@leminal.space 2 points 15 hours ago

It does. It gives you this message

-> Avoid running yay as root/sudo.

I only ran Debian and Ubuntu based distros up until that point so I thought you always needed to install packages using sudo.

I am pretty sure I ignored the warning initially because the first couple packages I tried to install with sudo and yay worked.

This was a while ago.

[–] Veraxis@lemmy.world 21 points 1 day ago* (last edited 1 day ago)

Stick to the many guides available and you will be fine. One thing which I either missed or was glossed over in most guides is to install the Linux-firmware package. It is considered an "optional" package, but on all the machines I have ever used I have run into issues without it.

[–] liliumstar@lemmy.dbzer0.com 14 points 1 day ago

I've been using Arch off and on for a long time, since it was horrible to install and updates did often break stuff. This is not the case now 🖖, and the Arch wiki is your friend.

  1. Consider using btrfs with automated snapshots using yabsnap. It includes a configurable pacman hook in case something goes awry. Also just nice to have snapshots in case you accidentally delete a file or something.

  2. Use paru, an AUR helper. Good for random things which may not be officially packaged. Expect to run into failures, and learn to diagnose them. Sometimes it's just a new dependency the packager missed. For both paru and pacman, clean the cache once in a while or automatically, or things will get out of hand.

  3. Do the "manual" setup, at least the first time, so you have an idea what's going on. Don't forget to install essential stuff like iwd (if needed) when you do pacstrap, or else you might have to boot from live again to fix it. Once you're done, take care to follow the important post install steps, like setting up a user with sudo, a firewall, sshd, etc.

As for general setup, I've recently embraced systemd-networkd and systemd-resolved. Might be worth giving it a shot, since there is no default network manager like application. You can even convert all your wireguard client configs into networkd interfaces.

Best practice: Keep a personal log of various tweaks and things you've configured, and set up automated backups (more of general guidance).

Have fun!

load more comments
view more: next ›