I currently use Windows 10 and I’d like to try out Linux. My plan is to set up a dual boot with OpenSUSE tumbleweed and KDE Plasma. I’ve read so many different opinions about choosing a distro, compatibility with gaming and Nvidia drivers, and personal issues with the ethos of different companies like Canonical. I value privacy and I’d rather avoid a Linux distro that’s implementing something like ads or telemetry…if that’s even a thing that’s happening?

As a complete beginner, what sort of advice would you all have for me? Should I avoid OpenSUSE or KDE Plasma for some reason? Are there any ‘10 things to do first when installing Linux for the first time’ recommendations?

Despite all the ‘beginner friendly’ guides and tutorials around, I still feel a little lost and like I’m going into this blind.

EDIT: Thanks to everyone who’s offered advice, I really appreciate all the help and the patience with my dumb questions! There’s a lot to look through and it’s been a busy day for me, but I’ll get back to reading through everything and replying as soon as I can!

You are viewing a single thread.
View all comments View context
1 point

Is a home directory similar to the users folder in windows, or like the program files folder? Is it ‘everything but the OS’? I’m still trying to get a grasp on how the OS operates conceptually.

permalink
report
parent
reply
8 points

Yeah - the home directory in Linux pre-dates the windows Users directory by a long time. You’ll see the multi-user nature of your OS exposed much more in Linux than you will in Windows.

Every user will have a /home/username directory on Linux (often referenced by “~” or by the environment variable “$HOME”). By default this is the only directory that user will have any permissions to create things (with some exceptions like /tmp which is used for temporary file creation - but nothing long-term). So all of your configuration, user-created files, etc. will be created there.

Configurations are often stored in ‘dot-files’ or in directories that begin with a period. These are “hidden” by default with most file-browsing tools (it’s just a tradition - there’s nothing otherwise special about files or directories that begin with a period). So you’ll have a .bashrc which is the script that runs when you start a bash shell for example. Or .local which is where you will find a lot of application configurations these days.

So if you copy /home/username somewhere you will copy all of your configurations.

Some applications will install there as well. Steam, for example, will install your programs under $HOME/.steam.

Things you install “system-wide” will be installed to /usr/bin or /bin. This will typically be things that you use a package manager to install. So the steam application may be /usr/bin/steam but then all of its configurations, installed apps, etc. go in your home dir.

If you’re curious where a command lives you can use which cmd or type cmd from the command-line and it will show you (something I often wish Windows had).

NOTE: There are exceptions to everything I’ve said above. But those are the “general” guidelines. In short - if you installed it without needing root permissions it’s likely somewhere in $HOME.

permalink
report
parent
reply
1 point

Thanks, that’s a lot of really helpful info.

What do you mean by this though?

If you’re curious where a command lives you can use which cmd or type cmd from the command-line and it will show you (something I often wish Windows had).

A command can ‘live’ in different places? And this might be a dumb question…but what is a command in this context?

permalink
report
parent
reply
3 points
*

This is the actually the thing same as Windows - in Linux you’ve got the which command, and it’s equivalent is where in Windows. Both do the same thing - find out where a program lives.

OP meant a “program” in this context. Both Linux and Windows have specific paths where programs typically lives. For example, in Windows, if you type “notepad” in a command prompt or the ‘Run’ dialog, it’ll search for it in known system paths such as C:\Windows, C:\Windows\system32 etc. These paths are declared in the PATH environment variable - which you may have encountered when certain applications try to (or ask you to) add their program folder to the PATH, such as say Java or Python. If a program is added to the PATH, typing ‘java’ or ‘python’ from anywhere will automatically launch it, so you don’t need to specify the full path or the program.

Now whilst this is convenient, sometimes it can cause unwanted issues. For example, say you installed some other program that uses a specific version of Java or Python, and it installed that version in your system, and added that folder to the PATH - now when you type java or python in a command prompt, you wouldn’t know which version you’re executing. This is what OP meant by a program living in multiple places. As you can imagine, this can now cause issues, and can even break some scripts expecting a particular version of Java/Python etc and some other version is being picked up. This is where the where command in Windows comes in handy, as it tells you where exactly that program is located. And it’s Linux equivalent is which.

So at least in this department, the behavior of Windows and Linux is virtually identical. :)

permalink
report
parent
reply
2 points
*

The home directory is like the Windows users directory, yes.
In the shell/terminal it’s represented by ~ or $HOME, it’s path is likely /home/$USER/
First / = Root
$USER = current user account you’re using.

You should check out this Arch Wiki page & this Arch man page.
Don’t worry it’s pretty distro agnostic.

permalink
report
parent
reply
2 points

Essentially, yeah. Most programs will install to your root directory, but all your personal configs and personal files will be in your home directory.

What I’d personally recommend is using Timeshift to automatically keep backups if your home directory on a separate partition, then if you want to switch distros or if you need to reinstall for whatever reason you can use Timeshift to restore your home directory pretty easily, as long as your new install uses the same file system.

permalink
report
parent
reply
2 points

Timeshift was designed for system snapshots not home files. You can force it to cover home but it’s better to use BackInTime which was designed specifically for home snapshots.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 172K

    Comments