Creative Inquiry

Logo

The hub for CUFCTL creative inquiries.

View the Project on GitHub CUFCTL/mlbd

Linux

Linux is a family of free and open-source operating systems based around the Linux kernel. The history of Linux is quite complex, and so is it’s family tree. There are hundreds of Linux flavors available on the Internet now, but for starters here are just a few flavors to be aware of:

Debian

The Debain family houses the (arguably) most popular Linux distribution, Ubuntu. Ubuntu is the OS of choice for anyone using Linux for the first time, because it has all the features of a typical OS such as Windows and Mac. Other members include Raspbian, the OS for Raspberry Pi.

Red Hat

Red Hat is the name of both a company and their OS brand. It’s members include Red Hat Enterprise Linux and CentOS, both of which are used commonly for HPC systems. CentOS is free, RHEL is not; Clemson’s Palmetto cluster currently uses RHEL.

Arch Linux

Arch Linux is minimal, elegant, fast, and it has a learning curve. Not for the faint of heart, or for beginners. Mostly used by people who want to be able to say that they use Arch Linux.

For people who are new to Linux, it is enough to know that (1) Ubuntu is a good first choice to learn Linux because a lot of people use it so it’s well maintained, and (2) RHEL/CentOS is typically used for HPC systems (including Palmetto). Both flavors are fairly similar on the command-line, so if you learn one you can figure out the other pretty quickly.

Installation

There are a lot of ways to get Linux, so we will focus on the most comman ways to use Ubuntu. In particular, you don’t have to completely wipe your computer and install Linux from scratch, you can use it alongside Windows or Mac (or whatever you have).

NOTE: If you only need to access a remote Linux machine (such as Palmetto) through SSH, you may not need to install Linux at all. Mac OS already has a built-in terminal which can use ssh, and on Windows you can install any SSH software, including PuTTY, SecureShell, or any SSH browser extension.

Windows Subsystem for Linux (WSL) on Windows 10

For anyone with Windows 10, this option is probably the best if you only need a basic command-line. You just have to tweak some Windows settings and then you can install any popular Linux distro (such as Ubuntu) like any other app:

Virtual machine

A virtual machine is an entire OS contained in a program, running on another OS. In this case, you can create a Linux virtual machine and run it on Windows or Mac. VirtualBox is a common tool for doing this. While this option is probably the easiest to set up, it’s not as efficient because you have to run two OS’s at the same time.

Dual-boot

The standard way to install Ubuntu is to download the ISO image, burn it to a USB drive (don’t worry, not permanent), boot into the USB drive (instead of your hard drive like normal), and install Ubuntu using the installation wizard. But Ubuntu is polite, so it will let you split your hard drive in two and install Ubuntu on one half while leaving your original OS on the other half, untouched. This process is called dual-booting, and practically every Linux distro supports it. It is the recommended practice for anyone who wants to use Linux heavily but also wants to keep Windows or Mac. It is more efficient than a virtual machine, although it introduces a slight inconvencience of having to pick your OS every time you boot your computer.

Tutorials

Honestly, there are so many Linux tutorials already… just find one of them and go with it. You will most likely learn how to use Linux by using it and looking up help when you need it. Google and Stack Overflow are your friends. But, for starters, here is a video series on Youtube created by Clemson CITI:

Introduction to Linux

Further Reading