0% found this document useful (0 votes)
23 views

UNIT I LF

The document discusses different types of operating systems including batch, multi-programming, multi-processing, multi-tasking, time-sharing, distributed, network and real-time operating systems. It provides advantages and disadvantages of each type. It also briefly explains some commonly used operating systems like DOS, Windows, Linux, Mac OS and Android.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

UNIT I LF

The document discusses different types of operating systems including batch, multi-programming, multi-processing, multi-tasking, time-sharing, distributed, network and real-time operating systems. It provides advantages and disadvantages of each type. It also briefly explains some commonly used operating systems like DOS, Windows, Linux, Mac OS and Android.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Lokmanya Tilak Jankalyan Shikshan Sanstha’s

PRIYADARSHINI J. L. COLLEGE Of ENGINEERING,


NAGPUR
An Autonomus Institute Affillited to R.T.M. Nagpur University
Accredited with Grade “A” by NAAC
846, New Nandanvan Layout, Nagpur – 440 009

DEPARTMENT OF ARTIFICIAL INTELLIGENCE/ COMPUTER SCIENCE AND


ENGINEERING

Course: B.Tech. Semester/Year : II/I Sec:C Year of Study : 2023-24


Course Code:CSE206T Course Title : Linux Course Teacher : Prof. Shruti
Fundamentals Kolte

Q.1. Define Operating System. Discuss different types of OS.

Definition:
An operating system (OS) is system software that manages computer hardware and software
resources, and provides common services for computer programs. It is responsible for the execution of
all the processes, Resource Allocation, CPU management, File Management and many other tasks.
Operating System is a type of software that works as an interface between the system program
and the hardware.The purpose of an operating system is to provide an environment in which a user can
execute programs in convenient and efficient manner.

Types of Operating Systems


There are several types of Operating Systems which are mentioned below.

1. Batch Operating System

This type of operating system does not interact with the computer directly. There is an operator which
takes similar jobs having the same requirement and groups them into batches. It is the responsibility of
the operator to sort jobs with similar needs.
Advantages of Batch Operating System
1) It is very difficult to guess or know the time required for any job to complete. Processors of the
batch systems know how long the job would be when it is in the queue.
2) Multiple users can share the batch systems.
3) The idle time for the batch system is very less.
4) It is easy to manage large work repeatedly in batch systems.
Disadvantages of Batch Operating System
1) The computer operators should be well known with batch systems.
2) Batch systems are hard to debug.
3) It is sometimes costly.
4) The other jobs will have to wait for an unknown time if any job fails.
Examples of Batch Operating Systems: Payroll Systems, Bank Statements, etc.

2. Multi-Programming Operating System

Multiprogramming Operating Systems can be simply illustrated as more than one program is present in
the main memory and any one of them can be kept in execution. This is basically used for better
execution of resources.

Advantages of Multi-Programming Operating System


1)Multi Programming increases the Throughput of the System.
2)It helps in reducing the response time.

Disadvantages of Multi-Programming Operating System


1)There is not any facility for user interaction of system resources with the system.

3. Multi-Processing Operating System


Multi-Processing Operating System is a type of Operating System in which more than one CPU is used
for the execution of resources. It betters the throughput of the System.

Advantages of Multi-Processing Operating System


1)It increases the throughput of the system.
2)As it has several processors, so, if one processor fails, we can proceed with another processor.

Disadvantages of Multi-Processing Operating System


1)Due to the multiple CPU, it can be more complex and somehow difficult to understand.

4. Multi-Tasking Operating System

Multitasking Operating System is simply a multiprogramming Operating System with having facility of
a Round-Robin Scheduling Algorithm. It can run multiple programs simultaneously.

Advantages of Multi-Tasking Operating System


1)Multiple Programs can be executed simultaneously in Multi-Tasking Operating System.
2)It comes with proper memory management.

Disadvantages of Multi-Tasking Operating System


1)The system gets heated in case of heavy programs multiple times.

5. Time-Sharing Operating Systems

Each task is given some time to execute so that all the tasks work smoothly. Each user gets the time of
the CPU as they use a single system. These systems are also known as Multitasking Systems. The task
can be from a single user or different users also. The time that each task gets to execute is called
quantum. After this time interval is over OS switches over to the next task.

