MrBeeBenson's site

The Ubuntu handbook - 22/05/21

Sometimes Linux for new users can seem uninviting, daunting and confusing. It looks really complicated from an outsiders perspective and so people may feel put off by it, however I am here to attempt to make Linux seem less daunting. I recommend that you use Ubuntu if you wish to follow this guide since the guide was written with new Ubuntu users in mind.

What is Linux?

The Linux Kernel, also known simply as "Linux", is an operating system kernel written in C. Every Linux-based operating system (known as a distribution) uses the Linux kernel, as well as a package manager, within its system. The Linux Kernel itself, as well as many distributions are Free and Open Source, meaning that anyone can contribute to the code, modify it, redistribute it and use it for free. There are thousands of different Linux distributions, which typically take other Free, Open Source Software components to create a fully functioning operating system. This can include applications, package managers and Desktop Environments.

What makes a Linux distribution?

Many different things can come bundled within a Linux Distribution, such as software, Desktop Environments, an installer, package managers and of course, the Linux kernel.

Typically a version of the Linux Kernel, as well as a package manager is enough to be classed as a Linux distribution. Depending on the Linux distribution, they may lack an installer, or come with programs for you to install the system yourself (such as Arch or Gentoo), whereas other Linux distributions may come bundled with an installer and a Desktop Environment (such as Ubuntu, Fedora or Manjaro).

What is a Desktop Environment?

A Desktop Environment contains an array of software pre-installed, such as themes, icons, other UI elements, applications, APIs and more to help give a full and consistent desktop experience on Linux. It provides a graphical desktop for you to be able to do your tasks on your computer. Each Desktop Environment has a distinct look and feel, with different methods of customization. Some well known desktop environments are GNOME, KDE, XFCE, LXQt, Budgie and Pantheon.

The Ubuntu Installer

The installer for Ubuntu is fairly straight-forward. It will typically present you with a series of options, where you will choose some simple things to help with getting started such as: Whether you want a minimal or full installation, keyboard layout, username and password, timezone and which drive you want to install Ubuntu on.

How to install/remove/update applications via APT

APT is the default package manager for Ubuntu. Updates, app installations and app deletions will typically be handled through apt (or a third party package manager if you choose, such as Flatpak).

apt search [package-name] - This will search for a package with this name. Example: apt search firefox

sudo apt install [package-name] - This will install an application with this name. Example sudo apt install firefox

sudo apt remove [package-name] - This will remove an application with this name. Example sudo apt remove firefox

sudo apt update - This will update your repositories

sudo apt upgrade - This will update any packages which require updates.

There are many wonderful commands which we have not covered here, however I recommend using a search engine such as DuckDuckGo or Google to find your answers.

How to add Flatpak, and the Flathub repository onto your system

Flatpak is a package-manager which works across almost every Linux Distribution, and sandboxes its applications, which helps aid security as it limits the permissions that applications have on your desktop. Flatpak primarily hold third-party software in their repositories, whereas Ubuntu repositories will not. Steam, Minecraft, Spotify and Discord are all available from the Flathub repository. Flathub is the best place to get Flatpak apps.

sudo apt install flatpak - Installs flatpak.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - Adds the Flathub repository to Flatpak.

How to install/remove/update Flatpak applications

Flatpak commands to install/remove/update software is similar to that of APT.

flatpak search [app-name] - This will search for applications based on the app name you searched. Alternatively you can use this website.

flatpak install [app-name] - This will install an application from Flatpak.

flatpak remove [app-name] - This will remove an application that was installed from Flatpak.

flatpak update - This will update applications from Flatpak.

Installing the default GNOME Desktop Environment

By default Ubuntu comes with a modified version of the GNOME Desktop Environment, however many people prefer the standard GNOME desktop environment as it looks more modern and fluid. To install this desktop environment you will need to enter into your terminal:

sudo apt install gnome-session && gnome-tweaks

This will install the gnome-session, as well as the "Tweak tool", which allows you to change between light and dark theme and enable/disable extensions].

Now after the installation you will need to reboot, then click on your name on the login manager.

This will now install the default GNOME session on Ubuntu!

Conclusion

Despite being complicated at first, I personally feel like Linux - while initially seeming daunting - can be a very friendly and inviting operating system if newcomers are given the right guidance. This quick-start guide was intended to help people learn how to use Linux by starting them on a fairly simple Ubuntu installation, and teaching them how to install, remove, update packages as well as install desktop environments.


# Sources

# Edits



Made with ❤️ by MrBeeBenson.