“UbuntuHelp:AptGet/Offline”的版本间的差异
来自Ubuntu中文
小 |
|||
第25行: | 第25行: | ||
</nowiki></pre> | </nowiki></pre> | ||
With this -O option, the documents will not be written to the appropriate files, but all will be concatenated together and written to 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. | ||
− | === | + | === 另见 === |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [[ | + | *[http://www.fifi.org/doc/apt/offline.html/ch1.html http://www.fifi.org/doc/apt/offline.html/ch1.html].相关信息:[http://en.wikipedia.org/wiki/Awk awk] |
+ | *[http://ar.geocities.com/novatocba/doc/frame/sources-eng.htm 离线电脑的源列表和软件包的更新] | ||
+ | *[http://wiki.ubuntu.org.cn/UbuntuHelp:Synaptic/Offline 新立得软件包管理器/离线] | ||
+ | |||
+ | ---- | ||
+ | |||
+ | [http://wiki.ubuntu.org.cn/index.php?title=Category:CategoryPackageManagement&action=edit&redlink=1 软][http://wiki.ubuntu.org.cn/index.php?title=Category:CategoryPackageManagement&action=edit&redlink=1 件包部署管理] [http://wiki.ubuntu.org.cn/index.php?title=Category:CategoryOffline&action=edit&redlink=1 离线部署] [http://wiki.ubuntu.org.cn/Category:UbuntuHelp Ubuntu帮助] | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === === | ||
+ | |||
+ | === See also === | ||
+ | |||
+ | *http://www.fifi.org/doc/apt/offline.html/ch1.html. Related information: [http://en.wikipedia.org/wiki/Awk awk]. | ||
+ | *[http://ar.geocities.com/novatocba/doc/frame/sources-eng.htm Sources List update offline and packages without Internet connection]. | ||
+ | *[[UbuntuHelp:Synaptic/Offline|Synaptic/Offline]] | ||
+ | |||
+ | ---- | ||
+ | |||
+ | [[Category:CategoryPackageManagement]] [[Category:CategoryOffline]] [[Category:UbuntuHelp]] |
2009年3月8日 (日) 17:55的版本
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
- apt-medium a wrapper script for apt frontends.
- SynapticPackageDownloadScript
- Using Synaptic/Offline.
Command line
- apt-medium
- 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 distinguishes 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.
Offline repository
How to create a local package repository.
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.
- Sources List update offline and packages without Internet connection.
- Synaptic/Offline