个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第9行: 第9行:
 
* [[UbuntuHelp:SynapticPackageDownloadScript|SynapticPackageDownloadScript]]
 
* [[UbuntuHelp:SynapticPackageDownloadScript|SynapticPackageDownloadScript]]
 
* Using [[UbuntuHelp:Synaptic/Offline|Synaptic/Offline]].
 
* Using [[UbuntuHelp:Synaptic/Offline|Synaptic/Offline]].
=== Command line ===
+
=== 命令行 <br> ===
* [http://wiki.debian.org/AptMedium apt-medium]
+
 
* [[UbuntuHelp:AptGet/Offline/PrintUris|AptGet/Offline/PrintUris]]
+
*[http://wiki.debian.org/AptMedium apt-medium]
* [[UbuntuHelp:AptCdrom|AptCdrom]] , to use the Ubuntu Live Cd as package repository for an older computer.
+
*[http://wiki.ubuntu.org.cn/UbuntuHelp:AptGet/Offline/PrintUris AptGet/Offline/PrintUris]
* [[UbuntuHelp:AptOff|AptOff]] script .
+
*[http://wiki.ubuntu.org.cn/UbuntuHelp:AptCdrom AptCdrom] ,为旧电脑而使用Ubuntu Live CD (Ubuntu自生系统)作为软件包存储库
* [http://offline.debian.net apt-offline]. "apt-offline list" do much better that "apt-get --print-uris", because  
+
*[http://wiki.ubuntu.org.cn/UbuntuHelp:AptOff AptOff ]脚本
 +
*[http://offline.debian.net/ apt-offline] "apt-offline list" 命令比"apt-get --print-uris"命令要好的多,这是因为它会区分不同的"套件"(移植版,多媒体版,不稳定版,稳定版,测试版),而且还允许你将不同套件之间进行混合搭配.因此你可以从一个套件中只安装A,而不会因此安装其它你不必要的软件.
 +
 
 +
=== Command line ===
 +
 
 +
*[http://wiki.debian.org/AptMedium apt-medium]  
 +
*[[UbuntuHelp:AptGet/Offline/PrintUris|AptGet/Offline/PrintUris]]  
 +
*[[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.
 +
 
=== 离线存放 ===
 
=== 离线存放 ===
  

2009年3月8日 (日) 18: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

命令行

  • apt-medium
  • AptGet/Offline/PrintUris
  • AptCdrom ,为旧电脑而使用Ubuntu Live CD (Ubuntu自生系统)作为软件包存储库
  • AptOff 脚本
  • apt-offline "apt-offline list" 命令比"apt-get --print-uris"命令要好的多,这是因为它会区分不同的"套件"(移植版,多媒体版,不稳定版,稳定版,测试版),而且还允许你将不同套件之间进行混合搭配.因此你可以从一个套件中只安装A,而不会因此安装其它你不必要的软件.

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.

另见


件包部署管理 离线部署 Ubuntu帮助


See also