The simplest new method for offline software(deb.s) installation under ubuntu

Kyle Nitzsche kyle.nitzsche at canonical.com
Wed Feb 17 14:55:50 UTC 2010


Note: dpkg -i $pkg.deb does not install dependencies. That is: if the 
pkg you are installing depends on other packages that are not already 
installed, the dpkg -i command install fails. Whereas apt-get install 
<pkg> does install depends.

zz zz wrote:
> Hello DocumentationTeam,I want to introduce a simple solution for 
> offline software installation. How to install software or packages 
> offline is somehow a complex problem,because no internet connection 
> makes the apt-get don"t work,and the number of packages is rather vast. 
>   First,copy all the packages in the folder /var/cache/apt/archives to 
> one of your local non-system disks,you can also sort these packages 
> into different folders according to different softwares, therefore you 
> can separately install different softwares. Then run the Terminal 
> ,type the command "sudo dpkg -i ", then select all (or some ,depending 
> the applications you want to install) these packages(deb), and drag 
> them into the Terminal ,exactly the cursor position,and you will see 
> the packages appear in the form of text.Finally ,click "enter" and the 
> system will automatically install those softwares. The end.
>
> Best
> Zhang Zheng
>
> CHINA 
>
>
> Email: zz708210301 at gmail.com <mailto:zz708210301 at gmail.com> 
>
>  





More information about the ubuntu-doc mailing list