UbuntuHelp:AptGet/Offline
来自Ubuntu中文
Wikibot(讨论 | 贡献)2008年5月9日 (五) 18:45的版本 (新页面: {{From|https://help.ubuntu.com/community/AptGet/Offline}} {{Languages|UbuntuHelp:AptGet/Offline}} Terminology commonly used in offline package management: * Local machine : the offline u...)
Terminology commonly used in offline package management:
- Local machine : the offline ubuntu computer
- Remote machine: another computer with broadband Internet connection, used to dowload the packages
- Removable media: USB keydrive where store the scripts and dowloaded packages. Note that the disc should be formated with a filesystem that can handle long file names such as ext2/ext3, fat32 or vfat.
Synaptic
Command line
- AptGet/Offline/PrintUris
- AptCdrom , to use the Ubuntu Live Cd as package repository for an older computer.
- AptOff script .
- apt-offline. "apt-offline list" do much better that "apt-get --print-uris", because
it distinguish the "suites" (backport, multimedia, volatile, stable, testing), and allow you to mix the suites, so if you installed package A from a suite, it will search the updates only on such suite.
Wget
wget is a computer program that implements simple and powerful content retrieval of files from internet servers
-O
wget -O file
With this -O option, the documents will not be written to the appropriate files, but all will be concatenated together and written to file.
See also
- http://www.fifi.org/doc/apt/offline.html/ch1.html. Related information: awk.