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.
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.
@three@piefed.social wow 5 upvotes already but the comment is quite unhelpful tbh
Her third tip is gold. You don't hear that often. Linux doesn't have to be your life. It supports it but you don't have to live around it.
also I'm literally saying "casual". I said I'm a casual user like at least twice in there. Does that strike you like someone that needs to hear that Linux is "not a lifestyle" ?
it's also quite obvious though? Just like the other two. It's common sense with a condescending tone
But I LOVE copy/pasting complex commands
One of the forums regulars, Pjotr, made this website exactly for questions like that: https://easylinuxtipsproject.removed/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!
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.
@kylian0087@lemmy.dbzer0.com I've got a desktop but I think I ticked on the drive encryption while installing anyway
With "files" you also mean programs, right? The ones that I download and don't install with the terminal or an app store?
I'm not scared of the terminal myself, I'm scared of accidentally overwriting stuff or downloading something I didn't intend to because of a typo, etc... I'm careful but there's only so much one can fight the adhd. Plus I just really prefer visual interfaces
Thank you! :)
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.
ooooh I seee, thank you for explaining that!
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
oh with the firewall saving me from myself I meant if I download something thinking it's safe but isn't
Thank you! :) @Malix@sopuli.xyz
oh with the firewall saving me from myself I meant if I download something thinking it's safe but isn't
A firewall would not save you from that.
A firewall stops random incoming connections. But if you download and run something bad, that'd be an outgoing connection, since the malicious program is then already on your system.
Windows Defender warns you if a file seems malicious and then you have to accept a window to use it anyway or to keep it, isn't that also part of what a firewall does? I know it's silly and one should just do that mentally for every file but it's nice to have a reminder sometimes for sketchy files. Anyway, I was not asking specifically for that, just asking generally about virus protection and whatnot
Defender is antimalware/antivirus. There at least used to be a separate firewall in windows, but not sure if it's a part of defender or not.
Either way, "firewall" is traffic control, antimalware/virus is the execution guardian.
potato potato, I just meant some software thing to warn me when I have downloaded something sketchy and I should re-think my choices
Well, not really po-tay-toh/po-tah-toh. They’re 2 different utilities that do 2 different things. If you ask the wrong question, you’re not going to get the answer you’re looking for.
What you’re asking about is an antivirus. It’s been awhile since I messed with this on my Linux systems, but last I looked, ClamAV was most commonly recommended. You can probably search for “Linux antivirus” and find some recommendations.
Generally speaking, the earlier recommendations to stick with official repos is excellent. When you venture outside of that, you increase your administrative overhead because those manually installed apps won’t stay patched with a simple “apt upgrade.” That said, a well written cron job could keep them up to date for you.
As for where to install things, it’s personal preference. I prefer using my home directory. If that doesn’t work, my fallback in /usr/local, which is either its own partition or symlinked to the /home partition). I mention the partitions because having separate /home and possibly /usr/local makes it easy for these customizations you install to survive a reinstall. Backups will also help with this.
You have to ask yourself what this system will be used for. If it’s a daily driver that you want to “just work” I would stick to official repos, and minimize customizations. Windows makes a lot of choices for you. Linux expects you to know what you want to do.
Yeah but it seems like some people (not you) take it personal geez... Of course a "casual" will mix firewall with anti-virus, like...? I am literally saying I don't know shit.
Thank you for actually explaining things in a helpful and chill manner without getting so stuck about one word I use wrong while still being an understandable question.
You should try to avoid executing files that you downloaded from somewhere online, it's best if you canget it either from the system package manager( i.e apt ) or get it from flatpak/snap. If you have to get it from a website it depends on what the website is and the usual suspicious features. If you are unsure if something from github or similar is safe you can always google it first to see reviews from other users. Antivirus software like on windows is not that common for linux and most of the time it is enough not to run software you don't trust as sudo or admin as they don't have permission to change files without those.
And I'm telling you a firewall won't do that.
It won't have anything to say at all about something you download and run.
It's a completely different security feature. It handles potentially malicious network activity. Not software on your computer.
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:
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.
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.
I tried installing a windows software with wine and it didn't work. Shrug.
Have also dualbooted for ages with no problem. The one thing I had to do was set windows to the UTC timezone so it would stop fucking up the Linux clock.
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.
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.
Most Linux distros are already hardened. You can use "extreme" distros but as long as there'y no need, stick to a "normal" distro first. You can switch whenever you want.
oh nice, that's good to know, thanks!
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.
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.
Theres no equivalent to Windows Defender on Linux, because it's like 14 tools in one, and Linux by nature is a lot more modular. If you want something whcch scans files for malware, the tool of choice would be ClamAV. By default it only scans files which you manually tell it to, but you can set it up to automatically scan any file when it's downloaded. It's a lot less sophisticated than Defender, but there's also just not as much malware for Linux (yet), and if you stick to installing software through the package manager and never giving other files execution permission, you should be fine.
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.
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0