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?
Arch was the distro that got me to stop distro-hopping. It’s stable, it has a rolling release, and it’s mine (as in, customizable, manageable).
I guess, if there’s anything I wish I’d known off the bat is that the Arch documentation is probably the best available. So much so, a LOT of it applies to Linux in general and not strictly to Arch.
https://wiki.archlinux.org/title/Main_page
If something breaks, READ the error messages, understand each component, and check the wiki, there’s a very high chance the troubleshooting section has the exact issue laid out.
I can recommend using endeavourOS if you do not want to waste time
But if you want to learn, go for it! Make sure to have the arch wiki ready on a second device
And understand what chroot is, is very important 😆😌
Edit: Ah and don’t forget to install yet another yoghurt
If you go the EOS route, yay is already installed.
Yes, and I love it
Maybe I should have added “if going the arch route”…
ditch it and go straight to NIxOS
don’t use archinstall if it’s the first time, the manual installation is not that hard
Yea, I would say either go for arch manually or go straight to endeavourOS
I installed Arch like that. When I had to do a new install, I forgot everything, then I used archinstall with Xfce option and it worked fine.
I learned so much from just going wiki-diving at every step of the installation and post-installation
i don’t think i went wiki diving really, i just followed what it said but it gave me a nice overview of what does what in an arch system that i could expand on later
Use EndeavousOS instead because the initial install process is simpler.
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.
Note: experience may vary by compositor (xorg/wayland), desktop environment, drivers, system hardware, and your willingness to dive into details.
The only thing I have ever installed using Flatpak on Arch is pgAdmin. Inkscape from the repos works fine for me.
Nice!
What exactly works better on flatpak version? Until now, for any packages that were somehow different, repo vs flatpak, were working better in repo version. (Due to container thingy, because flatpak version could bot see everything and I was zoo lazy to fix it using flatseal 😆)
I’ve had Discord not be up to date in the AUR. Moved to flatpak and haven’t had that issue.
Huh, works well for me, ig updates come a little late sometimes but never unable to use it.
Seems to be program by program. Usually an issue with plasma or wayland or drivers.
deleted by creator
- 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.
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.
From the bottom of the installation guide: https://wiki.archlinux.org/title/General_recommendations
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”
- 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
archinstall is still unstable as hell. I find that my best bet is to:
- Configure everything exactly like I want through the dialog
- Save the user and system preferences to their respective JSONs
- Mount a USB stick and copy the JSONs there
- Restart the archinstall process by loading from the JSONs, then hit commit
- When the above fails, restart the whole machine and jump to step 4, where it magically works
Ah, good to know. I haven’t really used that save configuration and reuse process, I just do the install directly at the end of configuring everything. But I can see the draw for using that, a shame it doesn’t seem to work that well.
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
Only update your system if you have some time on your hands afterwards, in case something breaks. Happened to me a few times before.
This.
“Just do a quick update” and spend 1h trying to fix some broken updatesAlso look at https://archlinux.org/news/ before updating (or follow the RSS feed), some updates may need manual intervention
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.
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.
It’s all automated now, it’s pretty hard to mess up a standard install. It’s not like the good old days.
funny you say that since I just did it (in virtualbox thankfully) and gave up until I heard about endavourOS a few minutes ago
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
The past 2 years I’ve only been using Arch with KDE plasma. It was the one that clicked with me and got me to stay using Linux. Before I ran pop! Os for a little while and didn’t really like it or gnome then I went back to windows.
Couldn’t get nano to work to change sudoers after using archinstall, I’ll just stick to mint until I learn how to properly use my computer
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.
Are you talking about archinstall or have they actually automated the default installation method?
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.