hello friends! new(ish)!

Linux Mint

From InstallGentoo Wiki v2
Revision as of 00:21, 1 April 2015 by >Mrsnooze (→‎Post Installation)
Jump to navigation Jump to search
Linux Mint logo

Linux Mint is a multi-purpose, Debian-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 #1 at Distrowatch (as of February 2014), surpassing by far even Ubuntu. However, it has been criticized for the very same reason by freedom advocates because of the inclusion of proprietary codecs needed for Adobe Flash to be working out of the box.

Linux Mint comes with mainly two desktop environments: MATE and Cinnamon, both of which are being maintained by the Linux Mint Foundation. Their popularity is such that they have been repacked in other distros, such as Antergos or Cubuntu. KDE 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 uses the best .deb based package manager
  • It is mostly 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 DEs Cinnamon and MATE
  • 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 distro upgrade. That is no longer the case as of Linux Mint 17 (Rebecca), but still applies to users of older versions.
  • Like Ubuntu or Debian, packages tend to be slightly out-of-date and you might have to end up using PPAs if you want cutting-edge software.
  • Some users used to very lightweight distros may dislike the addition (or bloating) of graphical interfaces for most tasks (software managing, backup tools etc.)
  • Firefox comes by default with the Yahoo! search add-on by default
  • 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 is for the most part easy).

Installation

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 shutins.

We'll use VirtualBox for the install to counter some common concerns and fears:

Common Concerns and Fears

  • I'm scared my computer won't boot: VirtualBox runs inside Windows (or Mac OSX). Even when you do a real install, there are good tools that can fix your boot setup and recover your files in the unlikely even that happens.
  • I'm scared I'll break my Windows parition: VirtualBox doesn't have the power to mess up your Windows parition 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 VirtualBox 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 VirtualBox 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 savestating 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: VirtualBox'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 VirtualBox. Lili is usually very good at putting more commonly used Linux distros on USB and is easy to use.

Preparing For Your Install

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

  1. A Linux Mint installation disc (it'll be a .iso file).
    • Available from the Official Download page, there are several different versions available:
      • 32bit vs 64bit. You'll want 64bit unless you're on a seriously old machine.
      • The Cinnamon, MATE, KDE 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 MATE 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 MATE 64bit version (torrent).
  2. A VirtualBox 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.

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 disc (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. (There should be if you followed along with the VirtualBox guide).
    • 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 sceen.
  5. The next screen is titled Installation Type and deals with paritioning. 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 Linix 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 Wwindows, 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 paritioning 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.
      • More about this warning will be explained in the Dual Booting section.
  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 LXDE 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, first installing Windows, then adding Linux Mint onto the same virtual machine.

Installing on a Real Machine

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).


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.


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!)

Checking Out Different Desktop Environments

Since Linux Mint comes in four different versions: Cinnamon, MATE, KDE and Xfce. We should have a look at each and see which one feels right.

To do so, we need to:

  1. Install the new Desktop Environment's packages.
  2. Logout.
  3. Log back in, selecting the new Desktop Environment.

Desktop Environment vs Window Manager

A Window Manager is a process which runs many simple parts of your graphical interface:

  1. The Application Menu.
  2. The Task Bar.
  3. The Clock.
  4. Window Decorations (title bars, minimize/maximize/close buttons, borders).
  5. Basic keyboard commands like alt-tab and alt-f4.
  6. How windows are displayed (floating windows, like in Microsoft Windows or tiled windows)
  7. Basic Theming
  8. Logging out and links to Shutdown/Reboot.

Different Window Managers have different components and are customized in different ways, but they're all pretty lightweight - meaning that they're fast to run and don't require much RAM or HDD space. They also lack many whiz bang features.


A Desktop Environment is a Window Manager bundled with many other programs in order to provide a more bells-and-whistles Desktop. Things like:

  1. File Managers
  2. Text Editors
  3. Media Players
  4. Games
  5. Control Panels
  6. Support applications (e.g. Wallpaper and Screensaver settings)

All of these are usually designed by the same standards (i.e. similar menus, similar keyboard shortcuts, similar graphical layouts) and are integrated into each other (e.g. the sound configuration program can be opened from the media player program). This aims to make most computing tasks seem familiar, rather than being a bunch of rag-tag programs which all look and act differently.

Desktop Environments are slower to run than simple Window Managers, and require more RAM and HDD space. This is only really noticeable on old computer (or our virtual machine!).

All Desktop Environments contain their own Window Manager within them.

Programs that come with Desktop Environments can be installed and used without the Desktop Environment. Desktop Environments can also use programs that are not part of them.

Cinnamon

  1. Install the "cinnamon" package.
    • Open the Software Manager and use the search box in the upper right to search for "cinnamon". The first result should be called "cinnamon" and be described as "Cinnamon desktop". Double click it and hit Install.
    • Wait for the install to complete.
  2. Use the Application Menu to Logout. You'll be prompted for a logout option. Hit Logout.
  3. You'll now be back at the login screen. Here we can select which DE/WM we want.
  4. Click the little gear icon in the top right of the login window.
  5. In the Select a Session popup, select Cinnamon.
  6. Enter your username/password as usual.
    • You'll be asked whether you always want to use Cinnamon. We're only having a look this time, so click Just For This Session.
  7. Cinnamon will startup and you'll be presented with it's Desktop.

At first glance, Cinnamon is very similar to MATE. They were both forked (based on) an older program named Gnome 2.

There's an Application menu in the bottom left which is a little different to MATE's.

    • The Software Manager is just an icon (it's directly under Firefox on the left).
    • Logout and Quit are also just icons (bottom two on the left).

There's no wallpaper set! This is one of the tiny differences between Linux Mint MATE and Linux Mint Cinnamon editions. Let's fix it:

  1. Right click somewhere on the blackness of the desktop and select Change Desktop Background.
  2. Select the Linux Mint wallpaper, or something from another category.
  3. That's better!

There are other differences between MATE and Cinnamon, but these are topics for other articles. The important part here is that you've changed your Desktop Environment without needing to download and install a different version of Linux Mint.

Next, let's check out the big, fully featured Desktop Environment called KDE.

KDE

As we did when installing Cinnamon:

  1. Open the Software Manager.
  2. Search for, and install "kde-full".
    • Searching for just kde will bring up heaps of stuff, because there are heaps of programs associated with it.
    • KDE will take a little longer to download and install because it's so big.
  3. Once installed, Logout.
  4. Select KDE from the little gear in the Login window, and enter your username/password.
    • In the popup: Just For This Session.
  5. KDE will startup and present you with it's Desktop.

Xfce

MATE