You are not logged in.

#1 2010-04-07 16:25:53

ch1pz
Member
Registered: 2010-01-25
Posts: 10

[SOLVED]Make a local repository

I wonder if there is a way to make an archlinux repository for AUR packages, I think it'll be a lot easier to share these packages to other "Archers" with packages available in local repository like /var/cache/pacman/pkg

Can anyone tell me how to make it, because i cannot find it anywhere so probably with asking in the forum i will find the answer. big_smile

Thanks to you guys!

Last edited by ch1pz (2010-04-08 14:29:11)

Offline

#2 2010-04-07 16:29:32

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]Make a local repository

first what you call AUR packages are not in fact binary packages but rather builds for making those packages. this means that is no sense for doing a repository.

if you want to redistribute some of the builds out there, the tool for creating a repository is repo-add which is distribute with pacman.

repo-add repo_name.db.tar.gz package-pkgver-pkgrel.pkg.tar.gz


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-04-07 21:25:34

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]Make a local repository

There is a wiki entry about this, check the wiki wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2010-04-08 13:22:37

ch1pz
Member
Registered: 2010-01-25
Posts: 10

Re: [SOLVED]Make a local repository

yey! thanx B! thanks wonder!
i found the answer!
i've done it with editing a line /etc/yaourtrc
uncomment the line and change the line into this
ExportToLocalRepository /var/cache/pacman/pkg

So, when i install a package from aur, a copy to distriubute will available in my computer..yey! thx all!

Offline

#5 2010-04-08 13:33:57

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]Make a local repository

Great smile. Please put [Solved] in your topic title.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB