I know there is lots of guides and things because for clicks people like to write guides. However all the defaults on mint are sensible. You can pretty much install is stock and be done. You can use these guides if you want but they are optional. You can use flatpak, .deb, snap or whatever else you want to install things. I tend to use .debs when available and flatpaks as my backup. As a Linux user I haven't had to do all that much tweaking in years to be honest.
Linux
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
Half a dozen people said so already but I'll repeat :
backup your stuff.
You are like a tightrope walker on a high line without security. Sure the view is amazing, yes you feel free... but a misstep and that's it.
How? Well depends what your data is but start simple, copy your most important files, e.g. family photos, personal notes, etc (NOT HD movies from the Internet... not anything you can get elsewhere) on a USB stick you go stuffed in a drawer.
Once you DO have your stuff saved though, please, pretty please DO go crazy! Have fun, try weird stuff, bork your installation... and restart from a neat safe place. It's honestly amazing to learn, so deeply empowering for yourself and those around you. Just make sure your data don't suffer from it.
Downloaded the App Center (Snap Store) and I was surprised there was even a file saying to not allow it... why is that? Is it not recommended?
Use the inbuilt Flatpack '"store". Install what you jeed from there. occasionally you wont and you'll need to dable with the comand line. Installingng .Signal springs to mind
Dual booting with W ? W will fuck up GRUB (your dual booting sysyem) eventually. Run a Windows VM inside Mint instead
I swapped 2 years ago (moved to LMDE eventually from Mint though), and luckly i have no idea wtf I am doing.
Did you try dual boot with one drive? Windows will fuck that up.
If you have 48GB you don't need a swapfile. To min-max you could lower the "swappiness" so it uses swapfiles way less. It's just bonus memory that lives on the SSD. Swap files and swap partitions behave the same unless you run out of SSD space.
Linux system has better architecture than Windows so your system is safe unless you install a virus (of which there are way fewer).
Where you install programs? Just use the app store or terminal, the location doesn't matter.
The "hardening" is interesting though, you can go really far into security if you want. If things are installed in user-space it can't fuck with your computer on a fundamental level so it's preferred. You don't have to worry about it though unless your installing some niche programs from someone you know nothing about.
Don’t worry about swap, you’ll be fine unless you’re usually working with huge chunks of data like big 4k video files or something.
The firewall built into mint is the kernels included nftables the same one built into Debian and Ubuntu (I think, I don’t fw Ubuntu). It’s fine. Don’t touch it. When you need to mess with it you can figure out how to open ports or split routes or whatever really easy because there’s lots of documentation out there.
Putting everything in your home folder is fine. Programs will install automatically to /bin or /usr/bin or something like that and if you want them in your home directory you could make a ~/.bin/ directory and add it to your path and have your private programs there, but:
Stop using flatpaks or snaps unless it’s your only choice! You have a built in package manager with decades of testing and development behind it and a very capable team of maintainers who watch over the packages, use that instead! That’s why they say not to use the snap store, it’s a vector for using Joes Weird Program that no one has tried before and requires Joes Special Version of a normal system library.
Use your package manager.
You’re not at the point where you understand enough to do the stuff in the linux hardening guide without making decisions that unexpectedly cause you pain somehow. That’s not an insult, sometimes you just don’t recognize the “universal” symbols for engine oil as opposed to coolant and ruin your car by the side of the road because you just don’t know. You can learn that stuff later, but it’s best not to mess with it yet. Speaking of:
If you don’t have a backup solution setup and you haven’t recovered using it and aren’t periodically checking to make sure it’s still running right, turn off disk encryption. It’s much harder, sometimes impossible, to recover data off an encrypted disk. If you don’t have a backup and you don’t know how you’d access the files on the disk without booting the computer then turn disk encryption off.
Best practices?
Don't copy paste commands into the terminal you don't understand.
RTFM
Use the computer like a computer. Linux is not a lifestyle; it's a tool you use to shitpost, watch videos, play games, etc.
Linux is not a lifestyle
I have to disagree about this point.
But I LOVE copy/pasting complex commands
Man files are your best friend
One of the forums regulars, Pjotr, made this website exactly for questions like that: https://easylinuxtipsproject.blogspot.com/p/1.html
--> see "B. Right after the installation of Linux Mint"
omg thank you! that's exactly the kind of stuff I was looking for!
For the swap space, yes that's for when you run out of RAM. 48GiB is plenty of RAM, so you should be fine without it. I have 32GiB of RAM on my system and have been running without swap for ages without issue.
Hardening guides like that are mostly designed for things like web servers which are connected to the public internet and need higher scrutiny. The default configuration for distros like Mint should be secure enough for the average user.
However, don't feel invincible and run random code from random sites. Both Windows and Linux can't protect you against malicious code you run yourself.
Having organised partitions is the kind of thing that people obsessed with organisation do. For most people, the default partitioning scheme is fine. However, as always, remember to keep backups of important data.
For installing software, Mint has a Software Centre (which is distinct from the Snap Store). I'd recommend installing software using that for the average user.
In Mint, there are three main types of packages:
- Debian/APT packages, which are provided by Mint (well, technically by the Debian distro and they trickle down to Mint, but technicalities). Not all software is available from Mint's repos and they may be out of date.
- Flatpak packages, which are provided either by developers themselves or dedicated fans. They are usually more up to date and have a degree of sandboxing.
- Snap packages, which are controlled by a company named Canonical. As of late, Canonical has been a bit "ehhhh", so there's pushback against Snap. Mint has it disabled and has their reasoning explained here: https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html
Mint's software centre is able to install both Debian and Flatpak packages. I'd recommend using it where possible since it allows automatic upgrades and easier installation/uninstallation.
ooh thank you, that breakdown at the end was insightful!
Advice from personal experience as a simple user - you don't need dual boot. One machine = one system. Run win apps with wine. Win upgrades can and will break your bootloader and make you normal Linux partition unbootable. Multiboot is used by professionals for specific tasks.
Who says I'm not a professional that needs windows for specific tasks? haha
There are many reasons why one would benefit from dual-boot, regardless of being a professional or not. You're assuming a lot of things by saying "you don't need dual boot".
But I appreciate the warning of win updates being capable of breaking my linux partition, I'll keep it in mind. I don't intend to keep the dual-boot forever but for now I'll keep it.
Almost everything you do on desktop linux is already "outside the core os".
This is mostly relevant for server software configuration, where you should run services with as few system privileges as possible. Preferably you isolate them entirely with a separate user with access to only the bare minimum it needs.
This way, if a service is compromised, it can't be used to access the core system, because it never had such access in the first place. Only what it needed to do its own thing.
By default, nothing you run (web browser, steam, spotify, whatever) should be "running as admin".
The only time you'll do that on desktop linux, is when doing stuff that requires it. Such as installing a new app, or updating the system. Stuff that modifies the core os and hence needs access.
Basically, unless you needed to enter you password to run something, then it's already "outside" the core os.
you can always add eg. a swap file later if needed - apparently not as good as a swap partition, but it is more flexible. With 48 GB of ram I hardly think you're going to have issues, but that depends entirely on what do you do with the system.
Firewall isn't really helping the system against you, it's to block ousiders getting in - more or less.
install locations: if you just use what's in mint's repositories, you don't really need to think about it. Out-of-repository stuff like steam games etc generally live in ~/.steam or so. Or in some dedicated path you configure in steam/whatever.
As for snap/flatpaks/whatever, haven't used a single one. But in general: I'd favor the distribution's repos, if at all possible for installs. If the app isn't there, but is in snap... fine, I guess? As long as it's managed by some kind of package manager for easy install/update/uninstall. But having to manually download and install from a website? Rather not, that's when the maintenance becomes manual.
And of course, opinions are opionated. Your system, your rules. :P
What I suggest. Dont look at hardening yet. Only do so if you feel like your ready to touch the Internal workings of the OS. I do suggest using full disk encryption if this is a laptop.
Saving your files in your home folder just like how you did on windows is fine. Nothing wrong their.
Personally I would familiar your self with the terminal. It is not scary at all. sudo apt install program is how I would install software on mint (or any Debian based system).
Oh and above all. Use the system and try to do your normal task. See what you run in to and ask help where needed. We are here to help you along the way if needed.
EDIT: Just saw that Malik already did mention this more succinctly. Please feel free to ignore me.
ORIGINAL COMMENT: The comments here already cover a good bit, esp. with the link to Piotr's blog post.
However I don't see anyone reacting to your mention of the snap store.
If you want some details about that, you can read here: https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html
But in a few words, distributing software is kinda of a mess in Linux at first glance, for various technical reasons.
To caricature, you used to only install the packages from your distribution (mint for you) repositories, and if a program wasn't in it, you had to either compile it or jump through other hoops.
Then came other formats which made distributing software across Linux distros easier, with some caveats. Two notable ones are Snap and Flatpak.
Snap was made by the guys behind Ubuntu and mint is an offshoot of Ubuntu that made the willful decision to not do snaps by default after a number of fiascos.
My advice would be: try installing software through the normal mint repositories, ideally the non Flatpak version. If it does not exist there or is buggy or whatever, consider the Flatpak. Only failing that should you look into snap IMO.
I would say Flatpak is a good choice if you want or need features in the latest version of a package that isn't in the version Mint runs, which is typically based on the current Ubuntu LTS version (or whichever one was current for the Mint version you're on).
The main drawbacks are size on disk and the ability to work with other apps and the system, but neither issue is as bad as they're typically made out to be... If you're only installing one or two Flatpaks, they'll seem massive compared to installing the version from apt repos, but that's because they need to bring in supporting packages which are used by other Flatpaks, so if you use several of them, the space for each is a lot closer to the apt/direct installed version.
And the permissions, which can be annoying if you run into an issue with them, are typically defaulted to something that works correctly for each package, so you likely won't need to worry about that hardly ever.
But otherwise... Yeah, if you don't know why you'd want the Flatpak version and it's in the Mint apt repos/system install, go with system install. Switch to Flatpak if you're finding features you want missing that are in newer versions.
But they're shouldn't really be any reason to use Snaps on Mint.
There are plenty of reasons why one would use Snaps on Mint... I've been using it for like 2 days and so far I got: Blender, Godot, and Signal. Blender has an older version, Godot has a super old version, and Signal isn't included in Software Manager. Outside of snap I manually downloaded Material Maker.
People keep telling me snaps are not needed and that I should find everything in the official repo and whatnot but that's just wrong generalized assumptions from what I see, neither of those 3 programs are too niche either. There are plenty of people out there that do things outside of web browsing and file management in their computers, I'm so confused why Linux out of all communities would ignore hobbies with specialized software exist, game dev even
Signal is included as Flatpak. You have to enable "untrusted Flatpaks" (or whatever the wording is) in the Software Manager settings.
It was a controversial thing Mint added not long ago. Discussing this in detail would derail the post though.
For signal, you can add their PPA As explained here
For Godot, their website has an AppImage. This is a case where I'd say it makes sense not to have it being automatically updated, because if you work on a video game for the kind of time frame that they usually require, you want to decide when to upgrade your game engine (or not to at all) as it may break your current project. But you know your needs, just thought I'd explain the rationale for that particular one.
For Blender... Yeah if the version is outdated and you want automatic upgrades then Snap works. Maybe someone could chime in with another recommendation but that sounds sensible to me.
Thanks for asking this question, it's really amazing and helpful for us old Linux people to see the experience of somebody who's coming over fresh. I think you are asking the right kinds of questions and I wish you the best of luck.
Specifically about Windows Defender, I haven't seen any tool like that on Linux, but I am curious to see what you find out.
Thank you, I just wish people weren't so critical about how I word my questions when it's still clear what the core question is anyway, man it's like being a casual is not welcome or something x_x
Some people are really welcoming and some others are so.... unnecessarily strict? Condescending? Harsh?
I don't get it either. But welcome!
Do not press the hidden button.
which hidden button? O:
You can't see it because it's hidden.