hello friends! new(ish)!
Linux Mint: Difference between revisions
>SathyaSaiBongo No edit summary |
(Removed the 8-year-old disclaimer and updated tutorial) |
||
Line 1: | Line 1: | ||
[[File:Logo_Linux_Mint.png|thumb|Linux Mint logo]] | [[File:Logo_Linux_Mint.png|thumb|Linux Mint logo]][http://www.linuxmint.com 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 [https://distrowatch.com/table.php?distribution=mint #2] at Distrowatch (as of November 2024), surpassing even Ubuntu. However, it has been [https://www.gnu.org/distros/common-distros.html 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 [https://distrowatch.com/table.php?distribution=fedora Fedora] and [https://ubuntucinnamon.org/ Ubuntu]. MATE and Xfce versions are also officially maintained. | |||
Linux Mint comes with | |||
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. | 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? == | ==Why use Linux Mint?== | ||
*It is | *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 all of Ubuntu and Debian's software selection on top of its own | ||
*It comes with the highly-praised | *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 | *It is meant to be very easy to use for beginners, while still letting advanced users doing extra configuring | ||
== Drawbacks to Linux Mint == | == 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 | *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 | *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. | *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 | *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 == | == Installation == | ||
Line 30: | Line 26: | ||
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. | 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 [http://www.linuxmint.com/documentation.php Official Mint User Guides] also guide you through installation, but you may prefer the voice of fellow neckbeard | The [http://www.linuxmint.com/documentation.php Official Mint User Guides] also guide you through installation, but you may prefer the voice of fellow neckbeard shut-ins. | ||
We'll use | We'll use Hyper-V for the install to counter some common concerns and fears: | ||
=== Common Concerns and Fears === | ===Common Concerns and Fears === | ||
* '''I'm scared my computer won't boot''': | * '''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 | *'''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 | *'''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 | *'''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 | *'''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''': | *'''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 | *'''I had trouble putting my ISO on a dvd/usb stick''': You can use the ISO file directly with your virtual machine. [https://www.ventoy.net/ 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 | *'''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 === | ===Preparing For Your Install=== | ||
Before we get started, we need a couple of things: | Before we get started, we need a couple of things: | ||
# | #Linux Mint installation media (it'll be a .iso file). | ||
#* Available from the [http://www.linuxmint.com/download.php Official Download page], there are | #*Available from the [http://www.linuxmint.com/download.php 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. | |||
#** The Cinnamon, MATE | #**Codecs or No Codecs. You want Codecs. No Codecs is for anally retentive legal situations that businesses can get into. | ||
#** 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. | ||
#* In summary, grab the [ | #A Hyper-V virtual machine. | ||
#* The [https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-machine-in-hyper-v?tabs=hyper-v-manager 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. | And with that, we're ready to go. | ||
=== Booting the Linux Mint Disc === | ===Booting the Linux Mint Disc=== | ||
Hit Start on your virtual machine. | Hit Start on your virtual machine. | ||
Line 64: | Line 58: | ||
[[File:mint-mate.jpg|thumb|200px|right|MATE Desktop running on Linux Mint]] | [[File:mint-mate.jpg|thumb|200px|right|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 | 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: | Let's have a quick look around: | ||
* There are three icons on the desktop: | *There are three icons on the desktop: | ||
** '''Computer''' will open a file manager similar to My Computer in Windows. | ** '''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. | **'''mint's Home''' will open a file manager similar to My Documents in Windows. | ||
** '''Install Linux Mint''' we will come to shortly. | **'''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. | *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. | * 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. | ** 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. | **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. | **Open Firefox and see if you have internet access. | ||
Ok. Enough lollygagging. Let's install. | Ok. Enough lollygagging. Let's install. | ||
=== Running the Install === | ===Running the Install=== | ||
# Double click the Install Linux Mint icon on the desktop. The installation wizard will popup. | #Double click the Install Linux Mint icon on the desktop. The installation wizard will popup. | ||
# Language selection is the first screen. Select yours and hit Continue. | #Language selection is the first screen. Select yours and hit Continue. | ||
# System requirements are next. The installer will check whether or not: | #System requirements are next. The installer will check whether or not: | ||
#* 9.5gb of hard drive space is free | #*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. | #*Internet access is available. This won't stop you from installing, but will allow for system updates to be downloaded during the install. | ||
# Hit Continue on the system requirements screen. | #Hit Continue on the system requirements screen. | ||
# 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: | #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. | #* '''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. | #**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. | #*'''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. [[Wikipedia:Logical_volume_management |LVM]] is basically fancy partitions (if this sentence makes no sense, you definitely don't need LVM). | #*'''Use LVM with the new Linux Mint Installation''': We won't be using this either. [[Wikipedia:Logical_volume_management |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. | #*'''Something else''': This will lead you to advanced/manual partitioning options that we don't need. | ||
# With "Erase disk and install Linux Mint" selected, hit Install Now. | #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. | #*A warning will popup to make sure you want to make these changes. You do, so hit Continue. | ||
# 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. | #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. | ||
# Keyboard layout is next. If you're not sure what layout you have, you have English (US). Select your Layout and hit Continue. | #Keyboard layout is next. If you're not sure what layout you have, you have English (US). Select your Layout and hit Continue. | ||
# The Who Are You screen has a few fields: | #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. | #*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). | #*You computer's name (required). | ||
#* Pick a username (required). | #*Pick a username (required). | ||
#* Choose a [[Passwords | password]] and Confirm your password (required). | #*Choose a [[Passwords | password]] and Confirm your password (required). | ||
#* Login in automatically: Leave this blank. | #*Login in automatically: Leave this blank. | ||
#* Require my password to login: Leave this checked. | #* 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. | #*Encrypt my home folder: Leave this unchecked. This can be used in addition to the Full Disk Encryption option we saw earlier, or without. | ||
# Hit Continue to the Who Are You screen. | # Hit Continue to the Who Are You screen. | ||
# Linux Mint will now install, showing a few informative screens. Good time to stretch your legs. | #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. | #* 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. | #*If you're connected to the Internet, updates will download and install. | ||
# The install will finish and you'll be prompted to either Continue Testing, or Restart Now. Click Restart Now. | #The install will finish and you'll be prompted to either Continue Testing, or Restart Now. Click Restart Now. | ||
# 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). | #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). | ||
# Linux Mint will now boot from it's installation on the virtual machine's hard drive. | #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. | #*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. | 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. | ||
Line 120: | Line 114: | ||
You may want to check out some Post Installation tasks (below), such as installing the Cinnamon, KDE and Xfce Desktops. | You may want to check out some Post Installation tasks (below), such as installing the Cinnamon, KDE and Xfce Desktops. | ||
=== Advanced Installs === | ===Advanced Installs=== | ||
==== Dual Booting with Windows ==== | ==== 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. | 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: | You can learn to dual boot within VirtualBox: | ||
# Create a new | #Create a new Hyper-V VM with a 50gb+ VHD. | ||
# [[ | #[[Windows_10#Installation|Install Windows 10]], or another [[Windows]] version. | ||
# [ | #Create [https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/checkpoints?tabs=hyper-v-manager%2Cpowershell#creating-checkpoints| a checkpoint] of your VM. | ||
# Boot the VM with the Linux Mint | #Boot the VM with the Linux Mint installation media inserted. | ||
# Double click the Install Linux Mint icon on the desktop. | #Double click the Install Linux Mint icon on the desktop. | ||
# Fill in the details on the first few screens of the wizard: | #Fill in the details on the first few screens of the wizard: | ||
#* Select your language. | #*Select your language. | ||
#* Continue on from the requirements check. | #*Continue on from the requirements check. | ||
# The Installation Type screen is the | # 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. | ||
# With "Install Linux Mint alongside Windows | #With "Install Linux Mint alongside Windows" selected, hit Continue. | ||
# Next is a simple GUI slider to define how much space Mint will take from Windows.[[File:Dualboot-mint-paritioning.jpg|thumb|200px|right|Resizing Windows to make room for Mint]] | #Next is a simple GUI slider to define how much space Mint will take from Windows.[[File:Dualboot-mint-paritioning.jpg|thumb|200px|right|Resizing Windows to make room for Mint]] | ||
#* The slider will stop before letting you overwrite your Windows files. | #*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. | #*The slider will also stop before letting you allocate less space than is required for your Mint install. | ||
# Give Mint | #Give Mint 20 GB or so and click Install Now. | ||
#* You'll be prompted to confirm these changes. Once you confirm, the Windows | #*You'll be prompted to confirm these changes. Once you confirm, the Windows partition will be resized on the drive. | ||
#* Confirm by hitting Continue. | #*Confirm by hitting Continue. | ||
#* You'll also be prompted before the Mint | #* You'll also be prompted before the Mint partitions are created. | ||
#* Confirm again by hitting Continue. | #*Confirm again by hitting Continue. | ||
# The next screens will be familiar now: | #The next screens will be familiar now: | ||
#* Set your location. | #*Set your location. | ||
#* Set your keyboard layout (if unsure: English (US)). | #*Set your keyboard layout (if unsure: English (US)). | ||
#* Set a computer name, username and password. | #* Set a computer name, username and password. | ||
# Wait for the Mint install to complete. | #Wait for the Mint install to complete. | ||
# You'll be asked if you want to reboot. You do, so hit Restart Now. | #You'll be asked if you want to reboot. You do, so hit Restart Now. | ||
# Mint will shutdown, then the virtual machine will restart. | #Mint will shutdown, then the virtual machine will restart. | ||
[[File:Dualboot-grubmenu.jpg|thumb|200px|right|GRUB Bootloader with Linux Mint and Windows options]] | [[File:Dualboot-grubmenu.jpg|thumb|200px|right|GRUB Bootloader with Linux Mint and Windows options]] | ||
This time when the machine boots you'll see the GRUB Bootloader. | This time when the machine boots you'll see the GRUB Bootloader. | ||
* Up and Down arrows select an item. | *Up and Down arrows select an item. | ||
* Enter selects. | *Enter selects. | ||
* Pressing nothing will result in a timeout and the default operating system (Mint) being booted. | * 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). | * 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: | *The other items in the boot menu are: | ||
** '''Linux Mint -- recovery mode''': A special mode for Linux system repair. | **'''Linux Mint -- recovery mode''': A special mode for Linux system repair. | ||
** '''Memory tests''': Basic utilities for checking the health of your RAM | **'''Memory tests''': Basic utilities for checking the health of your RAM. | ||
==== Installing on a Real Machine ==== | 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. | 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: | 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 | **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 | ***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 hardware may not be fully Linux compatible: | **Your CPU, RAM, SSD, Screen and Speakers will all run fine. | ||
** Your CPU, RAM, | **Your GPU will be OK, but may need some drivers installed before it supports it's full 3D abilities (just like Windows). | ||
** Your GPU will be | **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. | ||
** Your keyboard and mouse will be fine if they're wired. Wireless ones should be | **Wireless networking dongles are your biggest threat. [http://linuxwireless.org/en/users/Devices/USB/ 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). | ||
** Wireless networking dongles are your biggest threat. [http://linuxwireless.org/en/users/Devices/USB/ Heaps of them are compatible] but not all. Compatibility improves with each Linux Kernel release. If you're reliant on your | |||
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. | 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. | ||
Line 189: | Line 180: | ||
And if you've followed along this far, you now have: | And if you've followed along this far, you now have: | ||
*Virtual Machine experience. | |||
* Virtual Machine experience. | *Linux install experience. | ||
* Linux install experience. | *Dual booting 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. | ||
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 | |||
== Post Installation == | ==Post Installation== | ||
=== Installing Software Packages === | ===Installing Software Packages=== | ||
You're probably familiar with installing software on Windows. It goes something like: | You're probably familiar with installing software on Windows. It goes something like: | ||
# Find the official website of the software (or some unofficial source). | #Find the official website of the software (or some unofficial source). | ||
# Download the correct installer for your system (or get the wrong one and try again). | #Download the correct installer for your system (or get the wrong one and try again). | ||
# Run the installer (answering banal questions and dodging toolbar installs). | #Run the installer (answering banal questions and dodging toolbar installs). | ||
# Files are installed into C:\Program Files\Developer Name\Software Name (or somewhere else). | #Files are installed into C:\Program Files\Developer Name\Software Name (or somewhere else). | ||
# Shortcuts appear in the Start Menu/Desktop (usually). | #Shortcuts appear in the Start Menu/Desktop (usually). | ||
[[File:Mint-software-manager.jpg|thumb|200px|right|Linux Mint Software Manager]] | [[File:Mint-software-manager.jpg|thumb|200px|right|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: | 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: | ||
# Run the package manager. | #Run the package manager. | ||
# Find the software you want. | #Find the software you want. | ||
# Press install. | #Press install. | ||
# Packages are downloaded and installed. | #Packages are downloaded and installed. | ||
# Links to the software are added to your Application Menu if needed. | #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. | If the software you want needs any extra system libraries (dependencies) these are automatically selected and installed for you. | ||
Line 219: | Line 209: | ||
# Click on your Application Menu in the bottom left of screen and select Software Manager. It will prompt you for your password. | # Click on your Application Menu in the bottom left of screen and select Software Manager. It will prompt you for your password. | ||
# The Software Manager window will appear, with different categories displayed. Click on the Games category. | # 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. | #*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). | #*Software packages are displayed in the main view. By default these are listed by popularity (according to votes and reviews by Linux Mint users). | ||
# Double click on "frozen-bubble". You'll see some screenshots and a description, as well as an Install button. | #Double click on "frozen-bubble". You'll see some screenshots and a description, as well as an Install button. | ||
# 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. | #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. | ||
# 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. | #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. | ||
# Once Frozen Bubble is installed, you'll be taken back to it's description page and "Installed" will be displayed at the top. | #Once Frozen Bubble is installed, you'll be taken back to it's description page and "Installed" will be displayed at the top. | ||
# Open you Application Menu again and select All Applications from the top right. | #Open you Application Menu again and select All Applications from the top right. | ||
# Select Games, and then Frozen Bubble. | #Select Games, and then Frozen Bubble. | ||
# Hit Enter a couple of times to start a new game and have a play. | #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. | #*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!) | #* 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. | Now is a good time to install your favourite programs. The [[List of recommended GNU/Linux software]] might help you. | ||
[[Category:GNU/Linux]] | [[Category:GNU/Linux]] |
Latest revision as of 23:34, 7 December 2024
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 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:
- 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.
- Available from the Official Download page, there are a few different versions available:
- 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.
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
- Double click the Install Linux Mint icon on the desktop. The installation wizard will popup.
- Language selection is the first screen. Select yours and hit Continue.
- 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.
- Hit Continue on the system requirements screen.
- 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.
- Erase disk and install Linux Mint (default): This is fine for our virtual machine and this is what we'll use.
- 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.
- 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.
- Keyboard layout is next. If you're not sure what layout you have, you have English (US). Select your Layout and hit Continue.
- 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.
- Hit Continue to the Who Are You screen.
- 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.
- The install will finish and you'll be prompted to either Continue Testing, or Restart Now. Click Restart Now.
- 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).
- 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:
- Create a new Hyper-V VM with a 50gb+ VHD.
- Install Windows 10, or another Windows version.
- Create a checkpoint of your VM.
- Boot the VM with the Linux Mint installation media inserted.
- Double click the Install Linux Mint icon on the desktop.
- Fill in the details on the first few screens of the wizard:
- Select your language.
- Continue on from the requirements check.
- 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.
- With "Install Linux Mint alongside Windows" selected, hit Continue.
- Next is a simple GUI slider to define how much space Mint will take from Windows.
- 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.
- 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.
- 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.
- Wait for the Mint install to complete.
- You'll be asked if you want to reboot. You do, so hit Restart Now.
- Mint will shutdown, then the virtual machine will restart.
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:
- Find the official website of the software (or some unofficial source).
- Download the correct installer for your system (or get the wrong one and try again).
- Run the installer (answering banal questions and dodging toolbar installs).
- Files are installed into C:\Program Files\Developer Name\Software Name (or somewhere else).
- 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:
- Run the package manager.
- Find the software you want.
- Press install.
- Packages are downloaded and installed.
- 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:
- Click on your Application Menu in the bottom left of screen and select Software Manager. It will prompt you for your password.
- 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).
- Double click on "frozen-bubble". You'll see some screenshots and a description, as well as an Install button.
- 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.
- 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.
- Once Frozen Bubble is installed, you'll be taken back to it's description page and "Installed" will be displayed at the top.
- Open you Application Menu again and select All Applications from the top right.
- Select Games, and then Frozen Bubble.
- 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.