Tuesday, July 24, 2007

adding dvd repo in ubuntu server

using ubuntu server means no gui [no synaptic???]. in order to add dvd repo, do:

1. make sure the /cdrom is link to the correct cd/dvd rom being used.
% ls -l /cdrom
lrwxrwxrwx 1 root root 11 2007-07-24 12:25 /cdrom -> /media/cdrom


I put the dvd repo in /media/cdrom. Otherwise you should point to the right direction, for example:
% sudo rm /cdrom
% sudo ln -s /media/cdrom1 /cdrom
# create symbolic link /media/cdrom1 as /cdrom

2. add the dvd repo by
% sudp apt-cdrom add

3. enter your password, then insert the dvd repo disk 1 and press enter.

4. do for the other three by repeating step 3 three times.

5. after that, don't forget to update the system using
% sudo apt-get update


Now, you have added dvd repo to your system, next time you wanna install software, you will be asked to insert a specific cd to where the software reside.


No comments: