How to install software offline in Ubuntu

Source: Internet
Author: User
Tags gz file
Article Title: Ubuntu offline software installation method. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Due to restrictions on the company's Internet access, but other computers can access the Internet, you can find out how to install software offline.

The general method is to set the apt source at a cost, but first download the latest software directory package. Then, when installing apt, all dependent packages and their packages will be pointed out.

Download these packages from a machine that can access the Internet, and copy them to mongout for installation.

Find a fast source. I am looking for mongo.lupaworld.com and access mongo.lupaworld.com/ubuntu through ie.

If it is an ftp source, it is accessed using ftp software. Easier download

The dists directory contains information about all software packages.

The pool directory contains all the deb installation packages.

You can use the full-site download tool or manually download the corresponding version under the dists directory. For example, 8.10 means downloading all the files under the intrepid directory. Be sure to host the directory structure.
You only need to download the packages.gz file.

Then copy the directory to a random ubuntu Directory, which must be ~ /Lumpworld/ubuntu

Compile source. list to add this directory
Deb file:/home/lumpworld/ubuntu/feisty main restricted multiverse universe
Deb-src file:/home/lumpworld/ubuntu/feisty main restricted multiverse universe

Other directories can also be added.

Now that the local source directory is complete, you can install the software in the new profit. After marking the software to be installed,
File-> Generate package Download Script save as Download Script file_list.txt

This is the list and address of the software to be downloaded. Find a machine that can access the Internet and download the deb package.

Finally, copy the downloaded deb package to/var/cache/apt/archives/and you will be able to install the package normally.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.