Although apt install software so "cool", but it is an online installation tool, when there is no network, APT appears powerless. Consider the following practical example: At home I have an APT machine, but no http://www.aliyun.com/zixun/aggregation/18415.html "> network connection. How can I continue using the powerful ATP tool to upgrade my Ubuntu system while computers in the workplace have fast Internet connections but only Windows?
It's going to use Apt-offline [1], which is an offline APT package Manager.
First step:
Generate a signature file on an offline machine.
Apt-offline Set/tmp/apt-offline.sig
The above command will generate an information file for apt to upgrade the database.
Step Two:
Download data based on the signature file above
Apt-offline get C:\apt-offline.sig--threads 5--bundle
There are a lot of parameters that can be passed to apt-offline, such as--bundle, which will put all the packages you want into a package. Now all you have to do is cuff those data files back.
Step Three:
Go back to the Ubuntu machine and install all the updates
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.