How do I Install Linux

From Linux Bash Shell Scripting Tutorial Wiki
Jump to navigation Jump to search

← Where can I download LinuxHomeLinux usage in everyday life →

How do I Install Linux on my computer?
How do I Install Linux on my computer?

You know what a Linux kernel is, Linux distributions and where to download Linux for fun and profit. Let us see how to install Linux because, without that, you will not be able to use it and learn Bash scripting under Linux.

How do I install Linux?

See the following section, which provides guidance and step-by-step instructions for installing Linux. In addition, these are official guides provided by various Linux distributions for installing Linux on your computer:

Create a bootable USB pen (stick)

To install Linux Desktop or server, you need to write your downloaded ISO CD/DVD image to a USB pen drive (also known as a USB stick) to create the installation media. Advanced users can always use the dd command to write ISO images. But, new users are recommended to use a software called balenaEtcher. It runs on Linux, macOS and Windows operating systems.

Other tools to create your USB

You can use the following software tool to create your USB pen/strick.

Virtualization option

You can also install Linux under a virtual machine. A virtual machine (often called a "VM") is a virtual environment that functions as a virtual computer system on a physical computer. It would be best to use specialized software and hardware to run VM. With VM, you no longer need to dual boot or format disks. Instead, you can keep your existing installation of Windows or macOS and use the following special software called a hypervisor to run the Linux VM. Some examples of Desktop virtualization applications are:

  1. VirtualBox (free option for Linux/Windows)
  2. QEMU (free option for Linux/Windows/Mac)
  3. VMware Workstation Pro (paid option for Linux/Mac/Windows)
  4. Windows Subsystem for Linux (Windows 10/11 desktop or Windows server 2019 only)
  5. VMware Fusion (paid option for Intel Macs)
  6. Parallels Desktop for Mac (paid option for Intel Macs and Apple M1 [ARM CPUs])

Typical steps to install Linux

  1. Download Linux ISO CD or DVD
  2. Burn that CD/DVD to your USB pen drive or DVD
  3. Back up all existing data. Do not skip this step.
  4. Some Linux distributions allows dual-booting by resizing existing Windows partition too.
  5. Then, restart the computer.
  6. Go to BIOS settings and enable boot from USB or DVD drive
  7. Insert the USB pen or DVD
  8. Then start booting from the USB pen/DVD
  9. Linux installer will popup on the screen
  10. You need to follow onscreen instructions

← Where can I download LinuxHomeLinux usage in everyday life →