BIO 401 Note... Introduction To Linux
BIO 401 Note... Introduction To Linux
What is Linux?
Definition: Linux is an open-source, Unix-like operating system based on the Linux
kernel, developed by Linus Torvalds in 1991.
Kernel vs. Operating System:
o Kernel: The core part of Linux, managing hardware resources and
communication between hardware and software.
o Operating System (OS): Linux distributions include the kernel, applications, and
system utilities to form a complete OS.
Characteristics:
o Open-Source: Free to use, modify, and distribute. Encourages collaborative
development.
o Multitasking & Multi-user: Allows multiple users and applications to run
simultaneously.
o Portability: Runs on various hardware platforms (PCs, servers, smartphones,
embedded devices).
Linux Distributions
Popular Distributions:
o Ubuntu: User-friendly, popular for desktops and beginners.
o Debian: Stable, secure, preferred for servers.
o Fedora: Often cutting-edge, developed by Red Hat, with a focus on new features.
o CentOS: Enterprise-grade, free version of Red Hat Enterprise Linux (RHEL).
o Arch Linux: Minimalist, ideal for advanced users.
Components of a Distribution:
o Kernel: Core of the OS.
o Shell: Interface for executing commands (e.g., Bash, Zsh).
o Package Manager: Manages installation, updating, and removal of software
(e.g., apt for Debian/Ubuntu, yum for RHEL/CentOS).
o Desktop Environment (Optional): For graphical user interface (GUI), e.g.,
GNOME, KDE, XFCE.
Package Management
Common Package Managers:
o apt: For Debian/Ubuntu-based systems.
o yum/dnf: For RHEL/CentOS-based systems.
o pacman: For Arch Linux.
Basic Package Commands:
o install: Installs a package (e.g., apt install [package]).
o update/upgrade: Updates package lists or upgrades packages.
o remove: Uninstalls a package.