Advantages of Time-Sharing OS
1)Each task gets an equal opportunity.
2)Fewer chances of duplication of software.
3)CPU idle time can be reduced.
4)Resource Sharing: Time-sharing systems allow multiple users to share hardware resources such as the
CPU, memory, and peripherals, reducing the cost of hardware and increasing efficiency.
5)Improved Productivity: Time-sharing allows users to work concurrently, thereby reducing the waiting
time for their turn to use the computer. This increased productivity translates to more work getting done
in less time.
6)Improved User Experience: Time-sharing provides an interactive environment that allows users to
communicate with the computer in real time, providing a better user experience than batch processing.

Disadvantages of Time-Sharing OS
1)Reliability problem.
2)One must have to take care of the security and integrity of user programs and data.
3)Data communication problem.
4)High Overhead: Time-sharing systems have a higher overhead than other operating systems due to the
need for scheduling, context switching, and other overheads that come with supporting multiple users.
5)Complexity: Time-sharing systems are complex and require advanced software to manage multiple
users simultaneously. This complexity increases the chance of bugs and errors.
6)Security Risks: With multiple users sharing resources, the risk of security breaches increases. Time-
sharing systems require careful management of user access, authentication, and authorization to ensure
the security of data and software.

6. Distributed Operating System

The Distributed Operating system is not installed on a single machine, it is divided into parts, and these
parts are loaded on different machines. A part of the distributed Operating system is installed on each
machine to make their communication possible. Distributed Operating systems are much more complex,
large, and sophisticated than Network operating systems because they also have to take care of varying
networking protocols.

Advantages of Distributed Operating System


1)Failure of one will not affect the other network communication, as all systems are independent of each
other.
2)Electronic mail increases the data exchange speed.
3)Since resources are being shared, computation is highly fast and durable.
4)Load on host computer reduces.
5)These systems are easily scalable as many systems can be easily added to the network.
6)Delay in data processing reduces.

Disadvantages of Distributed Operating System


1)Failure of the main network will stop the entire communication.
2)To establish distributed systems the language is used not well-defined yet.
3)These types of systems are not readily available as they are very expensive. Not only that the
underlying software is highly complex and not understood well yet..

7. Network Operating System

These systems run on a server and provide the capability to manage data, users, groups, security,
applications, and other networking functions. These types of operating systems allow shared access to
files, printers, security, applications, and other networking functions over a small private network. One
more important aspect of Network Operating Systems is that all the users are well aware of the
underlying configuration, of all other users within the network, their individual connections, etc. and
that’s why these computers are popularly known as tightly coupled systems.
Advantages of Network Operating System
1)Highly stable centralized servers.
2)Security concerns are handled through servers.
3)New technologies and hardware up-gradation are easily integrated into the system.
4)Server access is possible remotely from different locations and types of systems.

Disadvantages of Network Operating System


1)Servers are costly.
2)User has to depend on a central location for most operations.
3)Maintenance and updates are required regularly.

8. Real-Time Operating System

These types of OSs serve real-time systems. The time interval required to process and respond to inputs
is very small. This time interval is called response time.
Real-time systems are used when there are time requirements that are very strict like missile systems, air
traffic control systems, robots, etc.
Types of Real-Time Operating Systems
a)Hard Real-Time Systems:
Hard Real-Time OSs are meant for applications where time constraints are very strict and even the
shortest possible delay is not acceptable. These systems are built for saving life like automatic parachutes
or airbags which are required to be readily available in case of an accident. Virtual memory is rarely
found in these systems.
b)Soft Real-Time Systems:
These OSs are for applications where time-constraint is less strict.
Advantages of Real-time operating system:
1) Easy to layout, develop and execute real-time applications under the real-time operating system.
2) In a Real-time operating system, the maximum utilization of devices and systems.

Disadvantages of Real-time operating system:

1) Real-time operating systems are very costly to develop.


2) Real-time operating systems are very complex and can consume critical CPU cycles.

Q.2. Explain various operating systems (DOS,Windows,Linux,MAC OS,Android)

DOS: DOS stands for Disk Operating System, which is an operating system that was popular till 1995
in IBM PCs. It is a single-tasking OS i.e., it can perform one task at a time. It is based on a command-
line interface where one has to provide instructions to the computer in the command form. It runs from
hard disks, floppy disks, or any other storage devices and thus provides an environment for the execution
of programs. It occupies less memory. To use more than 64kb of memory, memory extenders were used,
which older Windows used to use more memory. It was originally released only to OEMs(Original
Equipment Manufacturers) who added support for their hardware. It was eventually released to the
public.
Windows: Windows is a product of Microsoft. It is an operating system with various versions. It is
a Graphics-Based user interface. Users give commands through clicking or choosing icons and images
with the help of a mouse, keyboard, or touchscreen to the computer. Windows was originally a DOS
extender running on top of DOS. The Windows 9x family consisting of Windows 95, Windows 98,
Windows 98SE, and Windows ME ran on top of MS-DOS and is capable of running DOS programs
directly. Windows NT was released separately and is portable, and initially, it was written
in C and C++ languages where processor reliability code is separated into DAL and HLL and was
designed to be more secure than DOS and the Windows 9x family. The Windows NT family includes
Windows NT 3.x,4.x, Windows 2000, Windows XP, Windows Vista, Windows 7, and so on. Windows is
more reliable than DOS and handles errors with ease due to various tools available for debugging and
error handling.
Linux: Linux is a freely distributed multitasking and multi-user operating system that behaves like
UNIX. It was originally developed by a Finnish student, LINUS TORVALDS in 1991. It is the best
known and most commonly used open-source operating system. It is a cross-platform operating system
based on UNIX that can be installed on PCs and laptops.
MAC OS:macOS originally Mac OS X, previously shortened as OS X, is an operating system
developed and marketed by Apple Inc. since 2001.It is Apple's proprietary, Unix-based operating
system.It provides a sleek and intuitive user interface, seamless integration with other Apple
devices,and a robust ecosystem of software applications.

Android:Android is a mobile operating system based on a modified version of the Linux kernel and other
open-source software, designed primarily for touchscreen mobile devices such as smartphones and tablets.
Android is developed by a partnership of developers known as the Open Handset Alliance and
commercially sponsored by Google. It was disclosed in November 2007, with the first commercial Android
device, the HTC Dream, launched in September 2008. It is free and open-source software.

Q.3. Differentiate between DOS, Windows, And Linux

Feature DOS WINDOWS LINUX

Development Developed by Linux is developed by Open


Developed by Microsoft.
Microsoft. Source Development.

License Proprietary Proprietary Open-source

Interface It supports a Text- It supports both Command-line


It supports Graphical
Based/ Command-line interfaces/Graphical user
User Interface
interface. interfaces.

Multitasking DOS is unable to run


Windows supports
multiple processes at Linux supports multitasking
multitasking
the same time.

Distribution Linux is distributed by various


DOS was distributed Windows was distributed
vendors, such as Red Hat,
by Microsoft. by Microsoft.
Fedora, etc.

Usage Linux can be installed on a wide


Windows can be installed
DOS can be installed variety of computer hardware,
on PC desktops, laptops,
on standalone PC mobile phones, and video game
servers, and some mobile
desktops or laptops. consoles to mainframes and
phones.
supercomputers.

Customization It is possible to change


Expansions for DOS
the background and One can rewrite the code for
can be downloaded so
general color schemes Linux so that it can be
that one can customize
and fonts for windows customized further.
them.
desktops.

Reliability DOS is not very Windows is not even Linux is very reliable and is
reliable because it reliable, with it known for being run for months
crashes easily if a crashing/needing to be or even years without needing to
Feature DOS WINDOWS LINUX

program doesn’t open restarted all the time. be rebooted.


properly or a wrong
command is issued.

Management DOS is not very easy to


Easy to manage. Difficult to manage.
manage.

Cost DOS is free of charge


It is not free. Linux is free to download.
to download.

User- Support DOS is a single-user Windows is a multi-user Linux is a multi-user operating


operating system. operating system. system.

Q.4 Describe history of Linux OS

Evolution of Linux

In 1991, Linus Torvalds a student at the university of Helsinki, Finland, thought to have a freely available
academic version of Unix started writing its own code. Later this project became the Linux kernel. He
wrote this program specially for his own PC as he wanted to use Unix 386 Intel computer but couldn't
afford it. He did it on MINIX using GNU C compiler. GNU C compiler is still the main choice to compile
Linux code but other compilers are also used like Intel C compiler.

He started it just for fun but ended up with such a large project. Firstly he wanted to name it as 'Freax' but
later it became 'Linux'.

He published the Linux kernel under his own license and was restricted to use as commercially. Linux uses
most of its tools from GNU software and are under GNU copyright. In 1992, he released the kernel under
GNU General Public License.

Linux Today

Today, supercomputers, smart phones, desktop, web servers, tablet, laptops and home appliances like
washing machines, DVD players, routers, modems, cars, refrigerators, etc use Linux OS.

Q.5.Explain features of Linux Operating System.

o Multiuser capability: Multiple users can access the same system resources like memory, hard disk,
etc. But they have to use different terminals to operate.
o Multitasking: More than one function can be performed simultaneously by dividing the CPU time
intelligently.
o Portability: Portability doesn't mean it is smaller in file size or can be carried in pen drives or
memory cards. It means that it support different types of hardware.
o Security: It provides security in three ways namely authenticating (by assigning password and
login ID), authorization (by assigning permission to read, write and execute) and encryption
(converts file into an unreadable format).
o Live CD/USB: Almost all Linux distros provide live CD/USB so that users can run/try it without
installing it.
o Graphical User Interface (X Window system): Linux is command line based OS but it can be
converted to GUI based by installing packages.
o Support's customized keyboard: As it is used worldwide, hence supports different languages
keyboards.
o Application support: It has its own software repository from where users can download and install
many applications.
o File System: Provides hierarchical file system in which files and directories are arranged.
o Open Source: Linux code is freely available to all and is a community based development project.

Q.6. Describe Advantages and Disadvantages of using Linux.

Advantages:

1)Open source software: The Linux kernel is released under the GNU GPL open source
software license. Most distros include hundreds of applications, with many options in almost
every category. Many distributions also include proprietary software, such as device drivers
provided by manufacturers, to support theirhardware.
2)Licensing costs: Unlike Microsoft Windows or Apple macOS, Linux has noexplicit licensing
fees. While system support is available for a fee from many Linuxvendors, the OS itself is free to
copy and use. Some IT organizations have increased their savings by switching their server
software from a commercial OS to Linux.
3)Reliability: Linux is considered a reliable OS and is well-supported with security patches.
Linux is also considered to be stable, meaning it can run in most circumstances. Linux also copes
with errors when running software and unexpectedinput.
4)Backward compatibility: Linux and other open source software tend to be updated frequently
for security and functional patches, while retaining core functionality. Configurations and shell
scripts are likely to work unchanged even when softwareupdates are applied. Unlike commercial
software vendors that roll out new versionsof their OSes along with new ways to work, Linux and
open source applications generally don't change their modes of operation with new releases.
5)Many choices: Between the hundreds of available distributions, thousands ofapplications and
almost infinite options for configuring, compiling and running Linux on almost any hardware
platform, it is possible to optimize Linux for almostany application.

Disadvantages:
1)Lack of established standard:No standard version is available for Linux, which may be nice to
optimize Linux for specific applications, but less so to deploy desktop images and standardized servers.
The huge variety of options can convolute support as an outcome.
2)Support costs: While an organization can acquire Linux freely without licensing fees, support
is not free. Most enterprise Linux distributors like SUSE and Red Hat offer support contracts.
Depending on the circumstances, these license fees can reduce savings significantly.
3)Proprietary software: Desktop productivity software like Microsoft Office cannot be used on
Linux desktops, and other proprietary software may be unavailable for Linux platforms.
4)Unsupported hardware: While many hardware manufacturers make Linux device drivers
available for their products, many do not.
5)Steep learning curve: Many users struggle to learn to use the Linux desktop or Linux-based
applications.

In some cases, the same Linux attribute can be either an advantage or disadvantage. For example,
having many options for customizing the Linux OS is advantageous for manufacturers looking
for an embedded OS, but it is a disadvantage for enterprises that want a desktop OS that can be
used by a wide range of end users.

Q.7. Explain architecture of Linux OS / Explain Linux kernal. Illustrate it in Linux architecture.

The main components of Linux operating system are: Application, Shell, Kernel, Hardware, Utilities

The Linux operating system's architecture mainly contains some of the components: the Kernel, System
Library, Hardware layer, System, and Shell utility.

1. Kernel:- The kernel is one of the core section of an operating system. It is responsible for each of the
major actions of the Linux OS. This operating system contains distinct types of modules and cooperates
with underlying hardware directly. The kernel facilitates required abstraction for hiding details of low-level
hardware or application programs to the system. There are some of the important kernel types which are
mentioned below:

Different of types of kernels:

a) Monolithic Kernel:
Monolithic kernel is a type of operating system kernel, where all the concurrent processes are executed
simultaneously in the kernel itself. All the processes share same memory recourses.
b) Micro kernel:
In micro kernel ,user services and kernel services are executed in separate address spaces. User services are kept in
user address space and kernel services are kept in kernel address space.
c) Exokernel:
Exo-kernel is designed to manage hardware resources at application level. High level abstraction is used in this
operating system to offer hardware resources access to kernel.
d) Hybrid kernel:
It is the combination of both monolithic kernel and microkernel. It has speed and design of monolithic kernel and
modularity and stability of microkernel.

Main Subsystems of kernel:

a) Process scheduler: Responsible for fairly distributing the processing time among all the
concurrently running process.
b) Memory management unit: This kernel sub unit is responsible for proper distribution of
memory resources among the concurrently running process.
c) Virtual file system: This subsystem provides interface to access stored dataacross different
file system and different physical media.

Kernel subsystems

2. System Library:
System libraries are some predefined functions by using which any application programs or system utilities can
access kernel’s features. These libraries are the foundation upon which any software can be built. Some of the most
common system libraries are:
a) GNU C library: This is the C library that provides the most fundamental system for the interface and execution
of C programs. This provides may in-built functions for the execution.
b) libpthread (POSIX Threads): This library plays important role for multithreading in Linux, it allows users for
creating and managing multiple threads.
c) libdl (Dynamic Linker): This library is responsible for the loading and linking file at the runtime.
d) libm (Math Library): This library provides user with all kind of mathematical function and their execution.
Some other system libraries are: librt (Realtime Library), libcrypt (Cryptographic Library), libnss (Name Service
Switch Library), libstdc++ (C++ Standard Library)

3. Shell:
Shell can be determined as the interface to the kernel, which hides the internal execution of functions of kernel from
the user. Users can just enter the commend and using the kernel’s function that specific task is performed
accordingly.

Different types of shell:


a) Command Line shell:
Executes the command provided by user given in the form command. A special program called terminal in executed
and the result is displayed in the terminal itself.
b) Graphical User Interface:
Executes the process provided by user in graphical way and output is displayed in the graphical window.

4. Hardware Layer:
Hardware layer of Linux is the lowest level of operating system track. It plays a vital role in managing all the
hardware components. It includes device drivers, kernel functions, memory management, CPU control, and I/O
operations. This layer generalizes hard complexity, by providing an interface for software by assuring proper
functionality of all the components.

5. System utility:
System utilities are the command line tools that preforms various tasks provided by user to make system
management and administration better. These utilities enable user to perform different tasks, such as file
management, system monitoring, network configuration, user management etc.

Q.8.Summarize the popular Linux Distributions (any 5).

A Linux distribution is an OS made through a software collection that contains the Linux kernel and a
package management system often.There are around 600 distributions available.

Some Linux distributions are: MX Linux, Manjaro, Linux Mint, elementary, Ubuntu, Debian, Solus,
Fedora, openSUSE, Deepin

1 ) Ubuntu

It came into existence in 2004 by Canonical and quickly became popular. Canonical wants Ubuntu to be
used as easy graphical Linux desktop without the use of command line. It is the most well known Linux
distribution. Ubuntu is a next version of Debian and easy to use for newbies. It comes with a lots of pre-
installed apps and easy to use repositories libraries.

Earlier, Ubuntu uses GNOME2 desktop environment but now it has developed its own unity desktop
environment. It releases every six months and currently working to expand to run on tablets and
smartphones.
2) Linux Mint

Mint is based on Ubuntu and uses its repository software so some packages are common in both.

Earlier it was an alternative of Ubuntu because media codecs and proprietary software are included in mint
but was absent in Ubuntu. But now it has its own popularity and it uses cinnamon and mate desktop instead
of Ubuntu's unity desktop environment.

3) Debian

Debian has its existence since 1993 and releases its versions much slowly then Ubuntu and mint.

This makes it one of the most stable Linux distributor.

Ubuntu is based on Debian and was founded to improve the core bits of Debian more quickly and make it
more user friendly. Every release name of Debian is based on the name of the movie Toy Story.

4) Red Hat Enterprise

Red hat is a commercial Linux distributor. The open-source alternative to Microsoft’s systems, Red Hat
Enterprise Linux is one of the biggest open-source alternatives. It’s used by large corporations as a Linux
distribution. The stability and security patches that accompany Red Hat Enterprise Linux make it a popular
choice in server environments.
5) CentOS

The purpose of the CentOS Project is to create an open source operating environment that is sturdy and
reliable. Based on RHEL, it is an excellent alternative to Red Hat Enterprise Linux since it is free to
download and install. With the stability and reliability of RHEL, users can enjoy free security and feature
upgrades without experiencing any downtime. Linux enthusiasts who desire to enjoy the advantages of
RHEL’s RHEL are keen on CentOS 8.

Centos 8.2, the third revision of CentOS, is based on App stream and BaseOS repositories and includes the
most recent software packages such as Python 3.8, GCC 9.1, Maven 3.6, and others.

6) Fedora

It is a project that mainly focuses on free software and provides latest version of software. It doesn't make
its own desktop environment but used 'upstream' software. By default it has GNOME3 desktop
environment. It is less stable but provides the latest stuff.
7) Gentoo

Gentoo is a Linux distribution specifically built for experts. It includes developers, network administrators,
and other experts. Users who are just beginning to learn Linux would not enjoy using it. One of the reasons
Gentoo is recommended is that it offers more information about Linux than other Linux distributions.

Portage, which is present on every Gentoo distribution, is likewise a native element of other similar
organizations such as Sabayon and Calculate Linux, as well as of Gentoo itself. The port collections
concept, which is based on the ports’ collections, is Python-based and draws inspiration from Portage.
BSD-based distros such as OpenBSD and NetBSD provide Port collections.

8) Kali Linux

Kali Linux is a Debian-based Linux distribution designed for digital forensics and penetration testing.
Nmap, Metasploit Framework, Maltego, and Aircrack-ng, among other tools, are included by default. It is
developed and maintained by offensive security.

Penetration testers who wish to advance their skills in Kali Linux can take advantage of this Linux
distribution. Kali Linux Certified Professional and Penetration Testing with Kali are industry-standard
certifications that are provided by Kali Linux.

9) Arch Linux

Arch Linux is a versatile and powerful Linux distribution for advanced users and Linux experts. It offers
freedom to choose, providing an ideal environment for customization or configuration. In all, Arch is
geared towards individuals who are well-versed in Linux’s intricacies and capabilities.
Arch is a constant update that constantly receives the most recent version of software and is managed using
Pacman. The AUR (Arch User Repository) is used to obtain the latest version of software. There are two
methods to install software packages and 2020.09.01 is the current version.

10) OpenSUSE

The OpenSUSE project aims to be a modern and complete community project. Because it is intended for
desktop users as well as enterprise development and testing, it is a perfect choice for open source
developers and System administrators.

SUSE Tumbleweed, on the other hand, is a rolling-release distribution that includes the latest software
stacks and IDEs and is closest to a bleeding-edge distribution. The Nest Intelligence Suite is a power user’s
or software developer’s dream thanks to the availability of up-to-date packages such as office applications,
GCC compiler, and the kernel.

Q.9. List the steps for Linux Installation.

Linux Installation Steps:

Ubuntu is a popular, Linux-based, open-source operating system. In this Ubuntu installation guide, we will
explore how to install Ubuntu Desktop from scratch, either to replace or alongside your current operating
system.
Millions of laptops and PCs use the Ubuntu Desktop operating system, which comes pre-installed with an
office suite, browser, media, and email apps, among others. Ubuntu Desktop is feature-rich, free, easy to
install, customizable, and user friendly.
You can install Ubuntu on a computer running Windows, macOS, or FreeDOS. The process is pretty
similar across operating systems. In this guide, we’ll demonstrate how to install Ubuntu Desktop on a
Windows device.

Minimum System Requirements to Install Ubuntu


To install Ubuntu Desktop, you’ll need a computer with the following minimum system requirements:
● 25GB of storage space
● 4GB of RAM or system memory
● 2GHz dual-core processor
● Internet access
● Either a USB port and an 8-12 GB FAT-32 formatted USB flash drive to create a live bootable USB
drive Or a DVD drive and a DVD to burn the Ubuntu ISO image

Ubuntu works on almost all desktops and laptops, but works best on Ubuntu certified hardware which
meets or exceeds these minimum system requirements.

Step 1: Back Up Your Data


If you plan to install Ubuntu on previously used hardware, we recommend that you back up your data to
avoid potential data loss. If you’re using a previously used flash drive to download the Ubuntu ISO file,
back up the flash drive.

Step 2: Download the Ubuntu ISO File


