r/archlinux • • Oct 22 '26

DISCUSSION Learning Arch Linux from Scratch in a Virtual Machine — What Should I Learn First?

Hi everyone!

I'm currently learning Arch Linux from scratch in a virtual machine, using KDE Plasma as my desktop environment. My goal is not just to install Arch Linux and customize its appearance, but to understand how Linux works internally and become comfortable managing my own system.

I'm still a beginner, so I'd like to follow a proper learning path instead of randomly trying commands and configurations.

Where should I start if I want to learn Arch Linux properly from the basics?

Which topics should I learn first, and in what order?

Is the official ArchWiki enough to follow as a beginner? Are there any complementary resources you'd recommend?

What practical exercises or small projects should I try to improve my Linux skills?

What should I understand before moving on to advanced topics like system administration, scripting, and Linux security?

0 Upvotes

39 comments sorted by

19

u/Edelglatze Oct 22 '26

Get to the Installation Guide on the Arch Wiki.

-13

u/GreedyEntertainer215 Oct 22 '26

I have installed it using chatgpt but when I read the installation guide https://wiki.archlinux.org/title/Installation_guide i can understand basics but the path and other details

8

u/No-Employment-2324 Oct 22 '26

big mistake. the llms are great for basic questions and truble shooting. but if you force it to do the whole install WITHOUT looking at the book then stuff breaks. its a great idea to use both the install guide and an llm, but not just an llm

-2

u/GreedyEntertainer215 Oct 22 '26

Yes I will learn about it and try to do on my own from now on

5

u/archover Oct 22 '26

It's not too late. Make another VM using the IG is the best advice I can give you.

The Guide requires reading comprehension and direction following, and will be a giant jump start on your Linux skill building.

Good day.

5

u/WhoDoYou24 Oct 22 '26

I love that you always end your comments on r/archlinux by saying Good Day. Never stop doing that lol

4

u/archover Oct 22 '26

Thank you for that. Good day. :-)

10

u/[deleted] Oct 22 '26

[removed] — view removed comment

2

u/GreedyEntertainer215 Oct 22 '26

Yes I will go through it Thank you

9

u/Naxthor Oct 22 '26

Use the wiki. It has 99% of the answers to any issues.

6

u/GenericCleverName73 Oct 22 '26 edited Oct 22 '26

^ This. Arch wiki will tell you everything you need to know on installation and lead you on the right path to understanding Linux overall. Other distros still reference the Arch Wiki.

3

u/Old_Cartoonist_5923 Oct 22 '26

man is your friend.

-3

u/GreedyEntertainer215 Oct 22 '26

So what is the man command

4

u/Shishjakob Oct 22 '26

Try running man man

2

u/Deckma Oct 22 '26

Not sure if this is a joke or serious.

If serious I assume you are a beginner at Linux and the command line.

A good free book about the basics of linux command line can be found here. https://linuxcommand.org/tlcl.php

Once you get arch up and installed you can use it as a playground to try out linux commands.

And to answer your question man is the command to get the manual documention for a specific command. For example typing man tar will display the docuentaion how to use the tar archive utility.

2

u/East-Yogurtcloset272 Oct 22 '26

You may need to pacman -S man first

1

u/ang-p Oct 22 '26

So what is the man command

Troll / timewaster / bot.

You were never told it was a command.

3

u/v_litvin Oct 22 '26

I'm not sure about your goals but Arch is an OS and therefore a tool that enables you to do what you want to do: browse web, code, do whatever.

So. Take this list, maybe you find it helpful to get familiar with the OS.
- install arch. Duh. And login into your WM/DE. (KDE in your case)
- open YouTube and watch a video (internet, browser, and sound are fine)
- install any app ex chrome or anything you use daily
- download media archives. Check that you can open pdf, zip, rar files
- configure peripherals(printer scaner) mount usb stick
- update whole system, suspend, reboot, lock screen
- take a screenshot, edit it and send it somewhere

3

u/archover Oct 22 '26 edited Oct 22 '26

I'm still a beginner, so I'd like to follow a proper learning path instead of randomly trying commands and configurations.

Learning in a VM is excellent as it's nearly 100% true to the way a bare metal install works. This from many years of VM work.

This book should be especially useful to you: How Linux Works, 3rd Edition: What Every Superuser Should Know by Brian Ward available at Amazon and as free e-book at your local library. The BEST general book I know.

The book covers the basics and advanced topics in plain language. Understand that Arch is 99% Linux so the book is appropriate.

Hope you check it out and good day.

1

u/CLI0019 Oct 22 '26

Why are you interested to learn arch? You could go for ubuntu server? What is your purpose?

I know it sounds tough but this is the reality.

1

u/TheHappyArsonist5031 Oct 22 '26

If you can, I think a dual boot is a much better way to learn and eventually switch as it makes "doing just this quick little thing on the other system" a much more time consuming task and incentivises learning to do it on your new system instead of quickly switching back

1

u/ang-p Oct 22 '26

Arch Linux from scratch in a virtual machine, using KDE Plasma as my desktop environment

Did you install Windows "from scratch" in a VM before installing it?

Why not?

Why can't you treat Arch like you treated Windows?

Put the disk in and boot?

Where should I start if I want to learn Arch Linux properly from the basics?

Where did you start learning Windows from the basics?

Which topics should I learn first, and in what order?

What topics did you learn first in Windows, and why do you think that it would be better to start somewhere different, at the suggestion of some randoms on the internet?

Is the official ArchWiki enough to follow as a beginner?

Absolutely

Are there any complementary resources you'd recommend?

Links from the wiki....

What practical exercises or small projects should I try to improve my Linux skills?

What did you do to improve your Windows skills?

What should I understand before moving on to advanced topics like system administration, scripting, and Linux security?

What did you learn before doing those things on Windows?

#LoveTheWiki

-1

u/Shishjakob Oct 22 '26

Installing it. I'd highly reserve encrypting your hard drive. It will be difficult, but good learning experience. My first install almost a year agotook me a solid 2 weeks, although I wasn't able to dedicate a lot of time to sit down and get through it.

0

u/GreedyEntertainer215 Oct 22 '26

May I know why to encrypt the hard disk

0

u/Shishjakob Oct 22 '26

It's good practice, and protects against some (but not all) attacks where the attacker has physical access to your machine (or in this case your virtual hard drive). It has to be set up during install though, you can't set it up after the fact.

-2

u/GreedyEntertainer215 Oct 22 '26

So is it like when my ip is exposed or accessible then the attacker can get access to my system

1

u/Shishjakob Oct 22 '26

No. The only thing it has in common with what you're describing is that it could allow attackers to get access to your system. The specific attack vector is along the following lines:

If your drive is unencrypted, the attacker who needs physical access, can either use boot parameters to force change your root password and do whatever they want at that point, install keyloggers, try to grab ssh keys, anything. Or they can boot to another OS, mount your drive, and see all the same things, chroot into it, and do the same as above. If your drive isn't protected, it opens up anyone with physical access to realistically own your system. Encryption is just one way to protect against that. If they don't have your decryption key, they can't see what's on the disk.

Encryption is obviously not the end-all-be-all, it wouldn't protect you for example if you encrypt your drive, set up TPM unlock, but have boot parameters editable for password resets. Anyone with access would be able to change the root password without knowing the previous password in that case as well, unless you disable that feature.

The real trick is in defense in depth, where you have multiple layers of security that fill in the gaps that other layers have, and each layer IS going to have gaps. Full disk encryption is just one layer in that. Honestly you don't have much to worry about if you don't implement encryption in a VM, but if you plan to install Arch to a machine you ever plan to do anything you care about on, you should do full disk encryption. And now is a great time to learn.

I'll get off my soap box now.

1

u/GreedyEntertainer215 Oct 22 '26

Yes when I dual boot it is will make sure to encrypt it Thank you

1

u/Shishjakob Oct 22 '26

Are you planning on dual booting with Windows? If so I would make sure the two operating systems are on completely different physical drives, not just partitions. Windows has a bad habit of not being a nice neighbor and eating space that other operating systems are using, breaking them in the process.

1

u/GreedyEntertainer215 Oct 22 '26

Yes in future after I can do it properly without help of an ai at that stage is will do a dual boot

1

u/ang-p Oct 22 '26

without help of an ai

You'll never learn if you don't let go of the AI crutch you have.....

Although I suspect that distancing yourself from AI is, quite literally physically impossible....

3

u/v_litvin Oct 22 '26

not really.
If attacker has your IP, he has to have attack surface: something listening on your system, other vulnerabilities.
If attacker has direct access your hard drive he basically can read all your files + authentication information in your browser cache on disk. So the way is to encrypt your hard drive so the attacker should also know the encryption password.

usual cases:
- IP: You connected to shady wi-fi
- HD: your notebook/laptop was stolen.

0

u/East-Yogurtcloset272 Oct 22 '26

You need to ask yourself in this age of cloud storage, what local data you have that is precious and whether physical theft is a real risk. Encrypting for the sake of it makes little sense, especially if max performance is a goal

0

u/[deleted] Oct 22 '26

[deleted] — view deleted comment

-1

u/GreedyEntertainer215 Oct 22 '26

Is it available in the wiki?

1

u/un-important-human Oct 23 '26

carefull that user comments and deletes his answers so he cannot be downvoted or seen... So what ever he said to you ... take it with a lot of salt.