特殊:Badtitle/NS100:AptGet/Offline:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Zhanshime留言 | 贡献
Wikibot留言 | 贡献
无编辑摘要
第9行: 第9行:
* [[UbuntuHelp:SynapticPackageDownloadScript|SynapticPackageDownloadScript]]
* [[UbuntuHelp:SynapticPackageDownloadScript|SynapticPackageDownloadScript]]
* Using [[UbuntuHelp:Synaptic/Offline|Synaptic/Offline]].
* Using [[UbuntuHelp:Synaptic/Offline|Synaptic/Offline]].
 
=== Command line ===
 
* [http://wiki.debian.org/AptMedium apt-medium]
=== Command line ===
* [[UbuntuHelp:AptGet/Offline/PrintUris|AptGet/Offline/PrintUris]]
 
* [[UbuntuHelp:AptCdrom|AptCdrom]] , to use the Ubuntu Live Cd as package repository for an older computer.
*[http://wiki.debian.org/AptMedium apt-medium]  
* [[UbuntuHelp:AptOff|AptOff]] script .
*[[UbuntuHelp:AptGet/Offline/PrintUris|AptGet/Offline/PrintUris]]  
* [http://offline.debian.net apt-offline]. "apt-offline list" do much better that "apt-get --print-uris", because  
*[[UbuntuHelp:AptCdrom|AptCdrom]] , to use the Ubuntu Live Cd as package repository for an older computer.  
*[[UbuntuHelp:AptOff|AptOff]] script .  
*[http://offline.debian.net 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.
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 ===
 
 
=== Offline repository ===
 
[[UbuntuHelp:AptGet/Offline/Repository|How to create a local package repository]].
[[UbuntuHelp:AptGet/Offline/Repository|How to create a local package repository]].
=== Wget ===
=== Wget ===
[http://en.wikipedia.org/wiki/Wget wget] is a computer program that implements simple and powerful content retrieval of files from internet servers  
[http://en.wikipedia.org/wiki/Wget wget] is a computer program that implements simple and powerful content retrieval of files from internet servers  
第34行: 第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.
=== 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]]
=== 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年5月14日 (四) 14:36的版本

{{#ifexist: :AptGet/Offline/zh | | {{#ifexist: AptGet/Offline/zh | | {{#ifeq: {{#titleparts:AptGet/Offline|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:AptGet/Offline|1|-1|}} | zh | | }}

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

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