OS Project Report
OS Project Report
OS Project Report
OS PROJECT REPORT
CANDIDATE'S DECLARATION
Place: Delhi
ABSTRACT
In completion of my project, we had to take the help and guideline of some respected
persons, who deserve my greatest gratitude. The completion of this assignment gives me
pleasure. We would like to show my gratitude to Prof. Jasraj Meena, Mentor for this
project, giving me good guidelines for reporting throughout numerous consultations. We
would also like to extend my deepest gratitude to all those who have directly and
indirectly guided me in writing this assignment.
We thank all the people for their help directly and indirectly to complete this assignment.
Branches
Three branches of Debian System which are maintained daily:
Stable branch: It’s the current release and aim towards software that needs to be
well-tested and stable. Stable is created by putting Testing on hold for a few months while
issues are resolved and packages with too many bugs are deleted, and then releasing the
resulting system as stable.
Testing branch: It is the experimental branch which will lead to the next major release.
Although the packages in this branch have been evaluated for instability, they may not yet
be ready for release. It has packages that are newer than those in stable but older than
those in unstable.
Unstable branch: Its code name is “sid” in which packages are allowed without a full
check of the distribution. This branch is typically used by software engineers who are
working on a project and require the most up-to-date libraries, as well as individuals who
like cutting-edge software
.
Linux Kernal:-
The main purpose of a computer is to run a predefined sequence of instructions, known as
a program. A program under execution is often referred to as a process. Now, most special
purpose computers are meant to run a single process, but in a sophisticated system such a
general purpose computer, are intended to run many processes simultaneously. Any kind
of process requires hardware resources such are Memory, Processor time, Storage space,
etc. In a General Purpose Computer running many processes simultaneously, we need a
middle layer to manage the distribution of the hardware resources of the computer
efficiently and fairly among all the various processes running on the computer. This
middle layer is referred to as the kernel. Basically the kernel virtualizes the common
hardware resources of the computer to provide each process with its own virtual
resources. This makes the process seem as it is the sole process running on the machine.
The kernel is also responsible for preventing and mitigating conflicts between different
processes. This schematically represented
The Process Scheduler: This kernel subsystem is responsible for fairly distributing the
CPU time among all the processes running on the system simultaneously.
The Memory Management Unit: This kernel sub-unit is responsible for proper
distribution of the memory resources among the various processes running on the system.
The MMU does more than just simply provide separate virtual address spaces for each of
the processes.
The Virtual File System: This subsystem is responsible for providing a unified interface
to access stored data across different filesystems and physical storage media.
COMMANDS-
Sudo apt-get install python3-pip - used for installing pip in debian os.
Sudo command is used to run the particular process as administrator
Advantages
1. A Comprehensive Installer -
Early on, Debian gained a reputation for being hard to install that it has never altogether
lost. In reality, though, the reverse is true, and Debian has the most thorough-going
installer available. Although most people installing Debian only need a shortened
version, the Debian Installer allows the selection of almost every detail — so long, of
course, as you are prepared to spend a couple of hours installing.
2. A Choice Of The Degree Of Freedom
Debian installs with only free software. However, if you choose to work with proprietary
software, add contrib non-free to the end of each line of /etc/apt/sources.list, then
run apt-get update. The contrib section contains free software that requires non-free
software to run, while non-free section contains proprietary software. Officially, neither
section is tested as thoroughly as the rest of Debian, but unofficially, their stands are still
high.
Each Debian release officially supports nine hardware architectures, ranging from
amd64 (64 bit Intel) to arm64 and PowerPC. Another five architectures are unofficially
supported, while three are unsupported but listed anyway.
The introduction of new technologies like Systemd often causes problems when
upgrading to a new release. However, Debian makes a point of creating packages that
make the changeover as smooth as an ordinary upgrade.
Probably no one has counted exactly, but Debian includes over 40,000 packages — and
possibly over 50,000. Either number is generally assumed to be larger than any other
distribution, even though few other distributions count their own packages.
Debian’s three main repositories are Stable, Testing, and Unstable. These repositories
are supposed to be organized for the purposes of producing a new release, but it is a
rare user who can resist the temptation to raid Testing and Unstable for the most recent
software.
All distributions have guidelines for their packages, but the Debian Policy Manual is by
far the most comprehensive. The manual details every possible aspect of what a
package may contain and how it can interact with other packages, and every package
must adhere to it. The result is that the Debian Stable repository is almost certainly the
most dependable version of Linux available. Even Unstable is as stable as other
distributions most of the time — although occasionally it can have some unpleasant
surprises.
Disadvantages
In Debian, getting non-free software is as easy as adding the repositories. However, for
some users, even that is too much effort. They prefer a Debian derivative like Linux Mint
or Ubuntu that makes getting non-free drivers or tools like Flash even easier.
While most users have accepted the introduction of Systemd a few years ago, some
continue to fault Debian for using it. They see Systemd as too powerful an administration
tool, and suspect it as a ploy by Red Hat to control the desktop. The Debian wiki
includes instructions for replacing Systemd with Init, but the process is cumberson, so
those who object to Systemd often prefer a derivative distribution like Devuan, which
installs without Systemd.
Debian does have Security and StableUpdates repositories to help keep Stable more
current, but neither makes Debian cutting edge. Debian is most current immediately after
a general or a point release, but even then its software versions are behind most other
distributions.
APT tools
An Advanced Packaging Tool (APT) allows administering an installed Debian system to retrieve and
resolve package dependencies from repositories. APT tools share dependency information and
cached packages.
● The apt command itself is intended as an end user interface and enables some options
better suited for interactive usage by default compared to more specialized APT like
apt-get and apt-cache explained below.
● apt-get and apt-cache are command tools of the standard apt package. apt-get
installs and removes packages, and apt-cache is used for searching packages and
displaying package information.
● Aptitude is a command line tool that also offers a text-based user interface. The program
comes with enhancements such as better search on package metadata.
Conclusion:-
Debian GNU/Linux is an open-source Linux Operating System created by the
Debian community. It can be used on many devices like laptops, desktops and
servers. Debian not only provides Command Line interface but also Graphical
User Interface so it’s a friendly Operating System. Its latest stable release is
Debian 11(Bulls eye). History, introduction, packages, repository, architecture,
hardware, Desktop environments, installation images, some features and area
of use of Debian System is discussed.
References -
https://www.debian.org
https://en.wikipedia.org/wiki/Debian
https://linuxize.com/post/how-to-install-pip-on-ubuntu-18.04/
https://www.techtarget.com/searchdatacenter/definition/Debian
Youtube.com