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

learn more… | top users | synonyms

1
vote
1answer
43 views

Installing java 1.6 when 1.7 already installed?

I have java 1.7 installed and I am trying to install java 1.6. I have updated java_home and path variable pointing to the new location, also ran these commands. sudo update-alternatives --set java ...
3
votes
5answers
76 views

search a command in PATH with the same name of the script

For example, my script is $HOME/bin/sudo. I'd like to search for an executable in $PATH with the same name, sudo, and run it - but not the script $HOME/bin/sudo itself, otherwise I will run into an ...
1
vote
0answers
79 views

Are there any alternatives to pidof? (smaller footprint)

Well, I've just found out that with extensive usage of pidof in very short intervals, the seemingly tiny tool can be a great CPU hog. (Source: top) On my older machine, it can easily reach 30 percent ...
0
votes
0answers
30 views

How do I set kernel-ml default in CentOS?

I have installed kernel-ml package from http://elrepo.org/tiki/kernel-ml Now I have both the original CentOS kernel and kernel-ml. How do I set kernel-ml as default on boot? Thank you!
0
votes
0answers
32 views

Change default X server to vnc debian

My question is quite simple - I have a Debian Wheezy box running a default X desktop. I have installed tightvncserver but I want to make it my default x server - so that when X starts, instead of ...
0
votes
1answer
53 views

How good is ARBTT(Automatic Rule Based Time Tracker)? Is there any alternative for it?

ARBTT is a rule based time tracker. I was able to write small scripts to log what I do in system. But I was not able to understand how effective is it. Is there any good article preferably any blog ...
5
votes
2answers
62 views

Finding all software packages in Debian that provide a particular alternative

The Debian distribution has the Debian Alternatives System. From the Wiki: The Debian alternatives system creates a way for several programs that fulfill the same or similar functions to be ...
3
votes
2answers
136 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 ...
5
votes
1answer
2k 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
412 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
307 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
4k 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
208 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
464 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
905 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
2k 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 ...