SlideShare a Scribd company logo
NATIONAL INFORMATICS CENTRE
           CHENNAI




   Welcome To The Lecturer on

         “Open Source”

         14-Dec-2009
Introduction



What is Open Source?

"Open source" makes the source code of software freely
available, so that anyone can download, use, modify, and
redistribute their software.

“Huge Community Support”
Open Source Criteria


1. Free Redistribution
2. Source Code
3. Derived Works
4. Integrity of The Author's Source Code
5. No Discrimination Against Persons or Groups
6. No Discrimination Against Fields of Endeavor
7. Distribution of License
8. License Must Not Be Specific to a Product
9. License Must Not Restrict Other Software
10. License Must Be Technology-Neutral
Freeware vs Shareware


Freeware
No community and no development infrastructure.

Forbids the user to alter the program, repackage it, or sell it. It might allow
redistribution.

Freeware can be downloaded for free.

Shareware
Shareware is the distribution of software to another person for evaluation for a
limited number of days.

After trying it out, we have to pay the fee to gain full use of the software.
Open Source Licenses



Copyright & License

Copyright   -     safeguards the ownership of an intellectual property.
License     -     a document lets someone to use your intellectual property.

Open Source Licenses

     GNU General Public License (GPL)
     Requires derivate works to also fall under the GPL.

     Berkeley Software Distribution (BSD)
     Does not require derivate works to also fall under the BSD license
Linux Vs Windows


Particular               Linux                     Windows
Software Cost            Free /Low                 Costly

Easy                     Easy                      Easier
                         More Reliable than 
Reliability              Windows                   Required further improvement

Sofware Tools            Less Numbers but freely   More but Cost

Hardware driver and user 
Interfaces                Few                      Many
                                                   More vulnerable to 
Security                 Very few attacks          viruses/attacks

Open Source              Yes                       No

Support                  Less Compare to windows   Better Support
Linux Origin




Linux is a “free” Unix-type operating system originally created by
“Linus Torvalds” with the assistance of developers around the
world.

August 25 1991 “Linus” conceives the idea of Linux and
announces the project.
Introduction to Linux



Linux, also known as GNU/Linux, is a free, UNIX-like operating
system, developed originally for home PCs, but which now runs on
every hardware platform.

Linux is an implementation of UNIX.


Linux – Multiuser, Multitasking, Multiprocessing, Multithreading
        Operating Systems.
Why Linux?


Linux, is a free, UNIX-like operating system.

Works on any kind of Hardwares ( PC/Workstations/Embedded
Systems/Mainframe ) .

Comes with complete development              environment     includes
compilers, toolkits, scripting Languages.

Linux boxes are known for running months or even years at a time
without crashing, freezing, or having to be rebooted - “stability”.

Linux provides rich Graphical User Interface (GUI) Support.

Strong Security Nature – iptables, file permissions, ownership's, ...
Linux Distributions



Ubuntu

Mandriva

Redhat

SuSE

CentOS

...
Linux Applications

Server 
Database Server – Using POSTGRESQL
Web Server ­Using Apache
Mail Server (cyrus) / Proxy Server  (squid) / Firewall.

Desktop 
 Office Software – OpenOffice, koffice
 Graphics ­ Gimp / CAD Programmes (QCAD)
 Internet Browser – Mozilla, Konqueror
 Emulation / Virtual Terminal – SSH
 Development – C,C++, Perl , Python, and Compilers(gcc).
 Editor – Emacs, Vi / Vim
OPEN OFFICE


OpenOffice.org, commonly known as OpenOffice, is open source
software application suite.

An office application suite used mainly for documenting purposes like,

     Office documents (Writer),
     Excel sheets (calc),
     Drawings (Draw),
     Powerpoint Presentations (Impress),
     ...
OPENOFFICE...


Writer

A word processor similar to Microsoft Word and WordPerfect.

It can export Portable Document Format (PDF) files with no additional soft-
ware, and can function as a basic WYSIWYG editor for creating and editing
web pages.
OPENOFFICE...



Calc

A spreadsheet similar to Microsoft Excel and Lotus 1-2-3.

Calc provides a number of features not present in Excel, including a system
which automatically defines series for graphing, based on the layout of the
user’s data.

Calc can also export spreadsheets to the PDF format. (See ooWriter entry,
above, for details of PDF).
OPENOFFICE...




Draw

A vector graphics editor and diagramming tool, similar to Microsoft Visio
and comparable in features to early versions of CorelDRAW.

It features versatile "connectors" between shapes, which are available in a
range of line styles and facilitate building drawings such as flowcharts.

Draw can also export its creations to the PDF format.
OPENOFFICE...




Impress

A presentation program similar to Microsoft PowerPoint.

It can export presentations to Adobe Flash (SWF) files, allowing them to be
played on any computer with a Flash player installed.

It also includes the ability to create PDF files, and the ability to read
Microsoft PowerPoint's .ppt format.
INTERNET BROWSERS


Firefox
      FireFox is a web browser created by Mozilla.
      Open source web browser.

Opera
     Opera is a Web browser and Internet suite developed by the Opera
     Software company.


wget
       wget is non-interactive, meaning that it can work in the background
       a command line browser
GRAPHICS


GIMP
       GIMP - GNU Image Manipulation Program
       It is a freely distributed program for such tasks as
               photo retouching,
               image composition and
               image authoring
       Supports Major File Formats like (png, jpg, jpeg,gif …)
       *(similar to Photoshop)

Scribus
      Scribus is a desktop publishing (DTP) application (Scribus is an
      Open Source program).
MISC. TOOLS


K3B – Rich GUI support
     Creating data cd's
     Creating audio cd's
     DVD burning...

Brasero Disc Burning Tool
     Brasero is yet another application to burn discs (gnome desktop)

Vlc
      VLC media player is an open source, free software media player
      and multimedia framework.

      Reading most audio and video formats (MPEG-2, MPEG-4, DivX,
      MPEG-1, mp3, ogg, aac ...)
MISC. TOOLS...




What is Terminal?
      which only displays text on the screen without pictures.

     It just an powerful interface.

     free and open source add-on package for Linux that
     allows many people to simultaneously use the same
     computer.
MISC. TOOLS...



WINE

Wine is a free software application that aims to allow Unix-like computer
operating systems to execute programs written for Microsoft Windows.

Wine is heavily reliant on its user community.

Wine makes it possible to take advantage of all the Unix strong points
(stability, flexibility, remote administration) while still using the Windows
applications you depend on.
LINUX FILE STRUCTURE
LINUX FILE STRUCTURE...




root   - The home directory for the root user

home   - Contains the user's home directories

bin    - Commands needed during bootup that might be needed
         by normal users

sbin   - Like bin but commands are not intended for normal users.

proc   - This filesystem is not on a disk. It is a virtual filesystem
         that exists in the kernels imagination which is memory.
LINUX FILE STRUCTURE...


usr     -   Contains all commands, libraries, man pages,
            games and static files for normal Operation.

lib     -   Unchanging data files/shared files for programs and
            subsystems.

local   -   The place for locally installed software and other files.

mnt     -   Mount points for temporary mounts by the system
            administrator.
LINUX FILE STRUCTURE...



boot -    Files used by the bootstrap loader, LILO. Kernel images are
          often kept here.

var   -   This directory contains files of variable file storage.
          Files in /var are dynamic and are constantly being written to
          or changed..

etc   -   Configuration files specific to the machine.

dev -     Contains device files required for interfacing with hardware.
          Devices in UNIX are either block or character devices.
Useful Linux Commands

Help Commands
command-name - - help   Lists information about the command.
info command-name
man command-name

Example:
ls - - help
info ls
man ls
Useful Linux Commands...
                  Directory and file location commands


cp source destination - Copies a file from source to destination.

Example
cp /usr/test.txt /opt/

mv source destination- Moves a file from source to destination also
                       renames file source to destination.

Example
mv /usr/test.txt /opt/rename.txt

rm filename        -     Deletes (removes) a file

Example
rm test.txt
Useful Linux Commands...
             Directory and file location commands...




ls             -    Lists the contents of a directory

Example        -    ls /opt

mkdir filename -    Creates (makes) a directory

Example        -    mkdir test-dir

rmdir filename -    Deletes (removes) a directory

Example        -    rmdir test-dir
Useful Linux Commands...
           system administration commands

useradd    -   Add a new user
Example    :   useradd user-name-to-add

userdel    -   Deletes a user
Example    :   userdel user-name-to-delete

groupadd -     Add a new group
Example :      groupadd group-name-to-add

groupdel   -   Deletes a group
Example    :   groupdel group-name-to-delete

