SlideShare a Scribd company logo
1 of 54
Introducing Linux
Md. Zahid Hossain Shoeb
Independent University, Bangladesh (IUB)
a short expedition to the environment
Deputy Librarian (Systems)
BALID Training Programme on Koha
Date: 3-7 September, 2013
Venue: North South University, Dhaka
Overview
• Operating system
• Road to Linux
• GNU, Free Software
movement
• Popularity of Linux
• Linux Overview
• Why should use Linux
• About Debian
• Debian Features
• Package, Repository
• GUI / CLI interface
• Tools under Menu
panel
• Basic commands
BALID Training Programme on Koha 2
Operating Systems
• Software
– Collection of instructions that control the tasks a
computer performs
– Can be changed without disassembling the
computer and rewiring
• Application
– Software program that provides service for
computer user
– Cannot act without “permission” from
operating system
BALID Training Programme on Koha 3
Operating Systems (continued)
• Operating system (OS)
– Software that helps other programs control
computer hardware and interact with users
– All computers need an OS
– Popular OSes include Windows, Linux, Mac OSX
BALID Training Programme on Koha 4
Operating System Functions
• Initialize computer hardware
• Allocate system resources to programs
• Keep track of multiple programs running at
same time
• Provide organized method for all programs to
use system devices
BALID Training Programme on Koha 5
Before Linux
• In 80’s, Microsoft’s DOS was the dominated OS
for PC
• Apple MAC was better, but expensive
• UNIX was much better, but much, much more
expensive. Only for minicomputer for
commercial applications
• People was looking for a UNIX based system,
which is cheaper and can run on PC
• Both DOS, MAC and UNIX were proprietary, i.e.,
the source code of their kernel is protected
• No modification is possible without paying high
license fees
BALID Training Programme on Koha 6
Road to Linux
• Inspired by the UNIX OS, the Linux kernel was
developed as a clone of UNIX
• GNU was started in 1984 with a mission to
develop a free UNIX-like OS
• Linux was the best fit as the kernel for the GNU
Project
• Linux kernel was passed onto many interested
developers throughout the Internet
• Linux today is a result of efforts of Linus Torvalds
and thousands of individuals, in 1991
BALID Training Programme on Koha 7
Linux arrived
• Linux is basically a kernel, it was combined with
the various software and compilers from GNU
Project to form an OS, called GNU/Linux
• Linux is a full-fledged OS available in the form of
various Linux Distributions
• RedHat, Fedora, SuSE, Ubuntu, Debian are
examples of Linux distros
• Linux is supported by big names as IBM, Google,
Sun, Novell, Oracle, HP, Dell, and many more
BALID Training Programme on Koha 8
Linux arrived (continued)
• Linux development method
– Person identifies need and begins writing program
– Developer announces project on Internet
– Others respond and work on different parts of project
– Person leading project releases software
– People download source code and try program; send
back information about problems
– Developers fix bugs
• Forking
– Creating new project based on existing source code
BALID Training Programme on Koha 9
GNU
• Stands for GNUs Not Unix. GNU General Public License.
GNU - GPL – Copyleft
• Free software, as defined by the FSF (Free Software
Foundation), is a "matter of liberty, not price."
• Terms for using Linux
– You can modify / copy / redistribute the source code at no
cost provided you do so under the GPL
– If you get source under the GPL, any changes /
improvements / spin offs you make to it are also under GPL
– You must always distribute source code + GPL of programs
that you develop with the help of GPL software online.
BALID Training Programme on Koha 10
Motivating Free Software Developers
• Why would so many people devote so much
effort to something without expecting any
reward?
– Fills developer’s specific technical need
– Respect of like-minded professionals
– Sense of contribution and community
– Valuable boost to developer’s resume
BALID Training Programme on Koha 11
Why the popularity of Linux?
• Hardware
– Cost of hardware always decreases.
– Usage of a hardware required the device drivers to
be available.
– Writing new drivers for Linux is the easiest
solution. (For unavailable devices)
– Once the drivers were ready, they were
incorporated into the main source so as to give
everybody access to it!
BALID Training Programme on Koha 12
Why the popularity of Linux?
• Cost of developing tools
– Hardware developers rather than developing a
complete OS for a processor, could simply port
Linux to that platform.
– Then everything that works in Linux will work
seamlessly reducing cost to a fraction.
– Driver Maintenance / Bug Fixes and improvements
contributions from the FOSS community.
BALID Training Programme on Koha 13
Why the popularity of Linux?
• Software Developers
– A consistent software environments that is
completely machine independent.
– Every system will have a GNU toolchain to compile
code for the resident platform!
– If source distribution is given, the software can be
distributed in C without worrying about hardware
support.
BALID Training Programme on Koha 14
Language of Linux
• Linux was written completely in C and ASM.
• UNIX (1969) was written in PDP-7 Assembly.
– This version of UNIX was unportable to new
hardware.
• Thomson developed B as a machine
independent language to make UNIX portable.
• Dennis Ritchie rewrote UNIX in C, a language
he developed from B and concepts from other
languages.
BALID Training Programme on Koha 15
Linux : More than an OS
• Like as OS Linux supports
– Memory Management
– Device management
– Task Scheduling
– User Management
– And more…
• But it also comes with a set of tools and
utilities that make life easier for the
user/developers
BALID Training Programme on Koha 16
Overview of Linux
• Kernel Interface
• Multi-user , Multiprocessing, MultiTasking,
Multithreading
• Hierarchical Filesystem
• A Shell Interpreter for the OS
• Device independent I/O
• Inter Process Communication
• Security
• GUI
• Software Development
BALID Training Programme on Koha 17
Kernel Interface
• Kernel is the Heart of the linux OS.
• Handles all the background OS tasks.
– Divides system resources
– Manages memory
– Gives access to devices
• Kernel abstracts the hardware from the rest of
the processes.
• Different Hardware need different setup and
compiled kernels, and all other functionality will
be unchanged.
BALID Training Programme on Koha 18
Linux Kernel Diagram
BALID Training Programme on Koha 19
MultiTasking
• Linux was always a fully protected multitasking
OS.
• Jobs can be run in background, and owned by
different users – on the same processor.
• Linux manages resource between active
processes / background processors and keeps in
sync seamlessly.
• capable of supporting and utilizing more than
one computer processor.
• allow different parts of a software program to run
concurrently.
BALID Training Programme on Koha 20
Hierarchical FileSystem
• Files are kept in directories
• Directories can hold other directories.
• FHS – Filesystem Hierarchy Standard defines
the rules for where certain files will always be
kept.
• The “root” of the Linux FS is always ‘/’
• Files & directories can be owned by users to
enforce security privileges.
BALID Training Programme on Koha 21
Hierarchical File System
BALID Training Programme on Koha 22
Hierarchical File System
Directories
User home
directories
Data files (example)
root– Data files are
stored in
directories
(folders)
– Directories
may be
nested as
deep as
needed
/
etc
file a file b
passwd inittab
koha dspace opensrf
usrhome
BALID Training Programme on Koha 23
BASH – the Linux Shell system
• Bourne Again Shell is s command processor
• It acts as an interface between the user and
the operating system
• Commands / applications can be given to this
interpreter which can then make the
operating system do various tasks
• Commands can be stored in shell scripts for
ease of access
BALID Training Programme on Koha 24
Device independent I/O
• All physical devices – monitor, mouse,
keyboard printer appear as files in the Linux
file system that are manipulated by the kernel.
• This means that if a program is written to
manipulate this file, then the kernel will take it
to mean an action on the physical I/O device.
• This allows for a standard API for I/O in all
Linux systems.
BALID Training Programme on Koha 25
Linux User Interface
• Can be controlled through command Line
Interface(CLI) or Graphical User Interface (GUI)
• GUI run through Desktop Environments (DE)
• KDE, GNOME, Xfce, E17 are popular Des
• The GUI interface is easy-to-use and much like
that of Windows and Mac OSX
• The CLI is similar to that of UNIX/BSD
BALID Training Programme on Koha 26
Programming in Linux
• Modern languages are cross-platform, like
Python, Ruby, Perl, Java
• Most Linux distros support these languages and
have their runtimes pre-installed
• GTK+ and Qt are widely used to design
applications for Linux
• IDEs like NetBeans, Anjuta, KDevelop,
MonoDevelop, Eclipse are available for Linux too
BALID Training Programme on Koha 27
Linux on the Desktop
• Linux is desktop computer ready
• Large number of distros targeted at Desktop
users are available
• Linux desktop distros come with many commonly
used pre-installed softwares
• The modern Linux interface is user-friendly and
makes the interaction with computer easy
BALID Training Programme on Koha 28
Linux on Servers and Supercomputers
• Linux is the most used OS on servers
• 6 out of 10 reliable web hosting companies use
Linux
• Linux is the cornerstone of the LAMP server-
software combination (Linux, Apache, MySQL,
Perl/PHP/Python) which has achieved popularity
among developers
• Out of top 500 supercomputers, Linux is deployed
on 427 of them
BALID Training Programme on Koha 29
Why should you use Linux?
• Linux systems are extremely stable
• Linux is Free
• No threat of viruses
• Linux comes with most of the required software pre-installed
• Update all your software with minimum fuss
• Linux never gets slow
• Linux does not need defragmentation
• Linux can even run on oldest hardware
• Adding more software is a matter of a few clicks
• Most Windows-only apps have their either their native
version or alternatives for Linux
• With Linux, you get the highest degree of possible
customizability
BALID Training Programme on Koha 30
Debian: about
• Debian is an operating system composed of free
software mostly carrying the GNU General Public
License
• Its focus of different kernels makes it appeal to
different titles, such as Debian GNU/Linux and Debian
GNU/kFreeBSD
• Debian GNU/Linux is one of the most popular Linux
distributions for personal and Internet server machines
• Debian is seen as a solid Linux, and as a consequence
has been used as a base for other Linux distributions
• More than 20 awards have been awarded throughout
Debian's lifetime including Best Linux Distribution
BALID Training Programme on Koha 31
Debian: Features
• Beside Linux and kFreeBSD, Debian has more
two kernels in development, GNU Hurd and
NetBSD
• The kernel is offered for Intel/AMD 32-bit and
64-bit architecture machines
• Debian is still primarily known as a Linux
distribution with access to online repositories
hosting over 37,500 software packages
BALID Training Programme on Koha 32
Debian: Features
• Debian officially hosts free software on its
repositories but also allows non-free software to
be installed
• Debian offers 10 DVD and 69 CD images for
download and installation, but only the first
optical iso image of any of its downloadable sets
is sufficient
• Debian requires the first installable image, but
uses online repositories for additional software
• Debian offers different network installation
methods for expert users.
BALID Training Programme on Koha 33
Debian: Environment
• Command Line Interface
• Desktop environments
– Most popular GNOME (the default), KDE Plasma
Workspaces, Xfce and LXDE
• Debian-Live
– A Debian-Live system can be booted from
removable media
– Debian-Live allows a user to try a Debian desktop
without actually installing
BALID Training Programme on Koha 34
Debian: Default GUI
BALID Training Programme on Koha 35
Debian: Logging into CLI
• To go to the command prompt from GUI, press
Alt+Ctrl+F1
• To return to the GUI, press
Alt+Ctrl+F7
BALID Training Programme on Koha 36
Debian: The Menu Panel
• Applications
– The Applications menu contains a variety of icons that start
software applications. It is similar to the Microsoft Windows
Start menu
• Places
– The Places menu contains a customizable list of directories like,
Home, Desktop, Documents, Downloads, Picture, Search,
Recent documents, Computer places etc.
• System
– The System menu contains a variety of Systems Administration
related items like, Software Sources, Update, Package Manager,
Printing, Network, Services etc. along with Logout and
Shutdown option
BALID Training Programme on Koha 37
Debian: Menu items
BALID Training Programme on Koha 38
Debian: Package and Rpository
• Package management
– Debian's official standard for administering
packages on its system is the APT (Advanced
Package Management) toolset
– An APT tool allows administration of an installed
Debian system for retrieving and resolving
package dependencies from online repositories
– APT tools depend on verifying what is installed in
the dpkg database in order to determine missing
packages for requested installs.
BALID Training Programme on Koha 39
Debian: Package and Rpository (cont..)
• dpkg database
– dpkg is the storage information center of installed
package
– database is located at /var/lib/dpkg/available
– contains the list of "installed" software on the
current system
BALID Training Programme on Koha 40
Debian: Package and Rpository (cont..)
• Package management
– In TUI apt-get and apt-cache are command tools
of the standard APT-class tool set apt package,
aptitude command supports better search on
package metadata
– In GUI gdebi is an APT combines the functionality
of the dpkg tool and APT package resolving with
online repositories
BALID Training Programme on Koha 41
Debian: Package and Rpository (cont..)
• Repositories – Official, unofficial and third-
party
– Official: stable (current), old stable (prior
release), backports (more recent), testing (next
major release), unstable (under development),
snapshot (older version), experimental (temporary
stage for developers)
– Unofficial: non-free, contrib
– Third-party: not part of Debian Project
BALID Training Programme on Koha 42
Debian: Release timeline
BALID Training Programme on Koha 43
Debian: Basic commands
• Basic Linux Commands
– File Handling
– Text Processing
– System Administration
– Process Management
– Archival
– Network
– File Systems
– Advanced Commands
BALID Training Programme on Koha 44
Debian: Basic commands (cont..)
• File Handling commands
mkdir – make directories
• Usage: mkdir [OPTION] DIRECTORY...
• Example: mkdir zahid
ls – list directory contents
• Usage: ls [OPTION]... [FILE]...
• Example: ls, ls -l, ls zahid
cd – changes directories
• Usage: cd [DIRECTORY]
• Example: cd zahid
BALID Training Programme on Koha 45
Debian: Basic commands (cont..)
• File Handling(contd...)
pwd -print name of current working directory
• Usage: pwd
vim – Vi Improved, a programmers text editor
• Usage: vim [OPTION] [file]...
• Example: vim file1.txt
BALID Training Programme on Koha 46
Debian: Basic commands (cont..)
• File Handling(contd...)
cp – copy files and directories
• Usage: cp [OPTION]... SOURCE DEST
• Example: cp sample.txt sample_copy.txt
cp sample_copy.txt target_dir
mv – move (rename) files
• Usage: mv [OPTION]... SOURCE DEST
• Example: mv source.txt target_dir
mv old.txt new.txt
BALID Training Programme on Koha 47
Debian: Basic commands (cont..)
• File Handling(contd...)
rm -remove files or directories
• Usage: rm [OPTION]... FILE...
• Example: rm file1.txt , rm rf
find – search for files in a directory hierarchy
• Usage: find [OPTION] [path] [pattern]
• Example: find file1.txt, find name
history – prints recently used commands
• Usage: history
BALID Training Programme on Koha 48
Debian: Basic commands (cont..)
• Text Processing
cat – concatenate files and print on the standard
output
• Usage: cat [OPTION] [FILE]...
• Example: cat file1.txt file2.txt
cat -n file1.txt
echo – display a line of text
• Usage: echo [OPTION] [string] ...
• Example: echo I love Debian
echo $
BALID Training Programme on Koha 49
Debian: Basic commands (cont..)
• Text Processing(contd...)
grep - print lines matching a pattern
• Usage: grep [OPTION] PATTERN [FILE]...
• Example: grep I
wc - print the number of newlines, words, and
bytes in files
• Usage: wc [OPTION]... [FILE]...
• Example: wc file1.txt
wc L file1.txt
BALID Training Programme on Koha 50
Debian: Basic commands (cont..)
• System Administration
chmod – change file access permissions
• Usage: chmod [OPTION] [MODE] [FILE]
• Example: chmod 744 calculate.sh
chown – change file owner and group
• Usage: chown [OPTION]... OWNER[:[GROUP]] FILE...
• Example:. chown remo myfile.txt
BALID Training Programme on Koha 51
Debian: Basic commands (cont..)
• System Administration (contd...)
su – change user ID or become superuser
• Usage: su [OPTION] [LOGIN]
• Example: su shoeb
passwd – update a user’s authentication tokens(s)
• Usage: passwd [OPTION]
• Example: passwd
who – show who is logged on
• Usage: who [OPTION]
• Example: who , who b, who q
BALID Training Programme on Koha 52
Debian: Basic commands (cont..)
• Advanced Commands
reboot – reboot the system
• Usage: reboot [OPTION]
• Example: reboot
poweroff – power off the system
• Usage: poweroff [OPTION]
• Example: poweroff
BALID Training Programme on Koha 53
Thank you
BALID Training Programme on Koha 54

