开发者

How to create debian package for offline installation?

Here, what I would like : I want to develop debian package 开发者_如何学运维of my project for offline installation. Project contains some dependency like python-lxml and etc. I have downloaded required packages from the different machine which have internet connectivity. now on another machine (which does not have internet connectivity), I would like to copy all required packages in "/var/cache/apt/archive" folder (from debian package installation) before the execution of control file. so when control file would be executed it could install dependent packages from the "/var/cache/apt/archive" folder instead of searching on internet.

What changes should I have to apply and In which file? or Is there any other suggestion for creating offline installation package?

Thanks!


Amazing, just a few seconds ago I recommended apt-offline to a fellow stacker:

Description: offline apt package manager
 apt-offline is an Offline APT Package Manager
 .
 apt-offline can fully update and upgrade an APT based distribution without
 connecting to the network, all of it transparent to apt
 .
 apt-offline can be used to generate a signature on a machine (with no network).
 This signature contains all download information required for the apt database
 system. This signature file can be used on another machine connected to the
 internet (which need not be a Debian box and can even be running windows) to
 download the updates.
 The downloaded data will contain all updates in a format understood by apt and
 this data can be used by apt-offline to update the non-networked machine.
 .
 apt-offline can also fetch bug reports and make them available offline
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