To get started, we need to download the Ubuntu ISO file. An ISO file—also known as an ISO image or
optical image disc—is an archive file that contains an exact copy or image of the entire data found on a CD,
DVD, or Blu-Ray. It is a technology that allows large file sets, including original software, to be distributed
at scale and burned onto optical discs.
To download the Ubuntu Desktop ISO image, go to the Ubuntu download page. You’ll find two versions
of Ubuntu Desktop: Ubuntu Desktop LTS (long-term support) which offers five years of support, and
Ubuntu, which comes with only nine months of support.

Figure 1: Ubuntu download page


Scroll down the page and select your preferred package. For this tutorial, we’ll use Ubuntu LTS. Click
the Ubuntu 22.04.2 download button (or the button for the current version) to start the download.
If you are installing an older version of Ubuntu or Ubuntu LTS, note that the layout and user interface may
differ, but the overall flow and steps should remain the same.

Step 3: Download UNetbootin: a Bootable Live USB Drive Maker


To install Ubuntu via a USB flash drive, you’ll need a USB flashing tool to flash the Ubuntu ISO image
onto the flash drive. For this guide, we’ll use UNetbootin. UNetbootin is a powerful and easy-to-use multi-
platform SD card and USB flashing tool. Etcher and Rufus are also good options.
Figure 2: UNetbootin download page

While the Ubuntu ISO image is still downloading, go to the UNetbootin page and download and install the
appropriate tool for your operating system. Skip this step if you prefer to install Ubuntu via a DVD instead
of a USB flash drive.
If you’re using a DVD, you can burn the Ubuntu ISO image onto it using the built-in burner in your
Windows 7, 8, 10, or 11 computer. Alternatively, you can download a third-party CD/DVD burner, like
BurnAware or DeepBurner Free.

Step 4: Create a Live, Bootable USB Drive


After downloading the Ubuntu ISO file and installing the UNetbootin flashing tool, you’ll need to create a
live, bootable USB drive. To do so, insert the flash drive into your computer’s USB port and run
UNetbootin (grant permission if requested.)
Click Distribution, scroll all the way down the Select Distribution drop-down menu, and select Ubuntu.
This will automatically populate the latest version. Select Diskimage, click on the three dots button to the
right, select the Ubuntu ISO file you just downloaded, and click OK.

Figure 3: UNetbootin disk flashing tool

The process will start immediately and will take a few minutes to go through the four stages of flashing.
Once completed, click Exit. Whichever USB flashing tool you use, ensure that you format the USB flash
drive for FAT-32 (Windows.)
If you encounter a “write protected flash drive” error, use the SD Formatter tool to reformat the USB drive.
Then try again to create the live, bootable USB drive, but this time, with a different flashing tool.
If using a DVD, insert the blank DVD into your computer’s DVD drive, right-click the Ubuntu ISO file,
click Burn disc image, select the appropriate drive from the Disc burner drop-down, and click Burn.

Step 5: Boot From USB Flash Drive


After creating a live bootable USB flash drive or DVD, reboot your computer with the installation media
still inside. If the Ubuntu installation window doesn’t appear automatically, reboot your computer again,
and enter BIOS. Your computer will tell you which key to press to enter BIOS. For most computers,
pressing F12 does the trick. On other computers, it could be F2, F10, Esc, or Del.
Now, go to Boot Order and select USB Storage Device as the primary boot device, or DVD drive if using
DVD. If the BIOS menu lists your flash drive more than once, the rule of thumb is to go with the first
mention or listing. Similarly, if there are multiple UEFI listings, always go with the first UEFI listing with
your USB flash drive name.
If you can’t find your USB flash drive in the menu at all, select BIOS Setup > Advanced Boot
Options > Enable Legacy Option ROMs > Apply. When in UEFI boot mode, this will allow Legacy
Option ROMs to load.

Step 6: Install Ubuntu


On the next screen, you will have the option to either try or install Ubuntu.
Try Ubuntu
Choosing “Try Ubuntu” will not make any permanent changes to your computer. This is ideal if you’re still
on the fence about using Ubuntu or have limited system resources. If you follow this route, you will still
have the option to complete the installation later directly from the test homepage by clicking Install
Ubuntu.
Install Ubuntu
Installing Ubuntu will overwrite any other operating system on your computer or in the allocated partition.
This will erase all your data, including settings, documents, files, photos, and videos. Be sure to back up
your data beforehand! Now, click Install Ubuntu.
Select your language; this is set to English (US) by default. Next, select your keyboard layout and
click Continue.

