Difference between revisions of "Making a Custom Package CD"

From ArchWiki
Jump to: navigation, search
m
Line 1: Line 1:
 
[[Category:Package management (English)]]
 
[[Category:Package management (English)]]
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]
 +
 +
{{i18n_links_start}}
 +
{{i18n_entry|English|Making a custom package cd}}
 +
{{i18n_entry|简体中文|定制的软件包光盘}}
 +
{{i18n_links_end}}
  
 
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:
 
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:
Line 11: Line 16:
  
 
* Add a custom repository to <code>/etc/pacman.conf</code>:
 
* Add a custom repository to <code>/etc/pacman.conf</code>:
  <pre>
+
   [mycd]
   [[mycd]]
+
 
   Server = file:///mnt/cd/pkg
 
   Server = file:///mnt/cd/pkg
  </pre>
 
  
 
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.
 
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 create a custom install CD as in http://bbs.archlinux.org/viewtopic.php?t=1387
 
Yet another option is to create a custom install CD as in http://bbs.archlinux.org/viewtopic.php?t=1387

Revision as of 14:55, 30 January 2008

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n links end

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 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 /etc/pacman.conf:
 [mycd]
 Server = file:///mnt/cd/pkg

Another option is to simply copy the files from the CD into /var/cache/pacman/pkg 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 create a custom install CD as in http://bbs.archlinux.org/viewtopic.php?t=1387