Skip to content

New To Linux

Hello everyone,

I’m not sure where else I should have posted this, I’m not a normal Reddit user. This is one of my very first posts.

Anyways, I want to ask all of you where a good place would be for a beginner to start learning Linux. I’ve been a Windows and occasional MacOS user, but I’ve never done much with Linux. I’ve been really curious on learning how it all works, but I have had no luck. I have been trying to self teach myself Linux for about a year now, but I cannot figure it out for the life of me. I’ve read a few different books on Linux but as soon as I get into the Linux environment, something is bound to go wrong. I really would like to learn, and I have been really set on learning Arch Linux.

I’ve tried some “pre-build” (Not sure of the correct terminology) Linux distros from Manjaro and they work alright, but I feel restricted and not knowing anything. I’m navigating the Linux world blind and have no idea where to go or where to start.

I’d appreciate if any of you could share some experiences you’ve had in Arch or how you even began learning in the first place (since we aren’t born knowing anything).

Thanks!

61 points37 comments
Open on Reddit
About this post
Posted
Archived
Score
61 · 100% up
Kind
Text
ID
e73tx7

Author

1
posts
3
comments
0
media
View profile

43 comments

Hmm, thinking about how I learned linux, I guess I just kinda googled everything. Every time I had a problem, or wanted to do something, google. Repeat a few hundred thousand times and I guess I know linux now.

For arch linux in particular, they have an amazing wiki. There is a very well-written install guide and I recommend reading it front to back both before and during the install.

59 points

I will definitely look more into their Wiki! I think my issue there is sometimes I don’t know where to go next but I’ll just read it as I run into issues as well.

Thanks!

13 points

A good way to learn is to install archlinux in a virtual machine. That way you can test and fiddle around without any fear of screwing up.

14 points

It's one of the most important aspects of Arch. Not only Arch though. Back before I switched, the Arch wiki solved many, many problems I ran into on other distros. Not always a 1-1 translation, but extremely helpful, and well written.

Also, to add to the above comment...

You can really learn a lot if you just dive in deep and don't look back. One of the best options is if you have an extra PC around (old is fine) that you can experiment with. You can also install it on a Raspberry Pi, so for about around $35-$100+ (depending on whether you already have a monitor or TV with an HDMI port, keyboard, and mouse), you can experiment all you want.

Personally though, I started with dual booting. I just really tried to keep in mind not to destroy my main OS partition. As long as you don't format that partition, or mount it and mess with files, you should be good.

Something to keep in mind, and something that took me too long to realize (which is why I hesitated to install any form of Linux for a long time), is that once you know what NOT to touch and mess with, you really don't have anything to worry about. Honestly, pretty much everything can be fixed if you break it, and it's fixing those things that will really help you learn.

3 points

I second then advice of installing on a virtual machine.

This way you have easy access to a computer that already runs correctly and access to the internet so you can Google anything you're not sure of. Also, if the worst-case scenario does happen, all you've lost is a virtual hard drive and not a real one!

1 points

This, googling is the way to go. But make sure you limit your searches to results in the past year. It's more of a problem in other distros, particularly Ubuntu, but a lot of search results bring back outdated info that just isn't applicable now. If 'arch' is in your search terms, the Arch Wiki is going to be the top result 90%+ of the time (which is no bad thing)

8 points

As a side note, I just returned to Arch today after a longish while, and have to say that the install was way bigger pain in the ass than I remember it being before, with manually configuring a bootloader and creating some damn EFI partition for reasons I don't really understand.

Maybe my memory fails me, but remembered Arch being simpler to install.

0 points
unknown author

Deleted before we saved it.

30 points

I like to break the different linux components down with a top down approach. You might find that doing so may benefit you greatly.

For example, the distro you use tells you (among many other things) what package manager, and init system you are using. Now you have something to research. In your case, how well do you know how pacman and systemd work? Here's a fun question: why would you want to create and enable a service as opposed to running a script on startup somewhere else?

Next, you can look at your desktop environment, does it use wayland, x11, xorg? Where does it store your preferences, and how can you edit them without a GUI tool? What does .XResources do for this particular desktop? What parts .XResources get ignored?

Do you know what greeter you use? Which compositor? What program or commands do you use when you modify your wallpaper/root window? Try different things. Sometimes you won't know the name of a different app/command/script that does the equivalent function. Google can help you by typing vs. For example, I used to change my wallpaper via nitrogen. I didn't know any other program that could do that so I simply typed "nitrogen vs " into google and it led me to feh, which I use now.

