You are not logged in.

#1 2013-02-27 11:41:15

alexandernst
Member
Registered: 2010-04-02
Posts: 61

Instalation of multiple versions of the same package

First of all, I'm sorry if this is not the place where this should be asked.

I'm looking a way to install multiple versions of a package. Is that possible?
Making things crystal-clear, I need php 5.3 and 5.4. I'll also need php 5.x when it get's out and I'll need to keep the 5.3 and 5.4 versions.

I know I can compile them and set the prefix to different places (in fact, that's what I'm doing now), but I was wondering if I can do that
with pacman.

Regards

Offline

#2 2013-02-27 12:10:22

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Instalation of multiple versions of the same package

It can be done, but requires some work and familiarity with abs/aur/makepkg .

Basically you install the separate versions in different locations so they don't conflict with eachother.
You'll have to configure the applications then to use a specific version.

Chekc the gcc* pacakges in aur for examples on how this is done.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2013-02-27 12:12:34

alexandernst
Member
Registered: 2010-04-02
Posts: 61

Re: Instalation of multiple versions of the same package

Thank you, I was thinking something like that would be needed. I'll just stick with my current way (compile it myself and install it)

Offline

#4 2013-02-27 13:46:09

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Instalation of multiple versions of the same package

For php 5.3 there's already a package in the aur https://aur.archlinux.org/packages/php53/

Offline

Board footer

Powered by FluxBB