Figure 4: Keyboard layout selector


Step 7: Connect to the Internet
You can choose whether or not to connect to a wireless network, but we recommend doing so. An internet
connection allows you to install third-party software, download updates, automatically detect your
timezone, and install full support for your language. This way, you can hit the ground running.

Figure 5: Wireless network connection during Ubuntu installation


To connect to a wireless network, select the Connect to this network button, then select your Wi-Fi
network, and click Connect. Enter your Wi-Fi password if required, click Connect, then click Continue.
Note that you can also opt for a wired ethernet connection.
Read: How to Set Up Odoo on Ubuntu Using Docker
Step 8: Installation Setup
Next, you’ll be asked to install updates and other software. There are two options available: normal and
minimal. Normal installation comes with a web browser, utilities, office software, games, and media
players. Minimal installation comes with a web browser and basic utilities, and is ideal for light users or
those with smaller hard drives.

Figure 6: Ubuntu updates and software installation


Under Other options, we recommend leaving Download updates while installing Ubuntu checked. This
slows the initial installation, but saves having to install updates manually down the road. Also
check Install third-party software for graphics and Wi-Fi hardware and additional media formats for
the best experience. Then click Continue.
Installation Type
The next screen allows you to decide how you want to install Ubuntu. If you want Ubuntu to be the only
operating system, select Erase disk and install Ubuntu. This will delete all your programs, documents,
photos, music, and files in all operating systems. For this guide, we will choose Erase disk and install
Ubuntu.
Choose Something else if you want to install Ubuntu alongside your current operating system. This option
allows you to create or resize partitions yourself, or choose multiple partitions for Ubuntu. If you’re going
this route, select the partition where you want to install Ubuntu or click New Partition Table…

Figure 7: Ubuntu installation partitioning


This will create a new partition table on your computer and replace all other partitions. You can undo this
later if you wish. Then click Continue. Make your selection and click Install Now, then Continue.
Review the warning information and click Continue.
Location, Timezone, and Personal Info Settings
Now, choose your location and set your time zone. If you are connected to the internet, this step won’t be
necessary as Ubuntu will automatically detect your location and timezone. If it gets it wrong, simply edit
the entry by typing your location in the location text box and click Continue.

Figure 8: Location and timezone settings


On the Who are you screen that follows, enter your name and your computer’s name, and a username will
be auto-generated. You can always change these later. Then choose and confirm your password.

Figure 9: Personal details for Ubuntu installation


Now, select how you want to log in, automatically or via a password. If you select the latter, Ubuntu will
require the password every time you want to log in or perform certain tasks in the Terminal. There’s also
an option to use Active Directory.
Sit back and wait for the installation to complete. Meanwhile, you can watch or scroll through the Ubuntu
slideshow on the splash screen to get a feel for what to expect from Ubuntu. Once the installation is
complete, remove the installation media and press Enter.

Step 9: Update Ubuntu


It’s always a good idea to try to update Ubuntu after installation to ensure you have the latest features,
security patches, and software updates. There are two ways to update Ubuntu: via the Software Updater
app or via Terminal.
Update Ubuntu via Software Updater
To update Ubuntu via Software Updater, you can either click on Search and type “Update” or click on the
app menu (the icon with nine tiny squares in the bottom-left corner of your screen,) look for and
click Software Updater, then Install now. You can also ask it to remind you later.
Update Ubuntu via Terminal
Terminal, command prompt, or shell, is Ubuntu’s native command line tool. Here’s how to update Ubuntu
via Terminal. Either press Ctrl+Alt+T or click the app menu and select Terminal, then type the following
commands and press Enter one after the other in this order:
sudo apt-get update
sudo apt-get upgrade
sudo reboot
Note that this process may take a few minutes depending on the number of updates available to install, and
especially if you chose the minimal installation option during setup.

Step 10: Start Using Ubuntu


Congratulations! You’re now ready to start using Ubuntu for a variety of tasks. For instance, you can create
and edit documents with LibreOffice which is a popular full office-suite compatible with DOC, DOCX,
XLS, XLSX, PPT, and PPTX files. Other popular apps that can spice up your Ubuntu experience include
WPS Office, VLC Media Player, GIMP, Steam, Kdenlive, Krita, VirtualBox, Google
Chrome/Firefox/Brave, Scribus, OpenShot, Geary, Atom, and Darktable.

You might also like