Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I install ubuntu packages from the ubuntu cd. I have ubuntu-desktop 10.04 running and I have to install wvdial package but no internet connection for installing from apt repository.

share|improve this question
2  
possible duplicate of How can I install software offline? –  Lekensteyn May 16 '11 at 20:32

5 Answers 5

up vote 6 down vote accepted

Since wvdial is on the installation CD, you can enable System -> Administration -> Software Sources -> Ubuntu Software -> Installable from CD-ROM/DVD -> Cdrom with Ubuntu 10.04 and then install it via Synaptic.

In the long run, though, you should have a way to install software upgrades and packages that aren't included on the CD. For this I recommend using Keryx, which is essentially a relay for your package manager over a USB drive. Updates can be downloaded using an internet-connected computer running Windows, OS X, or Linux.

share|improve this answer
    
Isn't there any option to install from command line as Software Sorces could not add the cd-rom. –  user3215 Oct 13 '10 at 1:26

See APTonCD

http://aptoncd.sourceforge.net/

https://help.ubuntu.com/community/APTonCD

share|improve this answer
    
I think I can't try this as this require internet –  user3215 Oct 13 '10 at 1:27

Using System -> Administration -> Software Sources (or Settings -> Edit Origins in KPackageKit), go to Other Software tab and click "Add CD-ROM" while the CD is in the drive. Choose to reload the software sources, and then install as usual. It'll use the CD as a repository.

share|improve this answer
    
When i click "Add CD-ROM" it prompts to insert cd. The cd is inserted and no problem with the cd drive and the cd is mounted on the desktop automatically. Don't know what's the problem. –  user3215 Oct 13 '10 at 1:23
    
I think it's getting dependency error –  user3215 Jan 5 '11 at 16:34

It is not dependency error. The apt is not recognizing it.

Try to see where the cdrom mounts, by entering command mount in the terminal. It probably mounts on /media/cdrom but apt recognizes cdrom in the /media/apt directory. so make a symbolic link

sudo ln -s /media/cdrom /media/apt. After that you can enter this command,
sudo apt-cdrom add, it will work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.