This module introduces students to installing Linux, understanding the Linux interface, accessing the command line, and managing software packages. These skills are essential for anyone preparing to use Linux for cybersecurity tasks.
Installing Linux in a virtual environment is the safest and most convenient way for beginners to learn. A virtual machine allows you to run Linux inside your existing operating system without affecting your main system.




VirtualBox is a free virtualization software used to run multiple operating systems on a single computer.
Steps to Install Linux on VirtualBox
Advantages




VMware Workstation is another powerful virtualization platform commonly used in cybersecurity labs.
Steps
Benefits
A desktop environment (DE) is the graphical interface that allows users to interact with Linux using windows, icons, menus, and panels.
Common desktop environments include:
1. Application Menu
2. Taskbar or Panel
3. File Manager
4. System Tray
5. Desktop Workspace
Different Linux distributions use different desktop environments depending on their design goals.
The terminal is one of the most powerful tools in Linux. It allows users to interact with the system using commands instead of graphical menus.




The terminal communicates with the system through a program called a shell.
The most commonly used shell is Bash.
Method 1 – Keyboard Shortcut
Ctrl + Alt + T
Method 2 – Application Menu
Method 3 – Right-click Desktop
| Command | Purpose |
|---|---|
pwd |
Shows current directory |
ls |
Lists files and folders |
cd |
Changes directory |
clear |
Clears the terminal screen |
whoami |
Shows current user |
Linux systems regularly receive updates that improve security, performance, and stability.
Keeping your system updated is very important in cybersecurity environments.
Example in Debian-based systems:
sudo apt update
sudo apt upgrade
Explanation:
apt update → refreshes the package listapt upgrade → installs the latest versionsUpdates help protect the system from known vulnerabilities and security threats.
A package manager is a tool used to install, update, remove, and manage software in Linux.
Different Linux distributions use different package managers.
APT (Advanced Package Tool) is used in Debian-based distributions such as:
Common APT commands:
| Command | Function |
|---|---|
sudo apt update |
Update package list |
sudo apt upgrade |
Upgrade installed packages |
sudo apt install package-name |
Install software |
sudo apt remove package-name |
Remove software |
Example:
sudo apt install nmap
YUM is used in older Red Hat-based systems.
Examples:
sudo yum install package-name
sudo yum update
sudo yum remove package-name
It automatically handles dependencies required for software.
DNF is the modern replacement for YUM and is used in newer distributions like:
Examples:
sudo dnf install package-name
sudo dnf update
sudo dnf remove package-name
DNF provides better performance and dependency management than YUM.
At the end of this module, students should understand:
These skills prepare students for the next stage: mastering Linux command-line operations and system administration.