More Related Content

What's hot

pembelajaran tentang linux dan macam macam menu linux
pembelajaran tentang linux dan macam macam menu linuxpembelajaran tentang linux dan macam macam menu linux
pembelajaran tentang linux dan macam macam menu linuxseolangit7
 
Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]Raul Soto
 
Building Mini Embedded Linux System for X86 Arch
Building Mini Embedded Linux System for X86 ArchBuilding Mini Embedded Linux System for X86 Arch
Building Mini Embedded Linux System for X86 ArchSherif Mousa
 
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...GlobalLogic Ukraine
 
Embedded Linux from Scratch to Yocto
Embedded Linux from Scratch to YoctoEmbedded Linux from Scratch to Yocto
Embedded Linux from Scratch to YoctoSherif Mousa
 
A low cost, real-time algorithm for embedded devices based on freertos kernel
A low cost, real-time algorithm for embedded devices based on freertos kernelA low cost, real-time algorithm for embedded devices based on freertos kernel
A low cost, real-time algorithm for embedded devices based on freertos kerneleSAT Journals
 
Embedded linux system development (slides)
Embedded linux system development (slides)Embedded linux system development (slides)
Embedded linux system development (slides)Jaime Barragan
 
Rolling Your Own Embedded Linux Distribution
Rolling  Your  Own  Embedded  Linux  DistributionRolling  Your  Own  Embedded  Linux  Distribution
Rolling Your Own Embedded Linux DistributionEmanuele Bonanni
 
