Difference between revisions of "Making a Custom Package CD"

From ArchWiki
Jump to: navigation, search
(redirect to up-to-date instructions)
(19 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Package management (English)]]
#REDIRECT [[Pacman_Tips#Installing_packages_from_a_CD/DVD_or_USB_stick]]
[[Category:HOWTOs (English)]]
如果你希望去拷贝现有系统的包到其它系统 (比如网络连接很慢时候) 可以使用一个定制的CD, 操作见下:
* 使用gensync命令建立包仓库 [[Custom local repository with ABS and gensync]]. 从<code>/var/cache/pacman/pkg</code> 目录拷贝最新的包文件.
* 用 CD-R 或 CD-RW 把包仓库刻录到光盘上
* 把CD挂到新的Arch Linux系统上
* 把定制的仓库加入到 <code>/etc/pacman.conf</code>:
  Server = file:///mnt/cd/pkg

Revision as of 13:37, 26 September 2012