On Debian (but not Fedora or RHEL), to see a list of all "master alternative names":
update-alternatives --get-selections
--get-selectionslist master alternative names and their status.
And for each of those listed, you can run --list $ALTERNATIVE_NAME, e.g.
update-alternatives --list editor
--list nameDisplay all targets of the link group.
If you would like to see a list of all alternatives in their respective groups, you could run the following in fish shell:
for alternative in (update-alternatives --get-selections)
echo $alternative
update-alternatives --list (echo $alternative | cut -d" " -f1)
echo
end | pager
The (ba|z)?sh syntax should be something similar.
To change the alternatives, run sudo update-alternatives --config $ALTERNATIVE_NAME
On Debian (but not Fedora or RHEL), to see a list of all "master alternative names":
update-alternatives --get-selections
--get-selectionslist master alternative names and their status.
And for each of those listed, you can run --list $ALTERNATIVE_NAME, e.g.
update-alternatives --list editor
--list nameDisplay all targets of the link group.
If you would like to see a list of all alternatives in their respective groups, you could run the following in fish shell:
for alternative in (update-alternatives --get-selections)
echo $alternative
update-alternatives --list (echo $alternative | cut -d" " -f1)
echo
end | pager
The (ba|z)?sh syntax should be something similar.
To change the alternatives, run sudo update-alternatives --config $ALTERNATIVE_NAME
The exact answer is (RHEL):
ls /var/lib/alternatives
Directory /etc/alternatives maintains flat long list of all symlinks mixing masters and slaves together. Slave symlinks cannot be used with alternatives --display [symlink] command.
At the same time directory /var/lib/alternatives contains status information (including master-slave relationship) for each group in shortened list of file names all of which can be directly used with --display option. For example, /var/lib/alternatives/java:
alternatives --display java
I’ve been using fedora for a while I’ll make this thread short
I like how fedora is bogus stable with good updates.
After all the Red Hat drama I wanna to switch to an alternative, I mainly just do a lot of hacking,programming, browsing.
Please drop your recommendation!
I’ve also thought about Tumbleweed but I don’t want stuff to break.
Fedora is upstream of red hat not downstream. Shouldn't listen to the crud and use what works for your workflow
If you don't want something in the RedHat sphere, you don't want things to break, your only option is something based on debian.
So mint, pop or debian itself.
Hey, been using using fedora for a year and a halfish now and I'm interested to know what else is out there. I like fedora bc it's a good balance of up to date and stuble software. Debian is too far behind and I'm using my pc for work and study so I don't want to have to start managing an arch distro. Any recommendations? I also have baise for Linux from scratch distros.
Edit: yeah... I think I mis phrased this one judging by the comments, I used fedora as an example bc that's what I like but in the end unless I'll find something I like more this'll probably be just a distro hop period from a dual boot. Sorry for the confusion XD
I know that using update-alternatives, one can switch between different versions of java installed on the systems.
The problem I have with this is that one should not only switch the java and javac command, but also all those binaries like: jar, javap, javadoc and so one. Is that not hard and tedious to do? Am I doing it wrong?
I don't really need or want to switch java versions, I'm just curious what is the solution for this problem.
This is a visual application that allows you to view available repositories, delete them, or disable them. It also allows you to select drivers for your video card.