hello friends! new(ish)!

Linux Mint

From InstallGentoo Wiki v2
Revision as of 23:34, 7 December 2024 by Slowdeath (talk | contribs) (Removed the 8-year-old disclaimer and updated tutorial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Linux Mint logo

Linux Mint is a multi-purpose, Debian and Ubuntu-based distribution meant to be easy-to-use and working out-of-the-box. Originally a sole Debian derivative, most of its repos and a fair share of its software suite are now based on Ubuntu's. Its motto is "from freedom came elegance".

Because of its policy of providing an integrated, smooth experience, Linux Mint has been often praised for its user-friendliness and ease of use, and ranks #2 at Distrowatch (as of November 2024), surpassing even Ubuntu. However, it has been criticized for the very same reason by freedom advocates because of the inclusion of proprietary drivers & codecs out of the box.

Linux Mint comes with the Cinnamon desktop environment, which is maintained by the Linux Mint Foundation. It's popularity is such that it has been repacked in other distros, such as Fedora and Ubuntu. MATE and Xfce versions are also officially maintained.

In short, Linux Mint is one of the best-suited distributions for beginners to GNU/Linux, or anyone wanting to get a desktop up-and-running quickly.

Why use Linux Mint?

  • It is based on Ubuntu and Debian, meaning nearly all community support found there will also apply to it, on top of its own support.
  • It comes with all of Ubuntu and Debian's software selection on top of its own
  • It comes with the highly-praised DE, Cinnamon
  • It is meant to be very easy to use for beginners, while still letting advanced users doing extra configuring

Drawbacks to Linux Mint

  • Up until version 17, Linux Mint had a retarded policy that forced users to reinstall everything whenever they wanted to do a system upgrade. That is no longer the case as of Linux Mint 17 (Rebecca), but still applies to users of older versions.
  • Packages tend to be slightly out-of-date and you will have to end up using PPAs or Flatpaks if you want cutting-edge software.
  • Some users used to very light-weight distros may dislike the addition (or bloating) of graphical interfaces for most tasks (software managing, backup tools etc.)
  • It includes some proprietary software such as codecs so as to provide their out-of-the-box experience, which freedom-minded users may dislike.
  • If you dislike the green color, you're going to hate this distro until you change the theme (which can be done in the initial setup).

Installation

Linux Mint running inside of Windows

Linux Mint is often recommended as a newbie's first distro for it's ease of use and ease of installation. Having said that, everyone's first Linux install can be scary or confusing. This section will step you through a basic Mint install.

The Official Mint User Guides also guide you through installation, but you may prefer the voice of fellow neckbeard shut-ins.

We'll use Hyper-V for the install to counter some common concerns and fears:

Common Concerns and Fears

  • I'm scared my computer won't boot: Hyper-V runs inside Windows. Even when you do a real install, there are tools that can fix your boot setup and recover your files in the unlikely event that happens.
  • I'm scared I'll break my Windows partition: Hyper-V virtual machines don't have the power to mess up your Windows partition any more than Firefox does. On a real setup, Linux Mint does the partitioning for you if you desire.
  • I'm scared I won't be able to get rid of Linux: Our Linux Virtual Machine can literally be dropped into your Recycle Bin, and Hyper-V can be uninstalled like any other application. Getting rid of Linux if you are dual booting is just a bit more complicated than the other two, but not too hard, not hard at all if you installed it over Windows.
  • I'm scared I'll get stuck offline and won't be able to access help: You can switch between your virtual machine and your other applications (such as your web browser) at any time. For normal Linux installations, this is usually only a problem with wireless internet, but you'll most likely be fine, especially if you dual boot Windows/Mac and Linux.
  • I'm scared of pressing the wrong option during the Linux install: You can Snapshot your Virtual Machine and revert to a previous version at any time (just like save-stating your SNES ROMs). On a normal install for Mint, the only real thing you have to look out for is if Mint doesn't recognize your Windows partition, or if you get a specific error (unlikely).
  • I'm not sure my hardware is supported in Linux or needs special drivers: Your virtual machine's virtual hardware will all work with Mint.
  • I had trouble putting my ISO on a dvd/usb stick: You can use the ISO file directly with your virtual machine. Ventoy is usually very good at putting more commonly used Linux distros on a USB drive and is easy to use.
  • Will Linux be as slow as it is on this Virtual Machine?: No. Not only did you probably set your virtual machine to only use so much of your RAM & CPU, your system is running Linux, Windows, and whatever applications you already have running all at the same time.

Preparing For Your Install

Before we get started, we need a couple of things:

  1. Linux Mint installation media (it'll be a .iso file).
    • Available from the Official Download page, there are a few different versions available:
      • The Cinnamon, MATE or Xfce editions. These are just the default Desktop Environments/Window Managers. Once you've installed Mint, you can install and switch between all of these (we'll show you how). Go with the Cinnamon edition, since that's what this guide was written with.
      • Codecs or No Codecs. You want Codecs. No Codecs is for anally retentive legal situations that businesses can get into.
    • In summary, grab the desktop you want most from a mirror in your country.
  2. A Hyper-V virtual machine.
    • The Hyper-V page has instructions on it's download, installation and the creation of a basic virtual machine.

And with that, we're ready to go.

Booting the Linux Mint Disc

Hit Start on your virtual machine.

A black virtual machine window will popup, then the Linux Mint boot screen will appear, counting down to 0. After that Mint will startup, showing you a white screen, some nice green dots on a black background (a loading screen), then will resize your virtual machine window (changing the virtual machine's resolution) and finally display the Desktop.

MATE Desktop running on Linux Mint

So here we are in Linux Mint. It's not installed yet - this is what's known as a Live Environment. You can do pretty much everything you want in this state, but Linux is running from it's virtual filesystem (that .iso file) and RAM. Once you reboot, you'll lose any changes you make.

Let's have a quick look around:

  • There are three icons on the desktop:
    • Computer will open a file manager similar to My Computer in Windows.
    • mint's Home will open a file manager similar to My Documents in Windows.
    • Install Linux Mint we will come to shortly.
  • Over in the bottom right is a clock, a shortcut to sound settings, and a shortcut to network settings.
  • In the bottom left there is a Menu button. Give it a click.
    • Here you'll see some basic applications like a Web Browser (Firefox), a Media Player and a Text Editor.
    • Over on the left you'll see a Software Manager (for adding and removing applications), Control Center (similar to Control Panel in Windows) and a Quit button for shutting down.
    • Open Firefox and see if you have internet access.

Ok. Enough lollygagging. Let's install.

Running the Install

  1. Double click the Install Linux Mint icon on the desktop. The installation wizard will popup.
  2. Language selection is the first screen. Select yours and hit Continue.
  3. System requirements are next. The installer will check whether or not:
    • 9.5gb of hard drive space is free.
    • Internet access is available. This won't stop you from installing, but will allow for system updates to be downloaded during the install.
  4. Hit Continue on the system requirements screen.
  5. The next screen is titled Installation Type and deals with partitioning. Partitions are sections of your hard drive which operating systems see as completely separate hard drives (a topic for another day). The options are:
    • Erase disk and install Linux Mint (default): This is fine for our virtual machine and this is what we'll use.
      • This is would NOT be fine if you were dual booting with Windows, which we'll cover later.
    • Encrypt the new Linux Mint installation for security: We won't be using this today, but it's worth noting just how easy Full Disk Encryption is.
    • Use LVM with the new Linux Mint Installation: We won't be using this either. LVM is basically fancy partitions (if this sentence makes no sense, you definitely don't need LVM).
    • Something else: This will lead you to advanced/manual partitioning options that we don't need.
  6. With "Erase disk and install Linux Mint" selected, hit Install Now.
    • A warning will popup to make sure you want to make these changes. You do, so hit Continue.
  7. The Where Are You screen has a map to click on to define your location. This tells Mint what timezone you're in, whether you like the Metric or Imperial measurement system, how to display the date and so on. Select your city and hit Continue.
  8. Keyboard layout is next. If you're not sure what layout you have, you have English (US). Select your Layout and hit Continue.
  9. The Who Are You screen has a few fields:
    • Your name (optional). Typing in your name (or any name) will also give you suggestions for a computer name and username.
    • You computer's name (required).
    • Pick a username (required).
    • Choose a password and Confirm your password (required).
    • Login in automatically: Leave this blank.
    • Require my password to login: Leave this checked.
    • Encrypt my home folder: Leave this unchecked. This can be used in addition to the Full Disk Encryption option we saw earlier, or without.
  10. Hit Continue to the Who Are You screen.
  11. Linux Mint will now install, showing a few informative screens. Good time to stretch your legs.
    • You can click the little arrow in the bottom left of the window to see a tiny weeny terminal running the install.
    • If you're connected to the Internet, updates will download and install.
  12. The install will finish and you'll be prompted to either Continue Testing, or Restart Now. Click Restart Now.
  13. The Linux Mint Live Environment will shutdown and will "eject" the installation disc (the .iso file will no longer be selected for your virtual machine's optical drive).
  14. Linux Mint will now boot from it's installation on the virtual machine's hard drive.
    • Any changes you make will now survive a reboot.

You can now login and you'll be back at the familiar MATE Desktop we saw before. A Welcome Screen will also be there to greet you.

And that's it. You've installed Linux Mint. Add 200 experience points to your character sheet. Don't forget that your Right Control Key will release your keyboard and mouse from the virtual machine!

You may want to check out some Post Installation tasks (below), such as installing the Cinnamon, KDE and Xfce Desktops.

Advanced Installs

Dual Booting with Windows

Dual Booting is the term used for having two operating systems installed on the same machine. When you turn on the computer a menu called a Bootloader will display, asking you which operating system you wish to boot into. This will typically timeout and select the default operating system after a number of seconds.

You can learn to dual boot within VirtualBox:

  1. Create a new Hyper-V VM with a 50gb+ VHD.
  2. Install Windows 10, or another Windows version.
  3. Create a checkpoint of your VM.
  4. Boot the VM with the Linux Mint installation media inserted.
  5. Double click the Install Linux Mint icon on the desktop.
  6. Fill in the details on the first few screens of the wizard:
    • Select your language.
    • Continue on from the requirements check.
  7. The Installation Type screen is the partitioning screen. We'll take advantage of Linux Mint's inbuilt magic here, and select the "Install Linux Mint alongside Windows" option. This will automatically resize the main Windows partition on the machine, and use the free space created to make the Linux Mint partitions.
  8. With "Install Linux Mint alongside Windows" selected, hit Continue.
  9. Next is a simple GUI slider to define how much space Mint will take from Windows.
    Resizing Windows to make room for Mint
    • The slider will stop before letting you overwrite your Windows files.
    • The slider will also stop before letting you allocate less space than is required for your Mint install.
  10. Give Mint 20 GB or so and click Install Now.
    • You'll be prompted to confirm these changes. Once you confirm, the Windows partition will be resized on the drive.
    • Confirm by hitting Continue.
    • You'll also be prompted before the Mint partitions are created.
    • Confirm again by hitting Continue.
  11. The next screens will be familiar now:
    • Set your location.
    • Set your keyboard layout (if unsure: English (US)).
    • Set a computer name, username and password.
  12. Wait for the Mint install to complete.
  13. You'll be asked if you want to reboot. You do, so hit Restart Now.
  14. Mint will shutdown, then the virtual machine will restart.
GRUB Bootloader with Linux Mint and Windows options

This time when the machine boots you'll see the GRUB Bootloader.

  • Up and Down arrows select an item.
  • Enter selects.
  • Pressing nothing will result in a timeout and the default operating system (Mint) being booted.
  • Press any key to cancel the timeout if you want to have a good look (pressing Enter will boot whatever is selected, of course).
  • The other items in the boot menu are:
    • Linux Mint -- recovery mode: A special mode for Linux system repair.
    • Memory tests: Basic utilities for checking the health of your RAM.


Try booting into both Windows and Linux Mint to check everything worked.

  • The first Windows boot will force a scandisk, because Windows will detects that it's partition has changed size.

Installing on a Real Machine

If you've mastered the Mint install within a VM (and mastered dual booting in a VM if need be) then installing on your real hardware will not be a giant leap.

Differences between a virtual machine and real hardware:

  • UEFI could need attention:
    • UEFI (Unified Extensible Firmware Interface) is the first thing that runs when you turn on your computer. That big splash screen displaying your manufacturers logo? That's UEFI. The screen telling you what CPU you have and how much RAM you have? That's UEFI.
    • You may need to run your CMOS setup utility (part of the UEFI) and tell it to boot from your Linux USB drive.
      • Mashing the F1, F2, F10, F12 or delete key at startup will enter your UEFI setup (the startup screens should also tell you what button to push, if not please consult the manual). Sometimes F2 brings up a diagnostics utility and F10 or F12 brings up a boot menu. Just hit Ctrl+Alt+Del and try again.
  • Your hardware may not be fully Linux compatible:
    • Your CPU, RAM, SSD, Screen and Speakers will all run fine.
    • Your GPU will be OK, but may need some drivers installed before it supports it's full 3D abilities (just like Windows).
    • Your keyboard and mouse will be fine if they're wired. Wireless ones should be OK. Fully pimped out 30 button gamer mice may not support all 30 buttons without some configuration.
    • Wireless networking dongles are your biggest threat. Heaps of them are compatible but not all. Compatibility improves with each Linux Kernel release. If you're reliant on your USB wireless dongle, take a couple of minutes to determine it's compatibility with Linux (search: manufacturer-name model-name Linux).

If you can boot into the Linux Mint Live Environment, then you're ready to install Mint for real. In this mode you can also check whether or not you're able to access the Internet with your wireless dongle.


And that's about it. Consider yourself leveled up.


And if you've followed along this far, you now have:

  • Virtual Machine experience.
  • Linux install experience.
  • Dual booting experience.
  • UEFI configuration experience.

All of this makes you a pretty clever anon. It's common for anons to shun praise and self deprecate and downplay their skills, but you don't need to do that today. After following along through all of this it's OK to let your ego out a little. You've come a long way.

Post Installation

Installing Software Packages

You're probably familiar with installing software on Windows. It goes something like:

  1. Find the official website of the software (or some unofficial source).
  2. Download the correct installer for your system (or get the wrong one and try again).
  3. Run the installer (answering banal questions and dodging toolbar installs).
  4. Files are installed into C:\Program Files\Developer Name\Software Name (or somewhere else).
  5. Shortcuts appear in the Start Menu/Desktop (usually).
Linux Mint Software Manager

In Linux a Package Manager is used. This is a program that links to large repositories of software packages which have been built and tested to work with your distro. Important updates and security patches are already applied. The process goes something like:

  1. Run the package manager.
  2. Find the software you want.
  3. Press install.
  4. Packages are downloaded and installed.
  5. Links to the software are added to your Application Menu if needed.

If the software you want needs any extra system libraries (dependencies) these are automatically selected and installed for you.

Frozen Bubble

Let's test it out by installing a game:

  1. Click on your Application Menu in the bottom left of screen and select Software Manager. It will prompt you for your password.
  2. The Software Manager window will appear, with different categories displayed. Click on the Games category.
    • Sub categories of games such as First Person Shooters and Real-time strategy are displayed at the top.
    • Software packages are displayed in the main view. By default these are listed by popularity (according to votes and reviews by Linux Mint users).
  3. Double click on "frozen-bubble". You'll see some screenshots and a description, as well as an Install button.
  4. Click Install to install Frozen Bubble. At the bottom of the screen you'll see "1 ongoing actions" and a progress bar. This is Frozen Bubble downloading and installing.
  5. Click on "1 ongoing actions" to bring up the Active Tasks view. Here you can more closely see what is happening. If you were downloading multiple packages, they would all be displayed here.
  6. Once Frozen Bubble is installed, you'll be taken back to it's description page and "Installed" will be displayed at the top.
  7. Open you Application Menu again and select All Applications from the top right.
  8. Select Games, and then Frozen Bubble.
  9. Hit Enter a couple of times to start a new game and have a play.
    • Left and Right arrows aim, the Up arrow shoots a bubble.
    • Frozen Bubble has been included in most Linux distros since 2002. (No shit! Look at those graphics!)

Now is a good time to install your favourite programs. The List of recommended GNU/Linux software might help you.