You are not logged in.

#1 2006-08-07 16:14:49

Kris
Member
From: Denmark
Registered: 2006-07-11
Posts: 86
Website

Make my own repo on my pc? [solved]

Hi!

I think that I'll have a local repo on my PC in /home/data/pakker ... What should I do so pacman take packages from this directory :?:
I would be nice if someone wanna help me smile


// Kris

"Penquins, Penquins, über alles!"

Offline

#2 2006-08-07 16:48:43

dojo
Member
Registered: 2005-11-02
Posts: 97

Re: Make my own repo on my pc? [solved]

It depends on what you mean with local repository.

A: Store packages in a specific directory.

Solution:
When Building packages with makepkg you can change the output in /etc/makepkg.conf to a directory of your choice.

For Install

pacman -A package-version.pkg.tar.gz 

For upgrade

pacman -U package-version.pkg.tar.gz

B: Store packages in a specific directory and pacman can search them

Solution:

Have a look to the wiki: http://wiki.archlinux.org/index.php/Loc … ory_HOW-TO

Have fun.

Greets

dojo

Offline

#3 2006-08-07 20:03:25

Kris
Member
From: Denmark
Registered: 2006-07-11
Posts: 86
Website

Re: Make my own repo on my pc? [solved]

dojo @
I want the last solution... But I don't want it on a network - just on my little PC big_smile


// Kris

"Penquins, Penquins, über alles!"

Offline

#4 2006-08-07 20:09:12

Kris
Member
From: Denmark
Registered: 2006-07-11
Posts: 86
Website

Re: Make my own repo on my pc? [solved]

And another little thing... Is it safe to change i686 to pentium4 in /etc/makepkg.conf? I want to make some packages optimizes for pentium4 cpu's smile


// Kris

"Penquins, Penquins, über alles!"

Offline

#5 2006-08-07 23:11:45

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Make my own repo on my pc? [solved]

Kris wrote:

And another little thing... Is it safe to change i686 to pentium4 in /etc/makepkg.conf? I want to make some packages optimizes for pentium4 cpu's smile

As long as iit is just for yout computer, it doesn't matter.


Arch - It's something refreshing

Offline

Board footer

Powered by FluxBB