Presentation on HP ProLiant value add tools on Linux
Presentation on HP ProLiant value add tools on LinuxPresentation on HP ProLiant value add tools on Linux
Presentation on HP ProLiant value add tools on LinuxBruno Cornec
 
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1Qualcomm Developer Network
 
Course 101: Lecture 5: Linux & GNU
Course 101: Lecture 5: Linux & GNU Course 101: Lecture 5: Linux & GNU
Course 101: Lecture 5: Linux & GNU Ahmed El-Arabawy
 
Uklug2011.lotus.on.linux.report.technical.edition.v1.0
Uklug2011.lotus.on.linux.report.technical.edition.v1.0Uklug2011.lotus.on.linux.report.technical.edition.v1.0
Uklug2011.lotus.on.linux.report.technical.edition.v1.0dominion
 
Embedded linux
Embedded linuxEmbedded linux
Embedded linuxWingston
 
HP ProLiant Value Add tools
HP ProLiant Value Add toolsHP ProLiant Value Add tools
HP ProLiant Value Add toolsBruno Cornec
 

What's hot (20)

Introducting Linux
Introducting LinuxIntroducting Linux
Introducting Linux
 
CH1.ppt
CH1.pptCH1.ppt
CH1.ppt
 
pembelajaran tentang linux dan macam macam menu linux
pembelajaran tentang linux dan macam macam menu linuxpembelajaran tentang linux dan macam macam menu linux
pembelajaran tentang linux dan macam macam menu linux
 
