Debian Alternatives System - anything similar on Arch?
Is there a Debian Alternatives equivalent on Arch, that lets you install and maintain multiple versions of the same source-built software and easily swap between versions/rollback with a command?
About this post
- Posted
- Archived
- Score
- 14 · 100% up
- Kind
- Text
- ID
- 2nl4ss
30 comments
no, but there is one specifically for java, which makes me think that the idea isn’t as bad as other comments might suggest.
it’s a problem also for e.g. python packages providing a binary: they can be installed once for python2 and once for python3. but which should contain the binary without version suffix?
Arch philosophy is to look forward, so their version without the suffix is the latest version. The python community doesn't necessarily agree (see https://www.python.org/dev/peps/pep-0394/).
The python community doesn't even agree with itself on a regular basis though.
Also one for node - nvm. Ruby has rvm as well.
you probably mean npm
The only reason that archlinux-java exists is because Java 8 doesn't support the full Java EE feature set yet, so if you need Java EE you still need Java 7. This is important for, say, enterprise Java developers.
update-alternativescan be used to tell dpkg/apt about a package you installed manually, which is (AFAIK) impossible on archNo - only because I never finished my patchset to implement this in pacman.
Count me as someone else interested in the feature, if you get a chance to finish your patchset.
Probably - but there are a couple more features that need to make it into pacman-5.0 first.
Arch is rolling release, and things are guaranteed to work only if they are all the most recent version. This is why partial upgrades are not supported.
This is not an answer to OP's question, though. The goal would be installing conflicting packages (that provide the same virtual package).
Short answer: No.
Long answer: No, because if you have a that complicated set up (which you shouldn't), you ought to know how to set up alternatives or else the shit will blow up in your face anyway.
If you want to roll back after upgrades, consider backups/snapshots.
If you want to use multiple releases of a software in parallel, ask yourself really hard whether you really want to do that on the same system. Consider chroots/containers/VMs.
if you pick python2 and lua5.1 as examples, you’ll want that in both cases without any question.
out of practical concers of course; i’d love to ban python2 from my system if not half of everything depended on it still.
If something needs py2 or lua5.1 it should depend on and use them, otherwise they should use py3 and lua 5.2.
one possible solution is to build it yourself, and install to /usr/local, and then just set/unset PATH.
Shouldn't the philosophy be, "Let's give the users more options and tools so they can do what they want", rather than, "No because I don't like that idea"?
Its not like the idea takes away from anything that currently exists.
Deleted before we saved it.
#####
######
#### Rolling release:
Interesting: [Foresight Linux](https://en.wikipedia.org/wiki/Foresight_Linux) | [KahelOS](https://en.wikipedia.org/wiki/KahelOS) | [Arch Linux](https://en.wikipedia.org/wiki/Arch_Linux) | [ArchBang](https://en.wikipedia.org/wiki/ArchBang)
Parent commenter can [toggle NSFW](/message/compose?to=autowikibot&subject=AutoWikibot NSFW toggle&message=%2Btoggle-nsfw+cmf8asi) or[](#or) [delete](/message/compose?to=autowikibot&subject=AutoWikibot Deletion&message=%2Bdelete+cmf8asi). Will also delete on comment score of -1 or less. | FAQs | [Mods](http://www.np.reddit.com/r/autowikibot/comments/1x013o/for_moderators_switches_commands_and_css/) | [Magic Words](http://www.np.reddit.com/r/autowikibot/comments/1ux484/ask_wikibot/)