passwd     -   Changes the password
Example    :   passwd username
Useful Linux Commands...
      system administration commands...

fdisk     -   Partition management utility
Example   :   fdisk -ls

df        -   Lists all mounted file systems and usage
Example   :   df
Example   :   df partition/name - (for partition name see fdisk)

mount     -   mountSystem Mount a disk to the mount System
Example   :   mount

top       -   Views processor usage
Example   :   top
Useful Linux Commands...


cd – Change Directory
Change the current working directory.


Ex :
       1. cd personal – change the directory into personal.

       2. cd ..     - Back one directory on the majority of all Unix shells.
                      It is important that the space be between the cd and the ..
LINUX FILE STRUCTURE



In the Linux operating system, all file systems are contained within one
directory hierarchy.

The root directory is the top level directory, and all its subdirectories
make up the directory hierarchy.

All directories are grouped under the root entry "/".
Q/A SESSION

    ???
Thank you...

More Related Content

PDF
Linux Seminar for Beginners
PPT
Presentation1 linux os
PPT
Linux seminar
PDF
Linux programming lecture_notes
ODP
An Introduction to Linux
PPTX
Introduction to linux
PDF
Techbuddy: Introduction to Linux session
PPTX
ZendCon - Linux 101
Linux Seminar for Beginners
Presentation1 linux os
Linux seminar
Linux programming lecture_notes
An Introduction to Linux
Introduction to linux
Techbuddy: Introduction to Linux session
ZendCon - Linux 101

What's hot (20)

PPTX
Linux fundamentals
PPT
PDF
Module 1 introduction to Linux
PPT
comparing windows and linux ppt
PDF
Linux introduction Class 02
PPT
Open source operating systems
PPTX
Linux.ppt
PPTX
Introduction to Linux basic
PPT
Linux os and its features
PPTX
Linux Operating System
PPT
Linux a free and open source operating system
PPTX
Linux; Operating System
ODP
Introduction to linux
PPTX
Linux
PPT
An Introduction To Linux Development Environment
PPT
Linux: Basics OF Linux
PPT
A Quick Introduction to Linux
PPT
Linux introduction
PPT
Intro tounix
PPTX
Linux Simple Introduction
Linux fundamentals
Module 1 introduction to Linux
comparing windows and linux ppt
Linux introduction Class 02
Open source operating systems
Linux.ppt
Introduction to Linux basic
Linux os and its features
Linux Operating System
Linux a free and open source operating system
Linux; Operating System
Introduction to linux
Linux
An Introduction To Linux Development Environment
Linux: Basics OF Linux
A Quick Introduction to Linux
Linux introduction
Intro tounix
Linux Simple Introduction
Ad

Similar to Linux nic training_intro_14_dec_09 (20)

PPTX
Linux opearting system ppt
PPT
Intro to linux
PPTX
Linux ppt
PPTX
Linux operating system - Overview
PPTX
Linux operating system ppt
PPT
Linux
PPTX
Linux_ operating_ System (Linux os ).pptx
PPTX
I Am Linux-Introductory Module on Linux
PDF
What is the linux
PPT
Linux interview questions-ppt
PPTX
Linux operating system
ODP
Foss Presentation
PPTX
Linuxppt.pptx
DOCX
UNIT I LINUX.docx
PPTX
Programming and problem solving 3
PPTX
linux _________________________v1.2.pptx
PPT
Introduction 2 linux ml
Linux opearting system ppt
Intro to linux
Linux ppt
Linux operating system - Overview
Linux operating system ppt
Linux
Linux_ operating_ System (Linux os ).pptx
I Am Linux-Introductory Module on Linux
What is the linux
Linux interview questions-ppt
Linux operating system
Foss Presentation
Linuxppt.pptx
UNIT I LINUX.docx
Programming and problem solving 3
linux _________________________v1.2.pptx
Introduction 2 linux ml
Ad

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
Teaching material agriculture food technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Modernizing your data center with Dell and AMD
PDF
Machine learning based COVID-19 study performance prediction
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
A Presentation on Artificial Intelligence
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Network Security Unit 5.pdf for BCA BBA.
Building Integrated photovoltaic BIPV_UPV.pdf
Teaching material agriculture food technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Mobile App Security Testing_ A Comprehensive Guide.pdf
Review of recent advances in non-invasive hemoglobin estimation
Modernizing your data center with Dell and AMD
Machine learning based COVID-19 study performance prediction
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
MYSQL Presentation for SQL database connectivity
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
A Presentation on Artificial Intelligence
Advanced methodologies resolving dimensionality complications for autism neur...
Digital-Transformation-Roadmap-for-Companies.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Network Security Unit 5.pdf for BCA BBA.

Linux nic training_intro_14_dec_09

  • 1. NATIONAL INFORMATICS CENTRE CHENNAI Welcome To The Lecturer on “Open Source” 14-Dec-2009
  • 2. Introduction What is Open Source? "Open source" makes the source code of software freely available, so that anyone can download, use, modify, and redistribute their software. “Huge Community Support”
  • 3. Open Source Criteria 1. Free Redistribution 2. Source Code 3. Derived Works 4. Integrity of The Author's Source Code 5. No Discrimination Against Persons or Groups 6. No Discrimination Against Fields of Endeavor 7. Distribution of License 8. License Must Not Be Specific to a Product 9. License Must Not Restrict Other Software 10. License Must Be Technology-Neutral
  • 4. Freeware vs Shareware Freeware No community and no development infrastructure. Forbids the user to alter the program, repackage it, or sell it. It might allow redistribution. Freeware can be downloaded for free. Shareware Shareware is the distribution of software to another person for evaluation for a limited number of days. After trying it out, we have to pay the fee to gain full use of the software.
  • 5. Open Source Licenses Copyright & License Copyright - safeguards the ownership of an intellectual property. License - a document lets someone to use your intellectual property. Open Source Licenses GNU General Public License (GPL) Requires derivate works to also fall under the GPL. Berkeley Software Distribution (BSD) Does not require derivate works to also fall under the BSD license
  • 6. Linux Vs Windows Particular Linux Windows Software Cost Free /Low  Costly Easy Easy Easier More Reliable than  Reliability Windows Required further improvement Sofware Tools Less Numbers but freely More but Cost Hardware driver and user  Interfaces Few Many More vulnerable to  Security Very few attacks viruses/attacks Open Source Yes No Support Less Compare to windows Better Support
  • 7. Linux Origin Linux is a “free” Unix-type operating system originally created by “Linus Torvalds” with the assistance of developers around the world. August 25 1991 “Linus” conceives the idea of Linux and announces the project.
  • 8. Introduction to Linux Linux, also known as GNU/Linux, is a free, UNIX-like operating system, developed originally for home PCs, but which now runs on every hardware platform. Linux is an implementation of UNIX. Linux – Multiuser, Multitasking, Multiprocessing, Multithreading Operating Systems.
  • 9. Why Linux? Linux, is a free, UNIX-like operating system. Works on any kind of Hardwares ( PC/Workstations/Embedded Systems/Mainframe ) . Comes with complete development environment includes compilers, toolkits, scripting Languages. Linux boxes are known for running months or even years at a time without crashing, freezing, or having to be rebooted - “stability”. Linux provides rich Graphical User Interface (GUI) Support. Strong Security Nature – iptables, file permissions, ownership's, ...
  • 12. OPEN OFFICE OpenOffice.org, commonly known as OpenOffice, is open source software application suite. An office application suite used mainly for documenting purposes like, Office documents (Writer), Excel sheets (calc), Drawings (Draw), Powerpoint Presentations (Impress), ...
  • 13. OPENOFFICE... Writer A word processor similar to Microsoft Word and WordPerfect. It can export Portable Document Format (PDF) files with no additional soft- ware, and can function as a basic WYSIWYG editor for creating and editing web pages.
  • 14. OPENOFFICE... Calc A spreadsheet similar to Microsoft Excel and Lotus 1-2-3. Calc provides a number of features not present in Excel, including a system which automatically defines series for graphing, based on the layout of the user’s data. Calc can also export spreadsheets to the PDF format. (See ooWriter entry, above, for details of PDF).
  • 15. OPENOFFICE... Draw A vector graphics editor and diagramming tool, similar to Microsoft Visio and comparable in features to early versions of CorelDRAW. It features versatile "connectors" between shapes, which are available in a range of line styles and facilitate building drawings such as flowcharts. Draw can also export its creations to the PDF format.
  • 16. OPENOFFICE... Impress A presentation program similar to Microsoft PowerPoint. It can export presentations to Adobe Flash (SWF) files, allowing them to be played on any computer with a Flash player installed. It also includes the ability to create PDF files, and the ability to read Microsoft PowerPoint's .ppt format.
  • 17. INTERNET BROWSERS Firefox FireFox is a web browser created by Mozilla. Open source web browser. Opera Opera is a Web browser and Internet suite developed by the Opera Software company. wget wget is non-interactive, meaning that it can work in the background a command line browser
  • 18. GRAPHICS GIMP GIMP - GNU Image Manipulation Program It is a freely distributed program for such tasks as photo retouching, image composition and image authoring Supports Major File Formats like (png, jpg, jpeg,gif …) *(similar to Photoshop) Scribus Scribus is a desktop publishing (DTP) application (Scribus is an Open Source program).
  • 19. MISC. TOOLS K3B – Rich GUI support Creating data cd's Creating audio cd's DVD burning... Brasero Disc Burning Tool Brasero is yet another application to burn discs (gnome desktop) Vlc VLC media player is an open source, free software media player and multimedia framework. Reading most audio and video formats (MPEG-2, MPEG-4, DivX, MPEG-1, mp3, ogg, aac ...)
  • 20. MISC. TOOLS... What is Terminal? which only displays text on the screen without pictures. It just an powerful interface. free and open source add-on package for Linux that allows many people to simultaneously use the same computer.
  • 21. MISC. TOOLS... WINE Wine is a free software application that aims to allow Unix-like computer operating systems to execute programs written for Microsoft Windows. Wine is heavily reliant on its user community. Wine makes it possible to take advantage of all the Unix strong points (stability, flexibility, remote administration) while still using the Windows applications you depend on.
  • 23. LINUX FILE STRUCTURE... root - The home directory for the root user home - Contains the user's home directories bin - Commands needed during bootup that might be needed by normal users sbin - Like bin but commands are not intended for normal users. proc - This filesystem is not on a disk. It is a virtual filesystem that exists in the kernels imagination which is memory.
  • 24. LINUX FILE STRUCTURE... usr - Contains all commands, libraries, man pages, games and static files for normal Operation. lib - Unchanging data files/shared files for programs and subsystems. local - The place for locally installed software and other files. mnt - Mount points for temporary mounts by the system administrator.
  • 25. LINUX FILE STRUCTURE... boot - Files used by the bootstrap loader, LILO. Kernel images are often kept here. var - This directory contains files of variable file storage. Files in /var are dynamic and are constantly being written to or changed.. etc - Configuration files specific to the machine. dev - Contains device files required for interfacing with hardware. Devices in UNIX are either block or character devices.
  • 26. Useful Linux Commands Help Commands command-name - - help Lists information about the command. info command-name man command-name Example: ls - - help info ls man ls
  • 27. Useful Linux Commands... Directory and file location commands cp source destination - Copies a file from source to destination. Example cp /usr/test.txt /opt/ mv source destination- Moves a file from source to destination also renames file source to destination. Example mv /usr/test.txt /opt/rename.txt rm filename - Deletes (removes) a file Example rm test.txt
  • 28. Useful Linux Commands... Directory and file location commands... ls - Lists the contents of a directory Example - ls /opt mkdir filename - Creates (makes) a directory Example - mkdir test-dir rmdir filename - Deletes (removes) a directory Example - rmdir test-dir
  • 29. Useful Linux Commands... system administration commands useradd - Add a new user Example : useradd user-name-to-add userdel - Deletes a user Example : userdel user-name-to-delete groupadd - Add a new group Example : groupadd group-name-to-add groupdel - Deletes a group Example : groupdel group-name-to-delete passwd - Changes the password Example : passwd username
  • 30. Useful Linux Commands... system administration commands... fdisk - Partition management utility Example : fdisk -ls df - Lists all mounted file systems and usage Example : df Example : df partition/name - (for partition name see fdisk) mount - mountSystem Mount a disk to the mount System Example : mount top - Views processor usage Example : top
  • 31. Useful Linux Commands... cd – Change Directory Change the current working directory. Ex : 1. cd personal – change the directory into personal. 2. cd .. - Back one directory on the majority of all Unix shells. It is important that the space be between the cd and the ..
  • 32. LINUX FILE STRUCTURE In the Linux operating system, all file systems are contained within one directory hierarchy. The root directory is the top level directory, and all its subdirectories make up the directory hierarchy. All directories are grouped under the root entry "/".
  • 33. Q/A SESSION ???