linux introduction
linux introductionlinux introduction
linux introduction
 
Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]
 
Building Mini Embedded Linux System for X86 Arch
Building Mini Embedded Linux System for X86 ArchBuilding Mini Embedded Linux System for X86 Arch
Building Mini Embedded Linux System for X86 Arch
 
Linux Systems: Getting started with setting up an Embedded platform
Linux Systems: Getting started with setting up an Embedded platformLinux Systems: Getting started with setting up an Embedded platform
Linux Systems: Getting started with setting up an Embedded platform
 
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
 
Embedded Linux from Scratch to Yocto
Embedded Linux from Scratch to YoctoEmbedded Linux from Scratch to Yocto
Embedded Linux from Scratch to Yocto
 
A low cost, real-time algorithm for embedded devices based on freertos kernel
A low cost, real-time algorithm for embedded devices based on freertos kernelA low cost, real-time algorithm for embedded devices based on freertos kernel
A low cost, real-time algorithm for embedded devices based on freertos kernel
 
Embedded linux system development (slides)
Embedded linux system development (slides)Embedded linux system development (slides)
Embedded linux system development (slides)
 
Embedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernelEmbedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernel
 
Rolling Your Own Embedded Linux Distribution
Rolling  Your  Own  Embedded  Linux  DistributionRolling  Your  Own  Embedded  Linux  Distribution
Rolling Your Own Embedded Linux Distribution
 
Presentation on HP ProLiant value add tools on Linux
Presentation on HP ProLiant value add tools on LinuxPresentation on HP ProLiant value add tools on Linux
Presentation on HP ProLiant value add tools on Linux
 
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
 
Course 101: Lecture 5: Linux & GNU
Course 101: Lecture 5: Linux & GNU Course 101: Lecture 5: Linux & GNU
Course 101: Lecture 5: Linux & GNU
 
Uklug2011.lotus.on.linux.report.technical.edition.v1.0
Uklug2011.lotus.on.linux.report.technical.edition.v1.0Uklug2011.lotus.on.linux.report.technical.edition.v1.0
Uklug2011.lotus.on.linux.report.technical.edition.v1.0
 
Embedded linux
Embedded linuxEmbedded linux
Embedded linux
 
Linux
LinuxLinux
Linux
 
HP ProLiant Value Add tools
HP ProLiant Value Add toolsHP ProLiant Value Add tools
HP ProLiant Value Add tools
 

Similar to Introducing linux: a short expedition to the debian environment

Open Source Software
Open Source Software Open Source Software
Open Source Software Ali Yavari
 
01 linux history overview
01 linux history overview01 linux history overview
01 linux history overviewShay Cohen
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basicf114n
 
Hillel kobrovski Linux security overview for ciso
Hillel kobrovski   Linux security overview for cisoHillel kobrovski   Linux security overview for ciso
Hillel kobrovski Linux security overview for cisoHillel Kobrovski
 
Overview on Open Source Technology.pptx
Overview on Open Source Technology.pptxOverview on Open Source Technology.pptx
Overview on Open Source Technology.pptxDrRShaliniVISTAS
 
Chapter 1 - Introduction to Operating System.pptx
Chapter 1 - Introduction to Operating System.pptxChapter 1 - Introduction to Operating System.pptx
Chapter 1 - Introduction to Operating System.pptxgowthamiv26
 
Linux Presentation_SSD.pdf
Linux Presentation_SSD.pdfLinux Presentation_SSD.pdf
Linux Presentation_SSD.pdfssuser37b0e0
 
Building Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMBuilding Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMSherif Mousa
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linuxPrasanth V
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux pptOmi Vichare
 
Introduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXIntroduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXDeeksha Verma
 
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdfintroductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdfEidTahir
 
Basics of GNU & Linux
Basics of GNU & LinuxBasics of GNU & Linux
Basics of GNU & LinuxBIT DURG
 

Similar to Introducing linux: a short expedition to the debian environment (20)

Linux introduction
Linux introductionLinux introduction
Linux introduction
 
Open Source Software
Open Source Software Open Source Software
Open Source Software
 
01 linux history overview
01 linux history overview01 linux history overview
01 linux history overview
 
Linux forensics
Linux forensicsLinux forensics
Linux forensics
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basic
 
Linux for everyone
Linux for everyoneLinux for everyone
Linux for everyone
 
Hillel kobrovski Linux security overview for ciso
Hillel kobrovski   Linux security overview for cisoHillel kobrovski   Linux security overview for ciso
Hillel kobrovski Linux security overview for ciso
 
Overview on Open Source Technology.pptx
Overview on Open Source Technology.pptxOverview on Open Source Technology.pptx
Overview on Open Source Technology.pptx
 
Chapter 1 - Introduction to Operating System.pptx
Chapter 1 - Introduction to Operating System.pptxChapter 1 - Introduction to Operating System.pptx
Chapter 1 - Introduction to Operating System.pptx
 
Linux concept workshop
Linux concept workshopLinux concept workshop
Linux concept workshop
 
Linux Presentation_SSD.pdf
Linux Presentation_SSD.pdfLinux Presentation_SSD.pdf
Linux Presentation_SSD.pdf
 
Building Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMBuilding Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARM
 
Licão 01 introduction
Licão 01 introductionLicão 01 introduction
Licão 01 introduction
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Linux
LinuxLinux
Linux
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Introduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXIntroduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUX
 
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdfintroductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
introductiontolinuxpptbatch2-141025005514-conversion-gate01 (1).pdf
 
Basics of GNU & Linux
Basics of GNU & LinuxBasics of GNU & Linux
Basics of GNU & Linux
 

More from Md. Zahid Hossain Shoeb

Things to consider for scientific writing
Things to consider for scientific writingThings to consider for scientific writing
Things to consider for scientific writingMd. Zahid Hossain Shoeb
 
Manage your citations and references using Mendeley
Manage your citations and references using MendeleyManage your citations and references using Mendeley
Manage your citations and references using MendeleyMd. Zahid Hossain Shoeb
 
Create your Personal Research Identifier/Profile
Create your Personal Research Identifier/ProfileCreate your Personal Research Identifier/Profile
Create your Personal Research Identifier/ProfileMd. Zahid Hossain Shoeb
 
How to use EndNote for managing your references
How to use EndNote for managing your referencesHow to use EndNote for managing your references
How to use EndNote for managing your referencesMd. Zahid Hossain Shoeb
 
Iub library literacy class - autumn 2016
Iub library literacy class -  autumn 2016Iub library literacy class -  autumn 2016
Iub library literacy class - autumn 2016Md. Zahid Hossain Shoeb
 
Why do you consider to adopt Koha Open Source Integrated Library System for y...
Why do you consider to adopt Koha Open Source Integrated Library System for y...Why do you consider to adopt Koha Open Source Integrated Library System for y...
Why do you consider to adopt Koha Open Source Integrated Library System for y...Md. Zahid Hossain Shoeb
 
Developing information literacy education programme for the iub business stud...
Developing information literacy education programme for the iub business stud...Developing information literacy education programme for the iub business stud...
Developing information literacy education programme for the iub business stud...Md. Zahid Hossain Shoeb
 
Delete GRUB/Linux dual booting and claim space
Delete GRUB/Linux dual booting and claim spaceDelete GRUB/Linux dual booting and claim space
Delete GRUB/Linux dual booting and claim spaceMd. Zahid Hossain Shoeb
 
IR and DSpace - International Seminar, Dhaka University
IR and DSpace - International Seminar, Dhaka UniversityIR and DSpace - International Seminar, Dhaka University
IR and DSpace - International Seminar, Dhaka UniversityMd. Zahid Hossain Shoeb
 
EndNote Basic: citation utility for research support
EndNote Basic: citation utility for research supportEndNote Basic: citation utility for research support
EndNote Basic: citation utility for research supportMd. Zahid Hossain Shoeb
 
IUB Workshop on Effective Search Strategies
IUB Workshop on Effective Search StrategiesIUB Workshop on Effective Search Strategies
IUB Workshop on Effective Search StrategiesMd. Zahid Hossain Shoeb
 
Start your research with endnote (edited)
Start your research with endnote (edited)Start your research with endnote (edited)
Start your research with endnote (edited)Md. Zahid Hossain Shoeb
 
MarcEdit - makes the life easier (BALID Training programme on Marc 21)
MarcEdit - makes the life easier (BALID Training programme on Marc 21)MarcEdit - makes the life easier (BALID Training programme on Marc 21)
MarcEdit - makes the life easier (BALID Training programme on Marc 21)Md. Zahid Hossain Shoeb
 
MARC 21: prologue (BALID Training programme on Marc 21)
MARC 21: prologue (BALID Training programme on Marc 21)MARC 21: prologue (BALID Training programme on Marc 21)
MARC 21: prologue (BALID Training programme on Marc 21)Md. Zahid Hossain Shoeb
 

More from Md. Zahid Hossain Shoeb (20)

Research process: an introduction
Research process: an introductionResearch process: an introduction
Research process: an introduction
 
Reset root password on debian 10
Reset root password on debian 10Reset root password on debian 10
Reset root password on debian 10
 
Things to consider for scientific writing
Things to consider for scientific writingThings to consider for scientific writing
Things to consider for scientific writing
 
Manage your citations and references using Mendeley
Manage your citations and references using MendeleyManage your citations and references using Mendeley
Manage your citations and references using Mendeley
 
Create your Personal Research Identifier/Profile
Create your Personal Research Identifier/ProfileCreate your Personal Research Identifier/Profile
Create your Personal Research Identifier/Profile
 
How to use EndNote for managing your references
How to use EndNote for managing your referencesHow to use EndNote for managing your references
How to use EndNote for managing your references
 
Iub library literacy class - autumn 2016
Iub library literacy class -  autumn 2016Iub library literacy class -  autumn 2016
Iub library literacy class - autumn 2016
 
Why do you consider to adopt Koha Open Source Integrated Library System for y...
Why do you consider to adopt Koha Open Source Integrated Library System for y...Why do you consider to adopt Koha Open Source Integrated Library System for y...
Why do you consider to adopt Koha Open Source Integrated Library System for y...
 
Get to know your library
Get to know your libraryGet to know your library
Get to know your library
 
Developing information literacy education programme for the iub business stud...
Developing information literacy education programme for the iub business stud...Developing information literacy education programme for the iub business stud...
Developing information literacy education programme for the iub business stud...
 
