How to Learn Linux

Learning Linux is not a one day task but it isn't herculean either. Linux can be a good and safe OS for both home and enterprise level users. Keep in mind before saying 'Hey, I'm going to start working on Linux from tomorrow' that there is...

Part 1 of 5:

Choosing your Linux distribution

Linux is an operating system that comes in many variations, called distributions (or "distros"). They're all different, and some of them have particular purposes, while others are better for different types of users.

  1. Picture 1 of How to Learn Linux
    Learn about the many Linux distributions available. For server-level operations, CentOS, SUSE, or Red Hat Enterprise Linux are the most popular distributions. For the home users, Ubuntu, Linux Mint or ElementaryOS are good distributions. For someone who wants the latest applications, there is Fedora. However, Ubuntu will suffice for nearly all types of users.(http://www.ubuntu.com)
    1. The image below shows OpenSUSE.
Part 2 of 5:

Choosing a Desktop Environment

  1. Picture 2 of How to Learn Linux
    Learn about the desktop environments you can use with your Linux distribution. In Linux, the user can choose what their desktop (and related bits and pieces) looks like. Distros like Ubuntu or Mageia give you the choice. The most popular desktop environments include kde and gnome. These can be chosen during installation.To switch between desktop environments (assuming they are there!) the command switchdesk is used. (e.g. Open Terminal and type in switchdesk kde to switch to kde.
    1. Below is a picture of Gnome 3.
Part 3 of 5:

Familiarize Yourself with the Applications

  1. Picture 3 of How to Learn Linux
    Browse the applications that came with your OS. In Gnome 3, one has to click on "Applications" to view applications. In Kde, there is a type of 'start menu' in the bottom bar. Thus the installed applications can be viewed. To open an application, click on it once. To surf the web, there may be an application titled 'web' or 'browser', or some distros even come with Firefox bundled. All the fundamental applications usually come bundled with the distro. Installation of extra applications are covered in the later sections of this article.
  2. Picture 4 of How to Learn Linux
    Use the internet:
    1. Chances are your broadband has been set up during installation.
    2. If you are using a wireless dongle in your laptop, then after installation of the OS, connect it and follow the instructions given in your dongle's manual to install it.
    3. Open the browser from the list of applications. It may be Firefox, Midori, or just Web/Browser.
    4. Access the internet!
Part 4 of 5:

Learn How to Use the Terminal

The Terminal is an application that all Linux OSs have built-in. It's incredibly powerful, and allows you to do almost what a computer can do via text commands.

  1. Picture 5 of How to Learn Linux
    Download and view files. You can download files and applications via the terminal.
    1. File downloads are similar to Windows, but you must keep in mind the type of file you are downloading. If it is an application, make sure it is meant for Linux and not Windows or Mac.
    2. If you are trying to open a document (e.g. a text document) and there is no inbuilt application for opening it, try opening it in the browser (e.g. Firefox can open a text document).
      1. To do this, right click on it and then select Open With. Then choose your browser and set it as the default. Usually, there are options for this at the top or bottom of the window.
  2. Picture 6 of How to Learn Linux
    Install applications that you want or need. The first place you should always look is in the Software Center that came with your OS. This is the application that will help you find new apps you can install; it will also help you install and uninstall them easily. If you can't find the application you want in the Software Center, then you may be able to find it on the internet and install it using the Terminal.
    1. Applications may come in a binary package(installation without compiling - this is easier) or in a tar.gz/tar.bz2/tgz package (this is more difficult).
    2. The image below shows the downloading of a binary package from a repository.
  3. Picture 7 of How to Learn Linux
    Install applications that aren't in the Software Center using the Terminal. Follow these steps to install a tar.gz/tar.bz2/tgz package.
    1. The first thing you need to do is extract it to a folder. For this example, let's make it your desktop. You can extract an archive right-clicking on it and choosing the appropriate entry. It should create a new folder with a similar name, e.g. program-1.2.3. Now you need to open your terminal and then go to that directory: cd /home/yourusername/Desktop/program-1.2.3. Make sure you first read a file called INSTALL or INSTALL.txt or README. Check if there are any of these files with the ls command, then display the right one with: (type these in the terminal. Note: please make sure you have root/superuser privileges. Become root first. Do this by typing sudo -s in distros like Ubuntu. In distros like Mageia, the "su" command works.)
    2. xdg-open INSTALL
    3. The file will contain the right indications to go on with the compiling process. Usually the three "classical" steps are:
    4. ./configure
    5. make
    6. sudo make install
    7. You may also need to install some dependencies, generally after a configure error that will tell you what you are missing. You can also use check install instead of make install.[1]
  4. Picture 8 of How to Learn Linux
    Install a simple binary package using the Terminal.
    1. For Ubuntu/Debian/distros based on either (e.g. ElementaryOS) the binary package comes with a .deb extension. Go to the Terminal and type dpkg -i /home/yourusername/directory/filename.deb
    2. OR you can right click on the file, go to properties, copy the directory given and type:
    3. dpkg -i
    4. Make sure there is a space and a slash (/) before the directory. The directory looks like this:
    5. (space)/directory
Part 5 of 5:

Familiarize yourself with the file system

Just like Windows and Mac OS, Linux organises all the content on the computer in files and folders (also called directories). If you were a Windows user in the past, you'll know that the default desktop directory was c:/users/[username]/desktop, but in Linux it's different. The substitute of c:/users/[username]/ is usually /home/[username] or /[username]/home.

  1. Picture 9 of How to Learn Linux
    Learn where common directories are. You should not have problems finding files and documents and downloads in linux because they are generally listed as follows:
    1. Downloads can be found under Downloads (unless the user specifies). The Downloads folder is /home/username/Downloads (generally it is this one) or it may be /username/home/Downloads for your distro. (Then you are not using Ubuntu, Linux Mint, etc.)
    2. Documents can be found under Documents.The directory is /home/username/Documents.
    3. You can always see the directory of a file by right clicking on it and then selecting "Properties".
  2. Picture 10 of How to Learn Linux
    Share files and folders with other users. One can easily set up their Dropbox account or sync their bookmarks and open tabs via the browser.
    1. [Update: Ubuntu One has been discontinued] Use Ubuntu One. Ubuntu users get Ubuntu One, which gives them free cloud storage. This can be used for sharing of files across multiple platforms. Below:Ubuntu One
Update 04 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile