how to add dvd repositories in ubuntu

71
HOW TO ADD DVD REPOSITORIES IN UBUNTU

Upload: nandha-kumar

Post on 05-Jul-2015

4.090 views

Category:

Technology


9 download

DESCRIPTION

This pdf helps beginners to add dvd repositories in Ubuntu using synaptic or using commands. It also helps on how to install or uninstall a package using synaptic or through commands

TRANSCRIPT

Page 1: How To Add DVD Repositories in Ubuntu

HOW TO ADD DVD

REPOSITORIES IN

UBUNTU

Page 2: How To Add DVD Repositories in Ubuntu

REQUIREMENTS :

All the ISO DVDs of Ubuntu

A DVD Drive

Page 3: How To Add DVD Repositories in Ubuntu

Where to Get The Repository DVDs For the Latest Ubuntu Lucid ( 10.04 ) ?

We can download it from

http://ubunturepo.hnsdc.com/

Page 4: How To Add DVD Repositories in Ubuntu

It can be done in Two Ways:

Using Synaptic Package Manager

Using Commands in the terminal

Page 5: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

What is Synaptic

● a frontend for the apt package managent system.

● It allows you to perform all actions of the command line tool apt-get in a graphical environment.

Page 6: How To Add DVD Repositories in Ubuntu

Synaptic includes

●Installing●Upgrading●Downgrading●Removing

of single packages or even upgrading your whole system.

USING SYNAPTIC MANAGER

Page 7: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

Choose

System → Administration → Synaptic Package Manager

Provide The user password when asked for.

Page 8: How To Add DVD Repositories in Ubuntu
Page 9: How To Add DVD Repositories in Ubuntu
Page 10: How To Add DVD Repositories in Ubuntu
Page 11: How To Add DVD Repositories in Ubuntu

From the Synaptic Package Manager's Menu

Choose Settings → Repositories

USING SYNAPTIC MANAGER

Page 12: How To Add DVD Repositories in Ubuntu
Page 13: How To Add DVD Repositories in Ubuntu
Page 14: How To Add DVD Repositories in Ubuntu

Click on the “Add CD-ROM” button under the “Third-Party Software” Tab in the Dialog Box

It will ask for the DVD. Insert it into DVD-Drive and press “OK”

USING SYNAPTIC MANAGER

Page 15: How To Add DVD Repositories in Ubuntu
Page 16: How To Add DVD Repositories in Ubuntu

Now The DVD will be read and loaded within sometime.

After the DVD is loaded, Click On the Apply Button on the Package Manager's Main Window

Now, We can see new packages being listed on the main window

USING SYNAPTIC MANAGER

Page 17: How To Add DVD Repositories in Ubuntu
Page 18: How To Add DVD Repositories in Ubuntu

In the similar way, We have to add all the DVDs and upgrade the repository by clicking “Apply” Button after every DVD Load

USING SYNAPTIC MANAGER

Page 19: How To Add DVD Repositories in Ubuntu

EXAMPLE INSTALLATION

Page 20: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

We can now see how to install the package “ Amarok “ using Synaptic Package Manager.

Amarok is a free software music player for Linux

Page 21: How To Add DVD Repositories in Ubuntu

Single click on the Packages List window

Type in the word “amarok” in the window

USING SYNAPTIC MANAGER

Page 22: How To Add DVD Repositories in Ubuntu

We can see a small text box at the right bottom corner of the Package-List window

The package will also be highlighted on the list

USING SYNAPTIC MANAGER

Page 23: How To Add DVD Repositories in Ubuntu
Page 24: How To Add DVD Repositories in Ubuntu

Choose the package “ Amarok ” , right-click on it

Choose the “ Mark For Installation ” from the Menu that Appears.

USING SYNAPTIC MANAGER

Page 25: How To Add DVD Repositories in Ubuntu
Page 26: How To Add DVD Repositories in Ubuntu

The required packages and all its dependencies packages will be selected

Click on “ OK “ to install those packages.

USING SYNAPTIC MANAGER

Page 27: How To Add DVD Repositories in Ubuntu
Page 28: How To Add DVD Repositories in Ubuntu
Page 29: How To Add DVD Repositories in Ubuntu
Page 30: How To Add DVD Repositories in Ubuntu

Now, The DVD containing the package will be asked. Insert the corresponding DVD into DVD-Drive and click OK.

The packages will be installed from the DVD.

USING SYNAPTIC MANAGER

Page 31: How To Add DVD Repositories in Ubuntu
Page 32: How To Add DVD Repositories in Ubuntu
Page 33: How To Add DVD Repositories in Ubuntu
Page 34: How To Add DVD Repositories in Ubuntu
Page 35: How To Add DVD Repositories in Ubuntu
Page 36: How To Add DVD Repositories in Ubuntu
Page 37: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

The Window Will get closed Automatically When the option “ Automatically close after the changes have been successfully applied ” is enabled

Page 38: How To Add DVD Repositories in Ubuntu

We can see the Application “Amarok” in the Applications → Sound & Video → Amarok

USING SYNAPTIC MANAGER

Page 39: How To Add DVD Repositories in Ubuntu
Page 40: How To Add DVD Repositories in Ubuntu

USING Commands

We can also add and update DVD to repositories through terminal

Open terminal from Applications → Accessories → Terminal

Terminal window will appear

Page 41: How To Add DVD Repositories in Ubuntu
Page 42: How To Add DVD Repositories in Ubuntu

USING Commands

Page 43: How To Add DVD Repositories in Ubuntu

USING Commands

Type in the command

sudo apt-cdrom add

Give User Password

Page 44: How To Add DVD Repositories in Ubuntu
Page 45: How To Add DVD Repositories in Ubuntu

Insert The DVD-Rom in a sequence starting from DVD numbered as 1 and press Enter

The DVD will be read and the repository will be cached from the DVD

USING Commands

Page 46: How To Add DVD Repositories in Ubuntu
Page 47: How To Add DVD Repositories in Ubuntu
Page 48: How To Add DVD Repositories in Ubuntu
Page 49: How To Add DVD Repositories in Ubuntu

After that task, the terminal will return to the prompt

Type

sudo apt-get update

USING Commands

Page 50: How To Add DVD Repositories in Ubuntu
Page 51: How To Add DVD Repositories in Ubuntu

USING Commands

In the similar way we can update the repository with all the DVDs by repeating the above commands

Page 52: How To Add DVD Repositories in Ubuntu

We can also install the packages needed using the commands

sudo apt-get install package name

USING Commands

Page 53: How To Add DVD Repositories in Ubuntu

REMOVING OR

UNINSTALLING A

PACKAGE

Page 54: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

Open Synaptic Package Manager

Type in the Application name in the list window

For Example , we can see how to uninstall a game named “gbrainy”

Page 55: How To Add DVD Repositories in Ubuntu
Page 56: How To Add DVD Repositories in Ubuntu

Gbrainy – a Maths Game

Page 57: How To Add DVD Repositories in Ubuntu
Page 58: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

Now We can see the “gbrainy” game is highlighted

Right click on it and choose either “ Mark For Removal “

or “Mark For Complete Removal “

Page 59: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

Mark For Removal

removes the application only and not its dependencies

Mark For Complete Removal

removes both the application and its dependencies

Page 60: How To Add DVD Repositories in Ubuntu
Page 61: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

Click on “Apply” after selecting

Either

“ Mark for Removal “

Or

“ Mark for Complete Removal “

Page 62: How To Add DVD Repositories in Ubuntu
Page 63: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

Page 64: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

Page 65: How To Add DVD Repositories in Ubuntu
Page 66: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

Page 67: How To Add DVD Repositories in Ubuntu

USING SYNAPTIC MANAGER

Page 68: How To Add DVD Repositories in Ubuntu

USING Commands

We can also remove or un-install a package through commands

Page 69: How To Add DVD Repositories in Ubuntu

sudo apt-get remove package name

Removes packages alone and not its dependencies

USING Commands

Page 70: How To Add DVD Repositories in Ubuntu

sudo apt-get auto-remove package name

Removes both packages and all its dependencies

USING Commands

Page 71: How To Add DVD Repositories in Ubuntu

THANK YOU

By

[email protected]