This document provides an overview and installation instructions for the Linux operating system. It discusses that Linux is an open-source, independent operating system with commands similar to Unix. It was introduced by Linus Torvald in 1991-1994. The document also summarizes different Linux distributions like Ubuntu, RedHat, and Mint and covers basic Linux concepts such as shells, users, directories, and case sensitivity. Furthermore, it provides step-by-step instructions for downloading and installing the Ubuntu desktop version on a system with minimum requirements of 1GB RAM, 5GB disk space, and a 1GHz processor.
3. Introduction
• Intermediate layer
between Software
& Hardware
• Introduced by
Linus Trovald
• 1991-1994
Operating
System
• Completely
independent OS
• Opensource
• Commands
similarity
Linux vs
Unix
2/8/2016 Prepared by: Bushra Abro 3
4. Opensource
A MisconceptionNot Free!
•Free does not always means free of charge!
•Free refers to freedom
Source code and functionality is open and visibleSource code availability
Annual fee, Production use license, Support/training feeLicense types
2/8/2016 Prepared by: Bushra Abro 4
5. Distributions
• Different functionality according to requirements
Concept
• Enterprise, Security, General purpose
Types
• Ubuntu, RedHat, Kali, Mint, OpenSuse, etc
Examples
2/8/2016 Prepared by: Bushra Abro 5
6. Basic concepts
Shell
• GUI vs LUI
• Commands
needed
root
• Highest
level
• User,
Directory
Capitalization
• Case
sensitivity as
opposed to
windows
2/8/2016 Prepared by: Bushra Abro 6
7. Server Vs Desktop
Server
• no GUI
• Meant for server tasks
• Works efficiently
• Stable (best OS for servers)
Desktop
• GUI
• General purpose software
• Not an ideal OS as compared to Windows or Mac
2/8/2016 Prepared by: Bushra Abro 7
9. Download and Creating Bootable USB
2/8/2016 Prepared by: Bushra Abro 9
Download
• http://www.ubuntu.co
m/desktop
• Latest available to-
date: Ubuntu 14.04.3
LTS (5years security
and maintenance
updates)
Installation Media
• CD or USB
• USB installer:
http://www.pendriveli
nux.com/universal-
usb-installer-easy-as-1-
2-3/#button
System Requirements
(Minimum)
• RAM : 1 GB
• Disk space: 5 GB
• A CD drive, USB port,
graphics resolution
1024*768
• Processor speed 1GHz
• Should support
virtualization if dual
boot is required
13. C++ compiler in Ubuntu
• Update package list: sudo apt-get update
• Install g++ compiler: sudo apt-get install g++
• Write a program
• Example:
2/8/2016 Prepared by: Bushra Abro 13
#include <iostream>
using namespace std;
int main ()
{
cout << “This is My first c++ program in
Ubuntu";
return 0;
}