You are not logged in.
I have arch linux on three computers at the moment in my home. How (if it is possible) can I install it on a fourth computer but using the packages which I have already downloaded on the other machines rather than wasting bandwidth re-downloading packages.
Offline
yes you can. Copy your packages into a directory on our forth computer and uncomment custom package repository in the /etc/pacman.conf file. Like this:
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
[custom]
Server = file:///home/mypackages
In this way you'll isntall from the local package directory, ie /home/mypackages.
Last edited by ahcaliskan (2009-02-01 00:54:53)
Offline
dont forgot to sync
pacman -Syyu
If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.
Offline
Sorry, but that won't work. You would need to create a database too using "repo-add", but that's unnecessary.
All you should need to do is copy the files into /mnt/var/cache/pacman/pkg when setting up the 4th system (let someone else confirm that path though). Run through the setup to get your disk partitioned and then select the mount points, then switch into another terminal and copy over the files from an external disk or over the network, depending on your setup.
You'll still need to download the database though (transferring that is more of a pain, plus it's small anyway).
Otherwise, you could create a server on one of your local machines, and then create a repo that you can access over your LAN from the 4th computer. I'll provide more details if you think that would be the better option.
Later on though, you'll probably want to set up a local repo on one of your machines to distribute packages across your LAN.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I have added local repository before, and it seems to be an easy job. But I did run gen_repo script provided by larch. Perhaps that is the most simple way of adding repo. Why not build your own livecd or livedvd?
Last edited by ahcaliskan (2009-02-01 01:15:38)
Offline
Thanks for the replys everyone.
Otherwise, you could create a server on one of your local machines, and then create a repo that you can access over your LAN from the 4th computer. I'll provide more details if you think that would be the better option.
That sounds like the best idea, thanks Xyne, how would I start?
Offline
You haven't seen my replies in the other threads, eh?
http://bbs.archlinux.org/viewtopic.php?id=64351
http://bbs.archlinux.org/viewtopic.php?id=64160
Anyway, take a look at this, I wrote it specifically for your situation:
http://bbs.archlinux.org/viewtopic.php?id=64391
The link to the info page is there which should explain it. Post any questions that you have in that thread.
Last edited by Xyne (2009-02-02 16:39:19)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
wow thanks, I'll give it a go
Offline