You are not logged in.

#1 2010-05-17 23:52:27

gnos
Member
Registered: 2010-05-12
Posts: 5

Pacman and slots

Hi all. I just installed Arch linux and was surprised (having come from the Gentoo world) to find that openjdk conflicts with sun's jre/jdk. Does Arch support slotting packages? And if not, are there any plans to add this functionality? I find slots to be an extremely desirable feature. Thanks.

Offline

#2 2010-05-18 00:55:56

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Pacman and slots

Slots is a feature that is mostly fitting to a source based distro (which allows to build multiple versions of an app) AND to have multiple versions of an app available on the package manager.

You can always build an app ofcourse with different prefixes, but I don't know how complex that can be.

Last edited by flamelab (2010-05-18 00:57:06)

Offline

#3 2010-05-18 01:00:07

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Pacman and slots

Pardon the non-gentooer, but what are slots, and why would they be desirable?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2010-05-18 01:07:08

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Pacman and slots

ngoonee wrote:

Pardon the non-gentooer, but what are slots, and why would they be desirable?

With Gentoo's portage, you have the ability to have multiple versions of an app installed in the system, without problems (or without visible problems in the very complex cases like DEs).

Offline

#5 2010-05-18 01:38:23

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: Pacman and slots

It's not too difficult, of course both can't be used simultaneously, but all it really requires is renaming binaries and creating symlinks

Offline

#6 2010-05-18 02:03:38

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Pacman and slots

Are the symlinks automatically redirected? What's the mechanism for that? What about dependencies on different versions of the same library?

To answer the OP, no its not really possible AFAIK.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2010-05-18 02:04:02

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: Pacman and slots

EDIT: Double post...

Last edited by some-guy94 (2010-05-18 02:04:24)

Offline

#8 2011-10-10 13:29:36

ph03
Member
Registered: 2011-10-10
Posts: 2

Re: Pacman and slots

Is there some news about the availability of slots in arch?
I'm also coming from gentoo and on gentoo I have slotted versions of gcc, boost, blas, lapack, python etc... There they can easily be selected by the eselect tool (gcc-config for gcc). Is there some equivalent way to have, lets say, multiple gcc versions installed simultaneously on arch? If this was possible I think I would switch distros smile

Offline

#9 2011-10-10 13:40:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman and slots

ph03 wrote:

Is there some news about the availability of slots in arch?
I'm also coming from gentoo and on gentoo I have slotted versions of gcc, boost, blas, lapack, python etc... There they can easily be selected by the eselect tool (gcc-config for gcc). Is there some equivalent way to have, lets say, multiple gcc versions installed simultaneously on arch? If this was possible I think I would switch distros smile

Multiple versions of gcc are available in the AUR although I'm not sure if they work.

Offline

#10 2011-10-10 14:27:46

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Pacman and slots

ph03 wrote:

Is there some news about the availability of slots in arch?

No, and nothing is anticipated, AFAIK. Since in arch there is only one version of each package is maintained this feature would be useless. You can always have alternative versions of a package installed in /opt or /usr/local/*...


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#11 2011-10-15 02:57:20

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Pacman and slots

Judging by the lack of dev response I'm assuming there will not be any chance for slots in the foreseeable future. Closing as a necro-bump: https://wiki.archlinux.org/index.php/Fo … Bumping.27


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB