Making a custom package cd
From ArchWiki
i18n |
---|
English |
简体中文 |
Español |
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
/var/cache/pacman/pkg
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
/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.