I've wanted to go over to Linux for a long time but I have no idea how to go about it. I hear about incompatibility problems with hardware and all the different options for different Linux OS's and that's it, I forget about it for a while to avoid the headache.
So where do I start? I don't even know how to choose hardware or what to look for. The number of options with Linux makes things a little confusing.
And although others here have answered the question before, I'm unsure what I have to do to stay 'safe' on Linux. Are there extra steps or is it just the standard, don't open dodgy links and turn off Java script in the PDF viewer kind of thing? Does Linux come with a trustworthy firewall/antivirus/malware detection? Is there a chance of Linux e.g. sending my passwords, etc, to someone or just letting someone into my harddrive? I hear that 'open source' means people can check the code but how do I know if someone has checked the code—I wouldn't know what to look for myself.
I followed the Linux subreddit but the users the can be rather… enthusiastic, which is great, but I need something far more basic to get started lol.
Is there a good step-by-step guide somewhere? Or can anyone give me some pointers/tips/advice?
I mainly browse, type, and read pdfs and other text files. No gaming, although I wouldn't be opposed to it. No need to be mobile; laptops are terrible for my back so I always use an external monitor, anyway, so I won't be using it 'on the go'.
Edit: Thanks for all the advice. I got a machine up and running from a bootable USB.
Any others who read the comments here because they're interested in trying out Linux – if you have Windows installed and want to keep it on your HDD/SSD, partition your drive within Windows. Then boot from the USB. You can partition your drive (and keep Windows) from the bootable USB but it's a bit more complicated and it makes it harder to create a swap partition and a storage partition. I had to go back and forth a few times to figure this out.
I switched to linux less than a year ago after using winblows for most of my life. I found Fedora to be really easy to start with. It's a good mix of stability access to new versions of stuff. KDE plasma is a really good all around desktop environment and easy to adjust to if coming from windows. I'm sure others will chime in with other distro/DE suggestions.
I'd give you more advice, but I still have a lot to learn about linux. I won't be much help with hardware either because I only know about hardware leading up to when I build a PC; I forget most of it shortly afterward.
The fact that you've jumped ship and don't want to go back is advice enough! I think I'm going to give it a go.
It's amazing how much we can learn about something for a specific task and then forgetb almost all of it almost immediately after. I recently did some tiling and I got quite good and quite quick by the end. If I ever come to do any more tiling, I'll have completely forgotten all the little tricks and the first few tiles will go down wonky and slow.
The situation regarding hardware support has improved massively in the last decade. The only components you may find don't work on a regular basis in a device are the WiFi, Bluetooth, and RGB controls (though these circumstances have also improved massively). I'd recommend installing it on an old computer instead of buying new hardware, as it will most likely work out of the box without you needlessly spending more money. Anything with more than 2GB of ram will likely run fine.
Security and Privacy
There is relatively little to due regarding security. It goes according to the standard don't open dodgy links and the like you previously stated. Furthermore, not only do you not need to install an anti-virus, I don't think any exist for desktop use. Most Linux distributions come with a decent built-in firewall. There is little to no chance of a Linux distribution sending passwords or other credentials anywhere, or granting access to your HDD contents. Most mainstream Linux distributions are regularly checked by various auditing teams, so that is of little concern.
Distributions
A distribution is mostly just the array of software installed around the base system. Some may be better suited to certain needs than others, though (almost) all may be modified to meet a given need. For those not familiar with Linux, I usually recommend Linux Mint for its Windows-like interface, abundance of pre-installed tools/applications, stability, and ease of use.
Applications
Browsing the web:
Firefox - Often installed by default, it is compatible with all major web standards (existing and planned.)
Chromium - The base for google chrome, for those unable to give it up.
Document Editing:
LibreOffice - Supports all major document formats, is preinstalled, and powerful in what it does. May mangle complex formatting on Microsoft Office documents.
Google Office - If your already in the ecosystem, it's one less thing to change.
Incompatibility problems with hardware? Nvidia isn’t great but it still works. What hardware do you have?
Have you used a virtual machine?
I would recommend Ubuntu because there is the most help for it available online. Googling questions with “Ubuntu” at the end of it will yield better results than other distributions but your mileage may vary. There are plenty of other options but Ubuntu is the most straightforward, and if you don’t like it you can try something else.
If you want to install it on your hardware you should look up “How to make linux live USB”
I don’t want to be rude but I feel like you’re overthinking the whole thing. If you want to play around with it just look up “how to make a linux virtual machine” and that will show you how to make one without losing your files.
If you want to use it as your main operating system you should make a backup of all your files first. Just throwing them on an external hard drive should be sufficient in most use cases.
Let me know if you have more specific questions, I know I didn’t answer everything in your post but feel free to let me know. I’m not a Linux power user or someone who works with it for a living but someone who made the switch 10+ years ago and has gotten by as a regular user pretty well.
I might have a 2010 MacBook Pro somewhere if that turns on. Otherwise, I'd either look at buying a machine or I might be able to get my hands on an all-in-1 computer that will probably 'break' with the next Windows update.
I don't rely have old machines as I mainly use work computers. If I have anything in the proverbial attic, it would be ooold. Circa 2003. I had two machines between then and 2010 but one inexplicably fried itself and the other was stolen.
I've not used a virtual machine. The bootable USB might be more straightforward for me?
You're not being rude. I accept that I'm overthinking it. It's partly because my main strategy for staying safe online has been to distrust everything lol. And partly because I don't want to fork out for a machine that doesn't work. Tbh I'd be willing to buy something cheap-ish to use to play with before I commit to a faster machine as I could give it away to someone who needs it for school once I've done.
But my impression was that Linux only works on certain hardware and with factory-sold setups being what they are nowadays, it's not been clear how I would resolve an issue if one component didn't work. You did say that I was over thinking this!
Okay a 2010 MacBook does make it more complicated. That’s pre retina though so it might be okay, but on a laptop Linux gets harder.
I never received a notification for this message, I apologize. You should definitely be able to use a USB yourself, https://etcher.balena.io/ is the software to make it when you choose your operating system.
I would look into a virtual machine first to try it out. It will be shockingly boring once it’s up and running and it’ll be slower than if you installed it on your hardware. Try out https://www.virtualbox.org/
You should do what’s within your budget for buying a computer, I wouldn’t recommend anyone buy something they can’t justify. It helps to know what hardware you have instead of using an all in one setup but there are other people who have used those setups and you may be able to find help more easily. It can be a toss up.
I’ll give you a more proper response in the morning, sorry I missed this! Still learning Lemmy
I hear about incompatibility problems with hardware
This only gets better with time. When Windows Vista was released, Linux actually supported more hardware than Windows did, because it never had a comparable break in driver compatibility. Nowadays, unless you are buying bleeding edge hardware which just hit the market within the past month, just about everything works. Typically, once a piece of hardware is supported by Linux, it will remain supported until everybody who knows how it works dies. Linux may suffer with bleeding edge / niche hardware, but it shines above all others in keeping that hardware useful, even when there is no market incentive for the manufacturer to continue support.
You will run into problems here and there, but the grass isn't much greener on Windows where I have also experienced problems with oddball hardware. The only saving grace for Windows is if you buy a computer that ships with Windows, all the drivers will be installed. If you download the installation media directly from Microsoft, you end up in the same boat of having most of the hardware working, but having to tie up loose ends yourself.
So where do I start? I don’t even know how to choose hardware or what to look for.
I'd look in your closet for some old computer that you stopped using. Try it there first. Nothing to lose. If you don't have a heap of e-waste lying around, start with something inexpensive to learn the ropes, or try installing it on a virtual machine like VirtualBox. In general, just about any computer in the world will run Linux. You might just run into issues with oddball things like fingerprint scanners or wierd sensors (i.e. some laptops use accelerometers to stop spinning the hard drive if you drop it).
I’m unsure what I have to do to stay ‘safe’ on Linux.
This is easier to do than anywhere else. Linux comes in the form of "distributions." The distributor hosts a package repository, and you get all (well, 98%) of your software from that repository. This is different from Windows, where it is typical to download individual applications from all corners of the internet. As long as you trust your distributor, you are generally solid as far as safety goes. The only risks come from installing third-party software - but even then - you just apply the same logic as on Windows. Where is this program coming from? Do I trust this person / organization? etc.
The default settings are intended to be as safe as practical, and the various manuals and tutorials out there will warn you about doing stupid things. It usually requires manual intervention to make things unsafe.
Does Linux come with a trustworthy firewall/antivirus/malware detection?
It is rather uncommon to run antivirus software on Linux. This is typically only done on servers (for instance, a mail server screening attachments before forwarding them along to end users). You can install ClamAV, but this is redundant if you are getting all of your software straight from the distributor. In my humble opinion, antivirus software is a poor approach to security. Once a computer is infected, nothing on it should be trusted, including the antivirus software. Antivirus software is more appropriate as a data recovery tool than a prophylactic.
There is a firewall is built in to the kernel in the form of iptables or nftables, and there are some GUI programs for adjusting them. Again, a firewall isn't typically necessary unless you are running servers which listen for incoming connections. Typically, having your computer behind a router is sufficient. Unless your router is configured to forward incoming connections to your computer, those packets will be dropped there. Firewalls are more useful as a redundant method of making sure something like a database server, which is also configured only to accept connections from local processes, doesn't accidentally get misconfigured and accept connections from the open Internet.
I hear that ‘open source’ means people can check the code but how do I know if someone has checked the code—I wouldn’t know what to look for myself.
This is a valid critique. There certainly have been times where this assumption has turned out poorly. Still, it is a better situation than completely unverifiable proprietary software. At the very least, contributors to the individual pieces of software are looking at it, as well as the distributors which need to build and package it. There are a few layers of review taking place, even if they don't quite reach the level of a full audit.
TL;DR: If you are just using your computer for casual web browsing and shit, try out Fedora or Ubuntu. The installation media boots to a functioning desktop, and you can try things out and see if they work before committing to installing (this is not true for all distributions though).
Thanks for this reply. With this and others' comments, I'm much less concerned about security now. I was previously under the impression that Linux was a lot more bare bones and a lot less 'finished' than it is. That's a lifetime of Apple and Microsoft marketing propaganda for you.
I'm getting the impression that it's quite easy to switch distros. If I do switch distros, do I need to start again every time or is there a way of saving my files?
Most people split their hard/solid drives into, say, 10% core Linux, 10% Windows, 60% actual storage, 20% system stuff, like swap files, bootloader, etc
So when we decide to change, you only format the core Linux partition. You can also have multiple installations at the same time and alternate between them by restarting the computer. That's usually under the umbrella of "dual-boot".
It's a beautiful rabbit hole, isn't it?
Depending on how much of your windows parititon you use, the Ubuntu Live USB can move all the files to the same section of your hdd/ssd and create a small partition for Ubuntu (I think it needs 50gb), the swap memory(equal or slightly higher than your ram) and the bootloader (1 or 2gb is more than enough).
linux mint is a good choice for beginners...it's pretty compatible with everything windows is, later you can "distrohop" to find something more to your personality
I personally have 2 Linux distros alongside Windows in my computer, I suggest you don't remove Windows just yet since you probably will need it until you have everything set up on Linux, and there are some programs and games that will only run on Windows.
If / when you install Linux on your PC, I think it would be a good idea to look into how to make a dedicated /home partition (/home is the folder where all the user folders are) so if you want to try another distro you can still access the stuff your user had in the distro you were using before.
Though making a dedicated /home partition is not very straightforward if you've never done it before. However I'm sure if you ask around here people will help you.
Perhaps it would be cool to make a masterpost on this community explaining some basic stuff about Linux. I could probably do it but I would need help from more experienced Linux users to proofread the stuff I put there, as I don't want to post misinformation.
Thanks for responding. I've created partitions on windows, osx, and external drives before, so if it's a similar process, I can try this with Linux if I have the space.
So do you have a partition for Windows, a partition for each of your distros, and a home partition that you can access from either distro?
Intel and AMD is where to start with hardware since those companies contribute drivers directly to standard Linux. Nvidia stuff will work but you may or may not have to jump through some hoops and potentially run into issues down the line. With Intel and AMD, hardware should (in the vast amount of cases) just work with no need of installing basic drivers. AMD and intel have opened a ton of their core driver code which is something Nvidia is starting to do slowly but time will tell if they go all the way. I hope this helps, message me for more help if you need it. Good luck.
Linux is way safer than Windows because barely anyone targets it with malware. As far as safety goes, the main thing is to try and understand what each copy/pasted "sudo" command does before running it. Sudo means "super user do" which gives admin privileges to the commands you are running in command line.
I have never had any malware on any Linux machine I have run. If you're worried because of your threat model (government, hackers, etc), staying within the main built-in repositories will keep you safer.
Things that are community or user-run (RPMfusion, Ubuntu PPA's/Personal Package Archives, AUR/Arch User Repository) are slightly more vulnerable to malicious activity of the kind you're describing, although I have never had a problem trusting them.
So the sudo line is another potential opening for malicious activity. That's useful to know as I had thought the terminal was more 'internal' from what I knew about it. Is this the equivalent of opening unknown executables or 'worse'?
sudo is just running things as root, which is an account on every Linux system that has permission to do everything. The dangerous part is running a sudo command if you don't know what it's doing, because using the extra permissions, a command can do things like delete your files, break your system, install malware, etc. sudo itself isn't going to do anything bad, but the command it runs could.
Do you have an old laptop lying around? That's a great way to try out Linux without wiping out your main system. Most hardware, especially if it's a few years old, has excellent support in Linux.
There are antivirus programs for Linux, but I wouldn't recommend it. First of all malware targeting Linux is so much more rare than malware targeting Mac or Windows, but also Linux has some better security practices in general, like not requiring you to run everything as administrator. Most distros will come with a firewall installed that you can configure if you want.
Linux is one of the most reviewed pieces of software in the world. It's used by every major company, and in almost all of the Internet servers you visit. The chances that it's exfiltrating your passwords is extremely low. Linus has even discussed in an interview that the NSA proposed to put a backdoor in Linux, but he refused.
To get started, I would recommend just installing a beginner-friendly distro like Linux Mint on an old laptop or desktop you have lying around. It's actually super easy to jump in, and you'll learn a lot more by actually trying it out compared to reading some beginner guide.
Good luck! I've been using Linux as my daily driver for over 10 years now and I would never go back to Windows 😀
I think my most viable option is an all-in-1 machine that I might be able to get my hands on soon.
Otherwise, I'd be buying or building something if I could do it cheap enough to start with.
That's reassuring about the built-in security. I think that's what I needed to hear to jump in. So it's safe enough for internet shopping, email, that sort of thing?
grab your computer (laptop or desktop pc, doesnt matter)
install virtual box or vmware (doesnt matter which tbh) on your computer
go to the ubuntu homepage or linux mint (or if you wanna get more involved look for other beginer friendly distros, pop os is good for that too)
after you download the distro you chose, install it on the virtual machine (theres youtube videos for this and help across the web)
try it out for a while, its possible you run into issues that only exist on the virtual machine, this isnt too bad, spend some time just getting used to it
Most of the time, you don't really have to worry about hardware compatibility, especially if you are using desktop. There are some things that work better than others (like AMD GPU as opposed to Nvidia) but in most cases both are fine. As others already suggested, probably the easiest way to get started is to just grab a USB drive and put Linux on it. You can then boot onto it and play around in that installation, also with this you can check that your hardware is compatible.
Other than that, I would recommend just trying it. Look into distros already there are some good suggestion with Mint, PopOS, Fedora. Try different Desktop Environments (basically how everything looks) there are two major ones KDE and GNOME and some other ones. Try them and see what works best for you. Overall, I wouldn't worry about it too much, especially with your usage any distro should work for you.
Am I right in thinking that booting from a USB is temporary, just to have a play around? Then once I've decided, would I wipe the harddrive and install to there? And would I just copy the data from the USB or start again?
Yes, it is only for playing around. Basically, it is a fully functional environment that can also be used to install it on your computer. So when you are done playing around, you can just use it to install it to your computer. It will be a fresh installation with no changes you made during your time playing with USB installation. Most distros nowadays have nice graphical installer, so you can do what you want with your hard drive, wipe it clean, install it alongside your current OS.
If you're new to linux and want to stay safe I have a couple of tips:
Never run commands you don't understand. Research what they are doing before you run them. Try to become used to doing everything from the commandline. It may be daunting at first, but it helps understanding what the GUIs do and hiw to fix things if they break.
Use the packagemanagement of your distribution where possible. For example in ubuntu use the "apt" command to install software from the commandline or the software center to install them from the GUI. I'd avoid .deb files from random internet sites as installing them is the equivalent of installing random .exe-s on Windows. It could be safe but you don't really know for sure. tar.gz-files are the compressed source code of the application so while technically more transparent as a newbie i'd still avoid them.
Choose a widely used distro. Especially as a newbie it can be difficult do assess what's wrong. It helps if there are a lot of other new users googling the same problem.
To start I'd suggest Ubuntu on a Virtualbox-VM. Make frequent snapshots so you don't have to reinstall your whole system if you break something.
For most older windows only offline games someone usually has already created a bottle or made an installer on playonlinux. With online games anticheat might act up (I tried valorant and LoL, both didn't work)
Thanks for the tips! It's useful to know that types of new file types to become familiar with and watch out for.
Seeing as you mentioned it, where would one look for old games that are already bottled or would work with playonlinux? (Does that work like an emulator?)
Yes kind of. Both use wine. Basically wine is not like a vm where you simulate the whole windows os but rather the libraries your program needs to run translated to linux.
For the usage you describe really any distribution is fine. A distribution is like a style of linux. Mint, Fedora, and Manjaro are pretty easy ones to start with, just pick one and download the iso file. From there you can make a bootable USB drive where you can play with whichever one you chose, they will have instructions on any of their respective websites on how to make a bootable USB. The best part is that the bootable USB doesn't change your existing system until you tell it to, so at any point you can unplug the USB and boot back into windows.
Thanks for this. I've had some good answers so I'll definitely be back with more questions when I hit walls. I hope you all know what you've let yourselves in for :D
You don't have to install most Linux distros to try them out. You can run it from a thumb drive to see if you like that flavor of Linux. All you have to do is:
Reboot the computer, Ventoy will ask which operating system to boot, choose a distro
Check out the distro, reboot into the next one and do this a few times until you find one you like.
As for distros, the easiest ones to start out with are Zorin OS, Linux Mint Cinnamon, and Pop OS!
During the install, you can even choose to make a separate partition so you can keep Windows and dual-boot with Linux, then every time you start your computer it will ask what you want to run that day, Windows or Linux (note: Pop OS! Does not offer this option in its installer)
the honest answer re: any type of hardware and linux is to google it. I know that's not a great answer, but it's true.
Debian is an OS. The official release is Debian stable. You probably heard "vanilla" debian in reference to the fact that there are many linux distros based on it. The only updates are security updates. So some people that the software is older. But everything works.
I use a combo of stable and unstable (called sid). Sid is what the developers use. I don't have a problem with it, but it's not for first time users.