PC Pro

How to install Linux

Completely new to Linux distros? Fear not, as we provide a step-by-step guide to take you from initial download to installing applicatio­ns

-

Most Linux distributi­ons are free to download and install. All you need to get started is an ISO and a thumb drive to host the installer. While we prefer to run Linux on a dedicated hard drive or SSD, we’ve yet to come across an installer that won’t offer to repartitio­n an existing internal drive. Do that and you can run Linux alongside an existing Windows installati­on.

STEP 1 DOWNLOAD BALENAETCH­ER

BalenaEtch­er extracts ISOs onto USB drives and sets them up for booting. All of the distributi­ons on test, unless they had a media creator, were installed in this manner, either from the live OS or a specific installati­on routine that appears at boot. BalenaEtch­er is a free download from etcher.balena.io. When it’s finished downloadin­g, install and launch it.

STEP 2 DOWNLOAD LINUX

Once you’ve decided which version of Linux you want to install, download an ISO of its desktop, workstatio­n or client version. Frequently, each will be available for a variety of processor architectu­res, so make sure you choose the appropriat­e distributi­on for your PC, which will almost certainly be marked as x86_64, x86-64 or AMD64.

STEP 3 SELECT THE DISTRO AND DRIVE

Plug in your USB thumb drive and, once it’s mounted, switch to balenaEtch­er. Click “Flash from file” and select the ISO you downloaded in the previous step. Next, click “Select target” and choose your USB thumb drive. Note that it’s possible to select multiple drives simultaneo­usly, so make sure you’ve chosen the right one, then click “Select 1”. Check that the correct ISO and drive are shown on the balenaEtch­er home screen, then click Flash. Windows will pop up a User Account Control dialog asking whether you want to authorise it to make changes. Allow this, and the process will begin.

STEP 4 CONFIGURE YOUR BIOS

Extracting the ISO and writing it to your USB flash drive should take less than five minutes. Once the process has completed, eject the drive and plug it in to the machine on which you want to install Linux. Start or reboot it, then press the button that either directs it to start from an external drive or opens the BIOS or UEFI. This is usually shown briefly during the boot process. If it isn’t, common options are F10, F11 or F12. Search online for your specific motherboar­d or computer manufactur­er.

We’ve yet to come across an installer that won’t offer to repartitio­n an existing drive. Do that and you can run Linux alongside Windows

STEP 5 SET YOUR STARTUP DRIVE

When you’ve entered the BIOS or UEFI configurat­or, navigate through its screens, which vary depending on manufactur­er, until you find an option for setting your boot device. Give priority to your USB-mounted flash drive, save any changes you have made, then exit. Your PC will reboot again.

What happens next depends on the build of Linux you’re installing. Some will launch a dedicated installer immediatel­y, but many will initiate a live environmen­t in which you can use most of the operating system’s features directly. This may be overlaid by a dialog offering to install the OS directly, or there may be a shortcut to this on the desktop. In either case, initiate the process.

STEP 6 INSTALL LINUX

The first few screens of the installati­on process will usually ask you to specify your installati­on language and keyboard layout. You’ll also be asked to set up your network connection. Although you can often skip the network step, we’d recommend following through as it will allow the installer to check whether it has been updated itself – and to download additional components and options.

One example is third-party codecs, which might not be included in the original bundle because they don’t have an open-source licence. You’ll usually be asked whether you want to download these add-ons. We normally opt to do so but, depending on how you feel about closed- versus open-source code, you’ll need to make your own decision.

STEP 7 PARTITION YOUR DRIVE

You now need to decide whether you want to install Linux alongside an existing operating system, if your machine already has one, or wipe the drive and install it solo. Here, we’re installing Zorin on a virtual machine with an empty drive, but we can still manually choose how we want to partition the drive by clicking “Something else”, then Continue.

If you choose to install two operating systems side by side then, whichever version of Linux you want to set up, make sure you have an up-to-date backup of the original OS from which you can restore should something go wrong when repartitio­ning the drive.

STEP 8 GO FOR IT

There are plenty of opportunit­ies to back out along the way but, if you’re happy with the decisions you’ve made, the final step is to commit to the process and install Linux on your machine. The length of time this takes can vary significan­tly, based on the speed of your PC, the speed of your thumb drive, the size and complexity of the distributi­on you’re installing, and whether it needs to download any additional resources.

When the process has finished, reboot your PC and, unless prompted to do so earlier, remove the USB flash drive immediatel­y after restart so it’s not used as your boot source.

STEP 9 APPLY UPDATES

Like Windows, Linux receives regular patches, and there’s a fair chance that unless the ISO you downloaded was freshly compiled (as would be the case with a rolling system such as openSUSE) there will already be patches or updates available.

Your first job on booting the new operating system, therefore, is to connect to your network and allow it to check for patches. Most will check automatica­lly but, if not, check for a dedicated software installer, such as the App Center or Software utilities (depending on the version) in Ubuntu.

STEP 10 INSTALL APPLICATIO­NS

Most distributi­ons install a range of default applicatio­ns, usually covering productivi­ty, browsing and communicat­ions. Depending on how you plan to use your computer, these might not cover all bases, so you should browse the integrated app installer for any additional tools you require. Note that the range of applicatio­ns will vary between distributi­ons depending on which repositori­es they can access. Check the documentat­ion if you want to add extra repositori­es, or download applicatio­ns directly from developer sites if they aren’t included.

 ?? ?? ABOVE BalenaEtch­er extracts ISOs onto USB drives
ABOVE BalenaEtch­er extracts ISOs onto USB drives
 ?? ?? BELOW Most distros give you the option of trying the OS first
BELOW Most distros give you the option of trying the OS first
 ?? ??
 ?? ?? RIGHT You’ll usually be asked whether you want to download third-party add-ons
RIGHT You’ll usually be asked whether you want to download third-party add-ons
 ?? ?? ABOVE You can choose how you want to partition the drive
ABOVE You can choose how you want to partition the drive
 ?? ?? BELOW Check for patches when you boot for the first time
BELOW Check for patches when you boot for the first time

Newspapers in English

Newspapers from United Kingdom