What is Linux?

Linux is an operating system (OS)A software interface that manages the communication between users and hardware components., like Windows and Mac OS. It is different from most mainstream operating systems because it is open-source. It performs major functions such as device drivers, memory and process management, system calls and security, file management systems, and network communication capabilities.

Windows (Microsoft), Mac OS (Apple), Linux (open source), Android (Google), and Unix are some of the popular OS.

Components

Linux consists of several different components discussed below.

Components of embedded Linux systems
Components of embedded Linux systems

Applications

Linux offers high-quality applications that can be installed easily. Linux uses the Ubuntu Software Center with a list of applications for quick search and installation from one central location.

Boot loader

A boot loader or manager is a program located in the program memory that executes when an application requires reloading, which helps in the boot process. It is primarily a popup splash screen that eventually goes away to boot into the OS.

Daemons

Daemons, also called the background processes, ensure the proper functioning of the OS. These processes start up once you log into the desktop. 

Graphical server

This is a subsystem that controls how the graphics are displayed on your screen. The X Window System, otherwise known as X11 is the most common server for Linux. Without it, the users can only interact with Linux through a command-line interface. 

Init system

Init system is a subsystem that starts during the boot process to bootstrap the user space. It is mainly a background process that runs until the system is shut down. Systemd is an init system that manages the boot process after the completion of initial booting by the bootloader. 

Kernel

The kernel is the core component of OS which manages the memory, processes, device drivers, requests for security services, and directs the CPU to perform tasks. The kernel has a separate space where the memory is allocated for processes, the location where the data is stored.

Desktop environment

It is the environment which users usually interact with. There are several desktop environments like Cinnamon, Mate, Pantheon, and Enlightenment. Each environment includes built-in applications such as configuration tools, games, web browsers, and file managers.

Linux distributions

Linux has different versions to match the users' needs. These versions are called distributions. Almost every distribution of Linux can be downloaded and installed for free. 

Popular linux distributions
Popular linux distributions

The most popular Linux distributions include

  • Debian

  • Red Hat

  • SUSE Enterprise

  • Fedora

  • Ubuntu

  • Linux Mint

  • Elementary OS

Some distributions offer modern user interfaces (such as Elementary OS and Gnome’s Pantheon), while others stick to a traditional desktop environment. Some server distributions, such as Ubuntu and CentOS, are free, while others are paid, such as SUSE and Red Hat. 

Choosing the most suitable distribution depends entirely on whether you prefer a server or desktop and a modern or a traditional desktop interface.

Linux Installation

The typical installation of Ubuntu Linux is as follows:

  1. Preparation (Installation requirements)

  2. Wireless setup (Network connection)

  3. Hard drive allocation (dual boot or install over an existing Linux version)

  4. Location setup

  5. Keyboard selection

  6. User setup (Username and password)

Once the installation is completed, reboot the system, and you are ready to go.

Software installation on Linux

Applications are easy to install, just like the operating system itself. Each distribution has a centralized App Store where the applications can be installed easily. SUSE has AppStore, elementary OS has AppCenter, Ubuntu Linux has GNOME Software, and some other distributions are based on Synaptic.

Each of the centralized tools depends on GUI (Graphical User Interface). However, the Command line interface can be used for installation in GUI-less servers which is easier and faster than desktop GUI-based management tools. 

Debian, Ubuntu, Mint and others

Linux Mint, Ubuntu, and all Debian-based distributions use .deb files and dpkgA package manager for debian based systems. for package management. To install applications from a repository, You can use the apt command. To install applications from .deb files, you can use dpkg command.

  • Using apt

$ sudo apt install app_name
Install specific app
$ sudo apt update
Update all apps
$ sudo apt update app_name
Update specific app
  • Using dpkg

Use dpkg if the application you want to install is available as .deb download.

$ sudo dpkg -i app_name.deb

Conclusion

In conclusion, Linux is an open-source OS widely used across industries and has gained significant popularity over the years due to its security, versatility, and community-driven developmental model. Linux distributions offer a wide range of operating systems to choose from, each with its own perks and drawbacks.

Match The Answer
Select an option from the left-hand side

Kernel

Software interface

OS

Manages the boot process

Daemons

Linux component

Systemd

Background processes

Mint

Core component

Graphical server

Linux distribution


Free Resources

Copyright ©2024 Educative, Inc. All rights reserved