Introduction to Linux!
Want to get started with Raspberry Pi or Linux on your laptop? This workshop will introduce the most popular operating system in the world! Although most people are more familiar with Windows or Mac, Linux OS runs the vast majority of web servers, super computers, smartphones (Android), TVs, and other electronic devices. You can also use desktop versions for free on your laptop or home computer! Come get an introduction to free and open source operating systems, and see desktop versions of Linux in action on Raspberry Pi and laptops. We will get oriented to the basics of the desktop and learn how to install it on a computer.
What is Linux?
Linux (pronunciation) is a family of open source operating systems (OS). An OS is made up of a many components, basically:
- Bootloader: starts the low level processes necessary to boot an OS, usually for GRUB
- Kernel: manages the hardware and low level software components, this is actually Linux
- Shell: text-based command line interface
- Desktop environment: graphical interface
- Applications: individual programs run from the desktop or shell
Linux is usually shipped as a complete package of components called a distribution (distro). There are thousands to choose from, each with different philosophies, strengths, and use cases.
Linux is Free Software, meaning cost-free and freely licensed, giving you freedom (as in freeeeeedoooom)! You can control, inspect, modify, copy, and share the OS. But for most users, that is not necessarily the most compelling reason to use Linux. Instead they just appreciate a solid, powerful, and user-friendly OS. Linux provides security, privacy, stability/reliability, customization, and cost benefits, in addition to access to a vast ecosystem of open-source applications and services. Linux runs most web servers, super computers, and single board computers. So if you want to use a VM in the cloud, do high performance computing, or tinker with a Raspberry Pi at home, it’s helpful to know Linux. But it also makes a great OS for your personal computer! Thus, there are many practical and ideological reasons to use Free and Open software.
Bloatware, adware, viruses, oh my! Many people are sick of the shady commercial practices of Windows, Apple, and PC manufacturers that put user security and privacy at risk. Propriety OS limit your rights and control as a user. Linux distros are viable alternatives!
Surf Distrowatch to browse the latest distro news! Part of the fun of getting started with Linux is choosing a distro, but it can also be very overwhelming. Most distros are a package of technical low-level stuff, plus a desktop and selection of basic applications. Many are focused on running servers, others on desktop users. Here are some things to consider:
- Out-of-the-box experience. Do you want it to just work or are you willing to spend time customizing it? Do you want all the applications pre-installed or minimalist (Arch)?
- Installer! Older Linux distros were hard to install–Ubuntu really changed that, but some installers are still friendlier than others.
- Dual booting options. Do you want to keep windows? Some installers make it easy (Ubuntu).
- Repositories. Some distros have huge repos of applications (Debian), making installing new software secure and easy. Some are more up-to-date than others. Others are more DIY (Arch).
- Hardware support. Some distros support a huge range of legacy hardware. Others have better support for the newest hardware (look for newest kernel version).
- Current vs LTS (long term support). Do you want to install an OS that will be supported for a LONG time so that you won’t have to upgrade or do you want the latest-and-greatest?
- Rolling release vs. fixed release. Rolling release distros have a continuos stream of updates, you always have the latest software and never have to upgrade to a new version. Fixed release are more traditional and stable with incremental versions that require an large upgrade every so often.
- Ecosystem. Do you use a Linux server at work? Choose a distro from the same family to make life easier.
My easy suggestion: use Ubuntu or an Ubuntu flavor. The installer is easy to use (supports easy dual booting with Windows) and hardware support is great. But check out the Appendix at the bottom for MORE suggestions!
The desktop environment (DE) is the graphical interface you will be staring at all day. Unlike windows, mac, or chrome, with Linux you have a choice of desktops. It is separate from the core of the distro and can be installed independently. In fact you can install more than one! Things to consider:
- Weight. How graphics heavy is it. If you have an old computer or low spec hardware, go light!
- Configurability. How much do you want to tweak the look and feel? Do you want it to just look good out of the box?
- Unique vs. traditional. Do you want something different or are you nostalgic for the old days?
- GNOME. modern, minimalistic, no start menu, extensions add functionality
- Budgie. up-and-coming project (get newest version with Solus)
- Cinnamon. more traditional desktop with start menu (get newest version with Mint)
- MATE. traditional, based on an old version of GNOME
Unity. Until version 17.10, Ubuntu shipped with a unique desktop. It is still available in LTS version 16.04, but the future is uncertain.
- KDE. very configurable, complex, windows-like (get newest version with Neon)
- Xfce. lighter weight, traditional linux desktop
- LXDE. very light weight, basic features. Also see LXQt variant.
- Tiling window managers, e.g. xmonad
Most desktops support themes which make it easy to change the look and feel. For example check out the themes page at OMG! Ubuntu!. You might hear about GTK vs. Qt applications and themes. Gnome uses GTK and KDE uses Qt, so applications based on the non-native tool kit won’t style correctly.
Try and Install!
The best way to learn Linux is to try it. When you buy a Windows, Chromebook, or Mac computer, the operating system (OS) comes pre-installed. However, if you are interested in running Linux or other open OS, you will have to install it yourself. Modern Linux distros are released as an ISO disk image, often called a “live cd” or “live usb”. This means you can download an ISO, burn it to a USB stick, and then boot up into the desktop without actually installing or changing your hard drive! Give it a try, with these instructions.
Or you can install VirtualBox on a computer to try out any distro in a disposable virtual machine. The performance will be very limited, but it is an easy way to test something out or see what the install process looks like.
Once you try it out, install it! Most installers are graphical and friendly.
If you have ever used a computer, almost everything will be familiar! No big deal. Here are a few things slightly different from Windows:
- User accounts and passwords. You are always logged in as a user and require a password to make any changes to the system (Windows tends to hide this).
- File system, home directory. Linux uses a different file system that Windows can’t read and is presented differently. On Window the root is the drive letter
C:\. Linux presents all drives as a unified file system, with the root at
/and your user directory at
/home/username(Linux doesn’t use Windows back slashes
- Updates. Updates are pushed out very regularly by most distros keeping you secure and fixing bugs. The updates cover the OS and all installed applications. First the catalog of all software in the distro’s repositories is updated, then updates that apply to your installed software are downloaded. There is usually an updater application, you may need to start it manually.
- Software center. Applications can be easily and securely installed from your distro’s repository. There is usually an GUI app to find and manage your software.
- Terminal. Command line is really handy! See this mini-workshop.
- UIdaho wifi. Connecting to AirVandalGold requires some extra steps, see my instructions.
Major distro families
Debian boring, stable distro with extensive repositories that is the base of MANY other distros. Uses
apt configuration and
- Ubuntu developed by Canonical based in the UK, it is the most popular desktop linux, very beginner friendly
- Raspbian Official OS of Raspberry Pi, unique Pixel desktop
- Tails privacy focused distro
yum configuration and
- RedHat USA based non-free enterprise Linux
- CentOS free RedHat
- Fedora Spins
- Fedora Labs specialized distros from science to games
- SUSE Enterprise Germany based enterprise Linux
Arch K.I.S.S. DIY, not user friendly
Solus up-and-coming independent distro developing Budgie desktop
Portable. Some linux distros are specifically designed to be portable, i.e. you always use them from a USB stick and do not install to a hard drive. This makes them simple, fast, and secure. For example:
Entertainment. There are many specialized minimalist distros that act as entertainment centers, usually run on a Raspberry Pi or similar device.
Other open OS. There are other open-source OS out there, Linux is just the most popular.