Trying things out this way has helped me tremendously as I not only learned the system I was working with, but inevitably ending up learning tons about the underlying systems that run my computer. Then you can try different desktop environments. This will show you how a desktop environment is just a layer on top of your distro.

After that, you can try other distros and see what changes or stays the same.

Above all, just don't be afraid to experiment with things you don't know. Have you set up any cron jobs? Maybe you can try creating a new user and play with permissions. What happens if you create a folder that the user doesn't have access to and a folder inside of it that he does? What if the user is part of a group that has access to it?

This is all assuming that you have a handle of the command line since you mentioned that you read some linux books, if not, go do that first!

That's just my two cents. Stay inquisitive, my friend, and don't forget to have fun!

20 points

Arch is great for learning, but be prepared to fail a lot and succeed a lot, both without immediately understanding why.

Different distros have their own quirks and the guides for one might not work on another, and old guides may not work at all.

If you're like me you'll find you pick it up periodically then rage/frustration quit regularly too. I still go back to MacOS for work because I trust it to just work more, even though my home laptop is arch and my home server has many Linux VMs on it.

10 points

I can truly relate to this. I didn't really understand that most things could be fixed in the beginning. I think I installed Arch 10-12 times over a few days originally. Things either weren't working, I did something wrong with the installation, or I broke things trying to customize them. Don't get me wrong, I loved every minute of it, but once I had a grasp on troubleshooting issues and using the wiki, it completely changed everything.

Two years later, it's a very different story. I just built my first desktop a few weeks ago, and from finishing the build to a running Arch installation with a desktop environment, most of my normal customizations, and almost all of my normally used packages, it took about 45-60 minutes. The installation of Arch itself was maybe 15 of those minutes (no partitioning, just EFI and root).

3 points

Arch is great for learning, but be prepared to fail a lot and succeed a lot, both without immediately understanding why.

THIS IS SO TRUE!

1 points

I think the best advice anyone could give is this, don't give up, and always reference the wiki, The Arch Wiki is an information gold mine. And the installation guild has everything anyone should need to install Arch their first time. Have patience though, and again don't give up. It took me a good 16 hours (time split between two days) to install Arch flowing the wiki guide the first time. Now it takes maybe an hour to get things operational. I own that to the wiki. It doesn't just say "Do this, then do this" It give you details, helps you learn, "Do this, the reason you are doing this is because X, after that, check this, if its like this that means you need to do this"

If you stick with it, and be patient you'll have a very rewarding experience.

EDIT: https://wiki.archlinux.org/index.php/Installation_guide Should link you to the relevant docs, oops.

10 points

What were the restrictions that you found in Manjaro?

4 points

Wanted to ask the same. Manjaro is more or less Arch with a nicely toolkit put together. But you can take apart all the preinstalled stuff and install something else :) The only difference is that Manjaro repos test a bit more for compatibility and so release a bit slower. But the way it works should be the same.

1 points

There is the Linux from Scratch Project http://www.linuxfromscratch.org/

It is a step by step guide how to setup a linux system from the sources. You will learn a lot about Linux by doing this e.g. in a virtual machine. Of course its a lot of work.

I would not recommend to use the resulting system as your main OS, but installing Arch after that will be incredibly easy.

4 points

This might sound a bit vague but to properly answer your question it might help to tell us what you think having learned linux would look like to you.
Does it mean using a linux desktop day to day? Does it mean getting a sweet /r/unixporn setup? Does it mean becoming a command line wizard?
Based on that I there's more specific advice we can give you.

As more general advice though, I think the main thing to get to really understand how linux works is that it's deeply rooted in the Unix philosophy (TL;DR it's incredibly modular).

Windows and especially macOS are presented as one package, a whole ~experience~. On Linux, every single bit is really a "small" program that is separate from other software.

The program that gets you from the BIOS to the bare linux kernel is separate from the program that gets you from the bare linux kernel to a working environment.
The program that underlines the graphical interface is both different from the program that manages what to show on that interface and the program that creates an audio interface.
And so on and so on.

So rather than seeing linux as this monolithic thing you should really see it as various different programs that work together to create the desktop you use. And each individual piece of software can, in all likelihood be replaced without impacting the other parts too much.
This means that even the distributions that do all the installing for you can, with some work, be changed to match your tastes.

