Install packages without internet [duplicate]

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.


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.


This should help:

https://help.ubuntu.com/community/InstallingSoftware#Installing%20packages%20without%20an%20Internet%20connection


See APTonCD

http://aptoncd.sourceforge.net/

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


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.