个人工具

“UbuntuHelp:AptGet/Offline”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
第6行: 第6行:
 
* 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.  
 
* 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 ===
 
=== Synaptic ===
* [[http://wiki.debian.org/AptMedium|apt-medium]] a wrapper script for apt frontends.
+
* [http://wiki.debian.org/AptMedium apt-medium] a wrapper script for apt frontends.
* SynapticPackageDownloadScript
+
* [[UbuntuHelp:SynapticPackageDownloadScript|SynapticPackageDownloadScript]]
* Using [[Synaptic/Offline]].
+
* Using [[UbuntuHelp:Synaptic/Offline|Synaptic/Offline]].
 
=== GUIs other than Synaptic ===
 
=== GUIs other than Synaptic ===
 
Keryx is a portable, cross-platform package manager for APT-based (Ubuntu, Debian) systems. It provides a graphical interface for gathering updates, packages, and dependencies for offline computers. Keryx is free and open source.
 
Keryx is a portable, cross-platform package manager for APT-based (Ubuntu, Debian) systems. It provides a graphical interface for gathering updates, packages, and dependencies for offline computers. Keryx is free and open source.
 
You can get Keryx here: http://keryxproject.org/
 
You can get Keryx here: http://keryxproject.org/
 
=== Command line ===
 
=== Command line ===
* [[http://wiki.debian.org/AptMedium|apt-medium]]
+
* [http://wiki.debian.org/AptMedium apt-medium]
* [[AptGet/Offline/PrintUris]]
+
* [[UbuntuHelp:AptGet/Offline/PrintUris|AptGet/Offline/PrintUris]]
* AptCdrom , to use the Ubuntu Live Cd as package repository for an older computer.
+
* [[UbuntuHelp:AptCdrom|AptCdrom]] , to use the Ubuntu Live Cd as package repository for an older computer.
* [[AptOff]] script .
+
* [[UbuntuHelp:AptOff|AptOff]] script .
* [[http://offline.debian.net|apt-offline]]. "apt-offline list" do much better that "apt-get --print-uris", because  
+
* [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 ===
[[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  
 
==== -O ====
 
==== -O ====
 
<pre><nowiki>
 
<pre><nowiki>
第29行: 第29行:
 
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 ===
 
=== See also ===
* http://www.fifi.org/doc/apt/offline.html/ch1.html. Related information: [[http://en.wikipedia.org/wiki/Awk|awk]].
+
* 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]].
+
* [http://ar.geocities.com/novatocba/doc/frame/sources-eng.htm Sources List update offline and packages without  Internet connection].
* [[Synaptic/Offline]]
+
* [[UbuntuHelp:Synaptic/Offline|Synaptic/Offline]]
 
-----
 
-----
 
[[category:CategoryPackageManagement]] [[category:CategoryOffline]]
 
[[category:CategoryPackageManagement]] [[category:CategoryOffline]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 21:34的最新版本


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

GUIs other than Synaptic

Keryx is a portable, cross-platform package manager for APT-based (Ubuntu, Debian) systems. It provides a graphical interface for gathering updates, packages, and dependencies for offline computers. Keryx is free and open source. You can get Keryx here: http://keryxproject.org/

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