Difference between revisions of "Making a Custom Package CD"

From ArchWiki
Jump to: navigation, search
(marked for deletion)
(redirect to up-to-date instructions)
Line 1: Line 1:
[[Category:Package management]]
+
#REDIRECT [[Pacman_Tips#Installing_packages_from_a_CD/DVD_or_USB_stick]]
[[es:Making a Custom Package CD]]
+
[[pl:Making a Custom Package CD]]
+
[[pt:Making a Custom Package CD]]
+
[[sk:Making a Custom Package CD]]
+
[[zh-CN:Making a Custom Package CD]]
+
{{Delete|See [https://wiki.archlinux.org/index.php/Pacman_Tips#Installing_packages_from_a_CD.2FDVD_or_USB_stick this]. And [https://wiki.archlinux.org/index.php/Special:WhatLinksHere/Making_a_Custom_Package_CD 'what links here'] also need editing it out.}}
+
 
+
If you wish to copy some packages from one Arch Linux computer to another (for example, with a slow Internet connection) by using a custom CD, do the following:
+
 
+
* Create a repository of packages using gensync [[Custom local repository with ABS and gensync]]. Copy the packages from <code>/var/cache/pacman/pkg</code> on the updated Arch Linux system.
+
 
+
* Create an iso of the repository on a CD-R or CD-RW
+
 
+
* Mount the CD on the second Arch Linux computer
+
 
+
* Add a custom repository to <code>/etc/pacman.conf</code>:
+
  [mycd]
+
  Server = file:///mnt/cd/pkg
+
 
+
Another option is to simply copy the files from the CD into <code>/var/cache/pacman/pkg</code> on the second computer. Pacman will retreive the packages from there instead of the net if the files are up to date.
+
 
+
Yet another option is to [http://bbs.archlinux.org/viewtopic.php?id=1387 create a custom install CD].
+

Revision as of 13:37, 26 September 2012