With that in mind; you won't be expected to understand every individual piece of software head to bottom, but if you don't like a specific aspect of your linux installation, like say, the desktop environment1, you can change it.
And if you run into some kind of problem with something it's also important to know which aspect that falls under and which specific program is responsible for handling that, and to specifically mention that in your searches or questions to get more accurate results.

Hope this helps, and if you have any more specific questions or comments let us know.

1: often a point of contention

2 points

In any distro you can learn as much as you want to. Why I think Arch is great for someone relatively new - is that Arch by its nature forces/motivates you to learn certain things.

1 points
unknown author

Deleted before we saved it.

1 points

What are your reasons for learning linux? For me best way of learning is by doing, so maybie you want to run some game server or build webapp - do this using linux, and you will learn it.

1 points

Manjaro is a fantastic place to start. The best way to learn is the same way as with anything else: do what you're comfortable with and that little bit more. Manjaro has brilliant GUIs for everything, just pick some stuff out and learn to use the terminal for it. Try to make some stuff you would like work. Trying to learn everything at once doesn't make sense - it's too much. Just learn as you go along. If you notice you are using the terminal a lot then installing arch will be easy.

1 points

My kids loved some of the silly noises of the background items on the pages. We had so much fun with them!

1 points
unknown author

Get comfortable using a terminal emulator. Try to avoid graphical applications if possible, especially for managing packages. This is not specific to Arch, but getting comfortable in the terminal is paramount to developing proficiency, and will suit you well for a lifetime.

1 points

Archwiki is a go to,with arch you have a lot of choice in your customization but I personally started with arch Linux after installing Ubuntu for about ten minutes. My first install took a little longer than I'd like to admit lol but using arch and just customizing it teaches you so much about Linux. My advice would be start with a simple gnome or kde setup after you manage to get arch installed. Read beginners guide carefully to install, it ends up being a lot simpler than it seems. Learn terminals aren't intimidating. If I wanted, I could live in a terminal now. To me that sounds like hell on Earth but hey some people like it, and it's easier than it sounds. Man pages are good thing to learn to use, when programs have them properly written.

Things to learn about are pacman, Arch's package manager you'll be using to install software. This is important.

Then for some things you'll want to start to learn how to use the aur where you can find stuff that isn't in the official arch repos but are rather user uploaded PKGBUILDs. If none of that made sense, don't worry, it's something that will start to make sense as you use Linux. The arch wiki can seem esoteric at first, but once you understand the jargon you realize how it's such a great repository of info on everything from why isn't my Xorg working to somewhat niche things like my favorite window manager herbstluftwm.

1 points

If you're a beginner, go with an Ubuntu flavor. Arch isn't the "end of all distros" and installing it is just following instructions on the wiki.

1 points

I’ve read a few different books on Linux

That is probably where you went wrong. The way to get comfortable, is to just jump into using it for everyday tasks. You don't have to go all linux right from the beginning. Start using it for browsing and light tasks, and just go from there at whatever pace you feel fine with. There is no rule saying that you have to master everything about it. You do you.

If you have absolutely no idea where to begin, do so with the most popular starting point: Ubuntu. Whenever you land in trouble, search for issues on AskUbuntu.

1 points
unknown author

Deleted before we saved it.

1 points

The best way to learn Linux is to use Linux daily. It somehow forces you to solve your problem either googling or reading documentation when problem arise.

However, if you want to know more about how Linux works, you can always seft-study on Operating System or Linux Kernel. There have some great books that you can search online.

Anyway, wish you good luck on the Linux journey!!

1 points

@Hernandez:

You will find lots of suggestions here, and it'll probably be just as overwhelming as what you have already experienced.

My advice is to watch YouTube videos, specifically searching on basic introductions to Linux. There are tutorials on how to do just about anything you want to do in Linux on YouTube.

If a picture is worth a thousand words, a video is worth 60,000 words a second!

1 points

I use Arch and Void. Arch Linux, is the far best if you want to begin dig deeper, have fun, experiment. You can choose Gentoo and LFS too, but a source based distro will be much more work, although you can go much more in detail i suppose. But all in all doing LFS Arch seemed to be better learning experience for me. Linux philosophy is more like finding what your personal like, but most will say that Arch gives a darn good learning experience. It's Wiki everybody knows about. I think you will feel at home.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.