Processing of Library Materials
Processing of Library MaterialsProcessing of Library Materials
Processing of Library Materials
 
Organize your research with EndNote
Organize your research with EndNoteOrganize your research with EndNote
Organize your research with EndNote
 
Delete GRUB/Linux dual booting and claim space
Delete GRUB/Linux dual booting and claim spaceDelete GRUB/Linux dual booting and claim space
Delete GRUB/Linux dual booting and claim space
 
Debian installation screenshots
Debian installation  screenshotsDebian installation  screenshots
Debian installation screenshots
 
IR and DSpace - International Seminar, Dhaka University
IR and DSpace - International Seminar, Dhaka UniversityIR and DSpace - International Seminar, Dhaka University
IR and DSpace - International Seminar, Dhaka University
 
EndNote Basic: citation utility for research support
EndNote Basic: citation utility for research supportEndNote Basic: citation utility for research support
EndNote Basic: citation utility for research support
 
IUB Workshop on Effective Search Strategies
IUB Workshop on Effective Search StrategiesIUB Workshop on Effective Search Strategies
IUB Workshop on Effective Search Strategies
 
Start your research with endnote (edited)
Start your research with endnote (edited)Start your research with endnote (edited)
Start your research with endnote (edited)
 
MarcEdit - makes the life easier (BALID Training programme on Marc 21)
MarcEdit - makes the life easier (BALID Training programme on Marc 21)MarcEdit - makes the life easier (BALID Training programme on Marc 21)
MarcEdit - makes the life easier (BALID Training programme on Marc 21)
 
MARC 21: prologue (BALID Training programme on Marc 21)
MARC 21: prologue (BALID Training programme on Marc 21)MARC 21: prologue (BALID Training programme on Marc 21)
MARC 21: prologue (BALID Training programme on Marc 21)
 

Recently uploaded

Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 

Recently uploaded (20)

Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 

Introducing linux: a short expedition to the debian environment

  • 1. Introducing Linux Md. Zahid Hossain Shoeb Independent University, Bangladesh (IUB) a short expedition to the environment Deputy Librarian (Systems) BALID Training Programme on Koha Date: 3-7 September, 2013 Venue: North South University, Dhaka
  • 2. Overview • Operating system • Road to Linux • GNU, Free Software movement • Popularity of Linux • Linux Overview • Why should use Linux • About Debian • Debian Features • Package, Repository • GUI / CLI interface • Tools under Menu panel • Basic commands BALID Training Programme on Koha 2
  • 3. Operating Systems • Software – Collection of instructions that control the tasks a computer performs – Can be changed without disassembling the computer and rewiring • Application – Software program that provides service for computer user – Cannot act without “permission” from operating system BALID Training Programme on Koha 3
  • 4. Operating Systems (continued) • Operating system (OS) – Software that helps other programs control computer hardware and interact with users – All computers need an OS – Popular OSes include Windows, Linux, Mac OSX BALID Training Programme on Koha 4
  • 5. Operating System Functions • Initialize computer hardware • Allocate system resources to programs • Keep track of multiple programs running at same time • Provide organized method for all programs to use system devices BALID Training Programme on Koha 5
  • 6. Before Linux • In 80’s, Microsoft’s DOS was the dominated OS for PC • Apple MAC was better, but expensive • UNIX was much better, but much, much more expensive. Only for minicomputer for commercial applications • People was looking for a UNIX based system, which is cheaper and can run on PC • Both DOS, MAC and UNIX were proprietary, i.e., the source code of their kernel is protected • No modification is possible without paying high license fees BALID Training Programme on Koha 6
  • 7. Road to Linux • Inspired by the UNIX OS, the Linux kernel was developed as a clone of UNIX • GNU was started in 1984 with a mission to develop a free UNIX-like OS • Linux was the best fit as the kernel for the GNU Project • Linux kernel was passed onto many interested developers throughout the Internet • Linux today is a result of efforts of Linus Torvalds and thousands of individuals, in 1991 BALID Training Programme on Koha 7
  • 8. Linux arrived • Linux is basically a kernel, it was combined with the various software and compilers from GNU Project to form an OS, called GNU/Linux • Linux is a full-fledged OS available in the form of various Linux Distributions • RedHat, Fedora, SuSE, Ubuntu, Debian are examples of Linux distros • Linux is supported by big names as IBM, Google, Sun, Novell, Oracle, HP, Dell, and many more BALID Training Programme on Koha 8
  • 9. Linux arrived (continued) • Linux development method – Person identifies need and begins writing program – Developer announces project on Internet – Others respond and work on different parts of project – Person leading project releases software – People download source code and try program; send back information about problems – Developers fix bugs • Forking – Creating new project based on existing source code BALID Training Programme on Koha 9
  • 10. GNU • Stands for GNUs Not Unix. GNU General Public License. GNU - GPL – Copyleft • Free software, as defined by the FSF (Free Software Foundation), is a "matter of liberty, not price." • Terms for using Linux – You can modify / copy / redistribute the source code at no cost provided you do so under the GPL – If you get source under the GPL, any changes / improvements / spin offs you make to it are also under GPL – You must always distribute source code + GPL of programs that you develop with the help of GPL software online. BALID Training Programme on Koha 10
  • 11. Motivating Free Software Developers • Why would so many people devote so much effort to something without expecting any reward? – Fills developer’s specific technical need – Respect of like-minded professionals – Sense of contribution and community – Valuable boost to developer’s resume BALID Training Programme on Koha 11
  • 12. Why the popularity of Linux? • Hardware – Cost of hardware always decreases. – Usage of a hardware required the device drivers to be available. – Writing new drivers for Linux is the easiest solution. (For unavailable devices) – Once the drivers were ready, they were incorporated into the main source so as to give everybody access to it! BALID Training Programme on Koha 12
  • 13. Why the popularity of Linux? • Cost of developing tools – Hardware developers rather than developing a complete OS for a processor, could simply port Linux to that platform. – Then everything that works in Linux will work seamlessly reducing cost to a fraction. – Driver Maintenance / Bug Fixes and improvements contributions from the FOSS community. BALID Training Programme on Koha 13
  • 14. Why the popularity of Linux? • Software Developers – A consistent software environments that is completely machine independent. – Every system will have a GNU toolchain to compile code for the resident platform! – If source distribution is given, the software can be distributed in C without worrying about hardware support. BALID Training Programme on Koha 14
  • 15. Language of Linux • Linux was written completely in C and ASM. • UNIX (1969) was written in PDP-7 Assembly. – This version of UNIX was unportable to new hardware. • Thomson developed B as a machine independent language to make UNIX portable. • Dennis Ritchie rewrote UNIX in C, a language he developed from B and concepts from other languages. BALID Training Programme on Koha 15
  • 16. Linux : More than an OS • Like as OS Linux supports – Memory Management – Device management – Task Scheduling – User Management – And more… • But it also comes with a set of tools and utilities that make life easier for the user/developers BALID Training Programme on Koha 16
  • 17. Overview of Linux • Kernel Interface • Multi-user , Multiprocessing, MultiTasking, Multithreading • Hierarchical Filesystem • A Shell Interpreter for the OS • Device independent I/O • Inter Process Communication • Security • GUI • Software Development BALID Training Programme on Koha 17
  • 18. Kernel Interface • Kernel is the Heart of the linux OS. • Handles all the background OS tasks. – Divides system resources – Manages memory – Gives access to devices • Kernel abstracts the hardware from the rest of the processes. • Different Hardware need different setup and compiled kernels, and all other functionality will be unchanged. BALID Training Programme on Koha 18
  • 19. Linux Kernel Diagram BALID Training Programme on Koha 19
  • 20. MultiTasking • Linux was always a fully protected multitasking OS. • Jobs can be run in background, and owned by different users – on the same processor. • Linux manages resource between active processes / background processors and keeps in sync seamlessly. • capable of supporting and utilizing more than one computer processor. • allow different parts of a software program to run concurrently. BALID Training Programme on Koha 20
  • 21. Hierarchical FileSystem • Files are kept in directories • Directories can hold other directories. • FHS – Filesystem Hierarchy Standard defines the rules for where certain files will always be kept. • The “root” of the Linux FS is always ‘/’ • Files & directories can be owned by users to enforce security privileges. BALID Training Programme on Koha 21
  • 22. Hierarchical File System BALID Training Programme on Koha 22
  • 23. Hierarchical File System Directories User home directories Data files (example) root– Data files are stored in directories (folders) – Directories may be nested as deep as needed / etc file a file b passwd inittab koha dspace opensrf usrhome BALID Training Programme on Koha 23
  • 24. BASH – the Linux Shell system • Bourne Again Shell is s command processor • It acts as an interface between the user and the operating system • Commands / applications can be given to this interpreter which can then make the operating system do various tasks • Commands can be stored in shell scripts for ease of access BALID Training Programme on Koha 24
  • 25. Device independent I/O • All physical devices – monitor, mouse, keyboard printer appear as files in the Linux file system that are manipulated by the kernel. • This means that if a program is written to manipulate this file, then the kernel will take it to mean an action on the physical I/O device. • This allows for a standard API for I/O in all Linux systems. BALID Training Programme on Koha 25
  • 26. Linux User Interface • Can be controlled through command Line Interface(CLI) or Graphical User Interface (GUI) • GUI run through Desktop Environments (DE) • KDE, GNOME, Xfce, E17 are popular Des • The GUI interface is easy-to-use and much like that of Windows and Mac OSX • The CLI is similar to that of UNIX/BSD BALID Training Programme on Koha 26
  • 27. Programming in Linux • Modern languages are cross-platform, like Python, Ruby, Perl, Java • Most Linux distros support these languages and have their runtimes pre-installed • GTK+ and Qt are widely used to design applications for Linux • IDEs like NetBeans, Anjuta, KDevelop, MonoDevelop, Eclipse are available for Linux too BALID Training Programme on Koha 27
  • 28. Linux on the Desktop • Linux is desktop computer ready • Large number of distros targeted at Desktop users are available • Linux desktop distros come with many commonly used pre-installed softwares • The modern Linux interface is user-friendly and makes the interaction with computer easy BALID Training Programme on Koha 28
  • 29. Linux on Servers and Supercomputers • Linux is the most used OS on servers • 6 out of 10 reliable web hosting companies use Linux • Linux is the cornerstone of the LAMP server- software combination (Linux, Apache, MySQL, Perl/PHP/Python) which has achieved popularity among developers • Out of top 500 supercomputers, Linux is deployed on 427 of them BALID Training Programme on Koha 29
  • 30. Why should you use Linux? • Linux systems are extremely stable • Linux is Free • No threat of viruses • Linux comes with most of the required software pre-installed • Update all your software with minimum fuss • Linux never gets slow • Linux does not need defragmentation • Linux can even run on oldest hardware • Adding more software is a matter of a few clicks • Most Windows-only apps have their either their native version or alternatives for Linux • With Linux, you get the highest degree of possible customizability BALID Training Programme on Koha 30
  • 31. Debian: about • Debian is an operating system composed of free software mostly carrying the GNU General Public License • Its focus of different kernels makes it appeal to different titles, such as Debian GNU/Linux and Debian GNU/kFreeBSD • Debian GNU/Linux is one of the most popular Linux distributions for personal and Internet server machines • Debian is seen as a solid Linux, and as a consequence has been used as a base for other Linux distributions • More than 20 awards have been awarded throughout Debian's lifetime including Best Linux Distribution BALID Training Programme on Koha 31
  • 32. Debian: Features • Beside Linux and kFreeBSD, Debian has more two kernels in development, GNU Hurd and NetBSD • The kernel is offered for Intel/AMD 32-bit and 64-bit architecture machines • Debian is still primarily known as a Linux distribution with access to online repositories hosting over 37,500 software packages BALID Training Programme on Koha 32
  • 33. Debian: Features • Debian officially hosts free software on its repositories but also allows non-free software to be installed • Debian offers 10 DVD and 69 CD images for download and installation, but only the first optical iso image of any of its downloadable sets is sufficient • Debian requires the first installable image, but uses online repositories for additional software • Debian offers different network installation methods for expert users. BALID Training Programme on Koha 33
  • 34. Debian: Environment • Command Line Interface • Desktop environments – Most popular GNOME (the default), KDE Plasma Workspaces, Xfce and LXDE • Debian-Live – A Debian-Live system can be booted from removable media – Debian-Live allows a user to try a Debian desktop without actually installing BALID Training Programme on Koha 34
  • 35. Debian: Default GUI BALID Training Programme on Koha 35
  • 36. Debian: Logging into CLI • To go to the command prompt from GUI, press Alt+Ctrl+F1 • To return to the GUI, press Alt+Ctrl+F7 BALID Training Programme on Koha 36
  • 37. Debian: The Menu Panel • Applications – The Applications menu contains a variety of icons that start software applications. It is similar to the Microsoft Windows Start menu • Places – The Places menu contains a customizable list of directories like, Home, Desktop, Documents, Downloads, Picture, Search, Recent documents, Computer places etc. • System – The System menu contains a variety of Systems Administration related items like, Software Sources, Update, Package Manager, Printing, Network, Services etc. along with Logout and Shutdown option BALID Training Programme on Koha 37
  • 38. Debian: Menu items BALID Training Programme on Koha 38
  • 39. Debian: Package and Rpository • Package management – Debian's official standard for administering packages on its system is the APT (Advanced Package Management) toolset – An APT tool allows administration of an installed Debian system for retrieving and resolving package dependencies from online repositories – APT tools depend on verifying what is installed in the dpkg database in order to determine missing packages for requested installs. BALID Training Programme on Koha 39
  • 40. Debian: Package and Rpository (cont..) • dpkg database – dpkg is the storage information center of installed package – database is located at /var/lib/dpkg/available – contains the list of "installed" software on the current system BALID Training Programme on Koha 40
  • 41. Debian: Package and Rpository (cont..) • Package management – In TUI apt-get and apt-cache are command tools of the standard APT-class tool set apt package, aptitude command supports better search on package metadata – In GUI gdebi is an APT combines the functionality of the dpkg tool and APT package resolving with online repositories BALID Training Programme on Koha 41
  • 42. Debian: Package and Rpository (cont..) • Repositories – Official, unofficial and third- party – Official: stable (current), old stable (prior release), backports (more recent), testing (next major release), unstable (under development), snapshot (older version), experimental (temporary stage for developers) – Unofficial: non-free, contrib – Third-party: not part of Debian Project BALID Training Programme on Koha 42
  • 43. Debian: Release timeline BALID Training Programme on Koha 43
  • 44. Debian: Basic commands • Basic Linux Commands – File Handling – Text Processing – System Administration – Process Management – Archival – Network – File Systems – Advanced Commands BALID Training Programme on Koha 44
  • 45. Debian: Basic commands (cont..) • File Handling commands mkdir – make directories • Usage: mkdir [OPTION] DIRECTORY... • Example: mkdir zahid ls – list directory contents • Usage: ls [OPTION]... [FILE]... • Example: ls, ls -l, ls zahid cd – changes directories • Usage: cd [DIRECTORY] • Example: cd zahid BALID Training Programme on Koha 45
  • 46. Debian: Basic commands (cont..) • File Handling(contd...) pwd -print name of current working directory • Usage: pwd vim – Vi Improved, a programmers text editor • Usage: vim [OPTION] [file]... • Example: vim file1.txt BALID Training Programme on Koha 46
  • 47. Debian: Basic commands (cont..) • File Handling(contd...) cp – copy files and directories • Usage: cp [OPTION]... SOURCE DEST • Example: cp sample.txt sample_copy.txt cp sample_copy.txt target_dir mv – move (rename) files • Usage: mv [OPTION]... SOURCE DEST • Example: mv source.txt target_dir mv old.txt new.txt BALID Training Programme on Koha 47
  • 48. Debian: Basic commands (cont..) • File Handling(contd...) rm -remove files or directories • Usage: rm [OPTION]... FILE... • Example: rm file1.txt , rm rf find – search for files in a directory hierarchy • Usage: find [OPTION] [path] [pattern] • Example: find file1.txt, find name history – prints recently used commands • Usage: history BALID Training Programme on Koha 48
  • 49. Debian: Basic commands (cont..) • Text Processing cat – concatenate files and print on the standard output • Usage: cat [OPTION] [FILE]... • Example: cat file1.txt file2.txt cat -n file1.txt echo – display a line of text • Usage: echo [OPTION] [string] ... • Example: echo I love Debian echo $ BALID Training Programme on Koha 49
  • 50. Debian: Basic commands (cont..) • Text Processing(contd...) grep - print lines matching a pattern • Usage: grep [OPTION] PATTERN [FILE]... • Example: grep I wc - print the number of newlines, words, and bytes in files • Usage: wc [OPTION]... [FILE]... • Example: wc file1.txt wc L file1.txt BALID Training Programme on Koha 50
  • 51. Debian: Basic commands (cont..) • System Administration chmod – change file access permissions • Usage: chmod [OPTION] [MODE] [FILE] • Example: chmod 744 calculate.sh chown – change file owner and group • Usage: chown [OPTION]... OWNER[:[GROUP]] FILE... • Example:. chown remo myfile.txt BALID Training Programme on Koha 51
  • 52. Debian: Basic commands (cont..) • System Administration (contd...) su – change user ID or become superuser • Usage: su [OPTION] [LOGIN] • Example: su shoeb passwd – update a user’s authentication tokens(s) • Usage: passwd [OPTION] • Example: passwd who – show who is logged on • Usage: who [OPTION] • Example: who , who b, who q BALID Training Programme on Koha 52
  • 53. Debian: Basic commands (cont..) • Advanced Commands reboot – reboot the system • Usage: reboot [OPTION] • Example: reboot poweroff – power off the system • Usage: poweroff [OPTION] • Example: poweroff BALID Training Programme on Koha 53
  • 54. Thank you BALID Training Programme on Koha 54