in some distributions, a way for the system administrator to choose between similar programs

learn more… | top users | synonyms

3
votes
2answers
60 views

Why whould xterm behave differently than x-terminal-emulator when it points to the same executable?

lrwxrwxrwx 1 root root 14 Apr 19 14:36 /etc/alternatives/x-terminal-emulator -> /usr/bin/xterm Running it using these 2 calls: /usr/bin/xterm /etc/alternatives/x-terminal-emulator First ...
4
votes
1answer
545 views

What is the difference between JAVA_HOME and update-alternatives?

I have been trying to figure out the best way to run OpenJDK Java Runtime as default Java for my Fedora box and use Oracle JDK 6 for Android development namely for running Android SDK Manager, Android ...
1
vote
2answers
177 views

I deleted /etc/alternatives/java [closed]

I'm on Ubuntu 12.04 on a 32-bits Dell machine. I was trying to install java JDK for 32-bits linux platform and I accidentally deleted the file /etc/alternatives/java. I would love to recreate my ...
2
votes
1answer
189 views

update-alternatives: disable log file /var/log/alternatives.log

I would like to disable the logfile /var/log/alternatives.log. I understand that this is being logged by update-alternatives script, and I also understand that update-alternatives can take the ...
2
votes
1answer
68 views

What happens to the old binary when a new one compiled from source?

I've compiled git from source after git from the repository was already installed via the package manager. In that process, the "from source" git took its place as the "main system git". ...
6
votes
1answer
2k views

Better way to add alternative using update-alternatives?

I'm sorry for my bad writing, I'm not a native speaker. I've looked up the manual of update-alternatives several times but I can't find out how to show the current link pointing to a specific ...
2
votes
1answer
175 views

apt-get can not detect correct python version when using update-alternatives for python

I have installed different python versions on my Linux Mint DE. I used the update-alternatives --set statement to easily switch between the different versions. Unfortunately sometimes apt-get install ...
1
vote
1answer
296 views

How to set clang++ as the c++ compiler?

I'm trying to set clang++ as the system C++ compiler on Fedora 18. I have installed clang and added it to alternatives but it doesn't appear to be working. [user@localhost ~]$ alternatives --display ...
3
votes
1answer
554 views

update-alternatives just for one user

I'm using a shared server. On that server different versions of Java are installed: Selection Path Priority Status ...
1
vote
2answers
1k views

Several versions of JAVA on one PC

I want to use jre-1_5_0_21 on my Fedora 14 box. Here's whats installed on my PC: $ update-alternatives --config java There are 2 programs which provide 'java'. Selection Command ...
2
votes
1answer
1k views

Simple example of using Fedora alternatives to install old version of make

Can anyone help me using the Fedora alternatives system in order to install an old version of make? I know the actual program is irrelevant, but I need it so I'll use it as my example. I currently ...