The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
57 views

Manually download flashplugin-installer

When my web browser informs me that my version of Flash is outdated, I update with the command $ sudo apt-get install flashplugin-installer Which works fine except the download is very slow (e.g., ...
0
votes
0answers
21 views

Edit crontab using editor set by update-alternatives instead of select-editor option

man crontab makes me think it is possible: The -e option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. After you exit from the ...
0
votes
0answers
42 views

Why after adding alternative to clang I get undefined references?

I have clang3.6 installed and it works fine but as soon as I try to add alternative to it by sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang++-3.6 10 and use it while ...
0
votes
0answers
69 views

update-alternatives not found

The problem I have is as follows: $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to ...
1
vote
2answers
84 views

update-alternatives arguments - <link> and <path> can't be the same

I want to add vimb to the default browsers in x-www-browser. I don't see it in update-alternatives --config x-www-browser, so I think I have to --install it. After some time spent in reading man ...
0
votes
1answer
45 views

Trying to install JDK [duplicate]

I'm trying to install JDK on ubuntu 14.04 LTS. I downloaded it from oracle website. Than I extracted it and moved in usr/lib/java. It says java doesn't exist but it does. I use this video ...
3
votes
1answer
296 views

Using update-alternatives just for the current shell

I'm using Ubuntu 15.10, so the default g++ version is 5.2.1. Since I need to change it to the 4.7 often, I'm using update-alternatives; I've noticed, however, that the default compiler is not restored ...
1
vote
2answers
64 views

How to exit default www-browser?

I inadvertently landed in the www-browser application. This is a text based web browser. How do I exit it?
0
votes
0answers
174 views

How to use sudo update-alternatives properly?

I'm trying to run this commando: sudo update-alternatives --install /usr/bin/java java/usr/local/java/jdk1.8.0_66/bin/java 1 But it says: sudo update-alternatives --install /usr/bin/java ...
0
votes
2answers
189 views

Update ubuntu 15.04 to 15.10

I am currently using ubuntu 15.04, but I want to update this version to the latest ubuntu version i.e 15.10.I have changed the settings as required, but I am not able to find update manager in the ...
3
votes
1answer
513 views

java alternatives - Change auto mode

I have three JDKs installed, all needed for some projects I work on. When I run sudo update-alternatives --config java I get the output: There are 3 choices for the alternative java (providing ...
0
votes
1answer
46 views

Tried switching between python verions. Ended up messing the whole thing. How to fix it?

I actually have three questions: So I was trying to switch between python2.7 and python3.4. I added both the alternatives using update-alternatives, giving priorities 1 and 2, respectively. It was ...
1
vote
1answer
208 views

update-alternatives: change version of LLVM tools

I have llvm 3.4 and 3.5 installed on my system. I want to switch between these version. This is possible using update-alternatives, however it changes default version of only one tool of the package ...
3
votes
2answers
1k views

How to inspect the currently used Nvidia driver version and switch it to another alternative?

I'm trying to find out which Nvidia driver is being used currently in the system (and how to perhaps switch it to another version or the open-source nouveau driver). modinfo knows about several ...
2
votes
1answer
26 views

Update custom application

I'm developing Java application that runs on Ubuntu. Application is something like simple web service and is always running. I need to solve application update problem. I'm planing to place new ...
0
votes
0answers
43 views

How to build Qt from source with not default version of gcc compiler?

P.S. The problem is solved. It has nothing to do with Ubuntu particularly, of course. One needs to manipulate with paths to gcc versions using "update-alternatives" command ...
0
votes
1answer
624 views

Adding custom changes to the OpenBlas for Python

My question: How do I get Python to use my own compiled OpenBLAS version? Background The Theano install guide suggests that one should test that the BLAS library components associated are correctly ...
1
vote
0answers
37 views

Use package without declaring its version

I have installed g++ from here. When I want to compile a program, I have to use g++-4.9 myle.cpp. How can I set it to use without declaring its version g++ myle.cpp?
1
vote
1answer
2k views

using alternatives with java 7 and java 8 on 14.04.2 LTS

I had java 7 installed. Using the PPA repository, I added java 8. sudo apt-get install oracle-java8-installer That made java 8 the default. So, I tried to use update-alternatives to make java 7 the ...
2
votes
3answers
384 views

atlas lib symlink stuck in master-slave deadlock

after a few rounds of installs and removes, trying to get Atlas and OpenBLAS to be friend with each other, i have this update-alternatives error, which i think is really a master-slave deadlock, ie. ...
0
votes
1answer
604 views

Update alternatives java for all users

I'm using ubuntu 14.04 with multiple java versions on it. I'm trying to change the current java version for my user with: sudo update-alternatives --config java sudo update-alternatives ...
2
votes
1answer
509 views

Undo update-alternatives

I had to run the command sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20, but unfortunately I misstyped and wrote sudo update-alternatives --install /usr/bin/gcc gccc ...
0
votes
1answer
424 views

how to use “update-alternatives” to manage multiple installed version of the same app

I frequently encounter path related problems while compiling or running an app.I have two versions of node in my system, one is from official repo, the other manually installed from source. Today I ...
1
vote
1answer
99 views

12.10: unable to upgrade/install softwares [duplicate]

i have changed new release with old release in order to update also unchecked ppa. please help me out.im getting a getting a error message: W: Failed to fetch ...
15
votes
1answer
9k views

What are the differences between vim.basic and vim.tiny? [duplicate]

My favorite editor is Vim, so I decided to change the default editor of my ubuntu installation with the following command: sudo update-alternatives --config editor A prompt (with listed options) ...
0
votes
1answer
4k views

Every reboot alternatives for x86_64-linux-gnu_gl_conf and i386-linux-gnu_gl_conf are dropped to mesa

That is. I've removed nvidia drivers with running nvidia-installer.run --uninstall, rebooted, installed fglrx, rebooted again and found that amdconfig is not found. I've googled the solution and ...
1
vote
1answer
126 views

Change location of log file for “update-alternatives”

I am currently managing my logging system but while setting all log location a problem occured: I want to change the location of the file /var/log/alternatives.log and I have done some research. This ...
1
vote
2answers
98 views

How to remove dummy packages?

I have searched and I believe there is no a question like this one. Whenever my laptop finds updates the Software Updater application comes up as usual however it is always showing the package ...
6
votes
1answer
1k views

Why I can't use update-alternatives to select Python 2 or 3?

Is there a particular reason on why update-alternatives is not working with Python since ubuntu comes bundled with different versions?
1
vote
1answer
34 views

Update 10.04 to 12.04

In home PC Ubuntu 10.04 installed and no internet connection. I want to update it to 12.04. i want download from my office PC (it is connected with internet) Can I download only updated portion not ...
0
votes
1answer
348 views

Where do I get the update-java-alternatives command. What package does it come from?

Where do I get the 'update-java-alternatives' command. What package does it come from? My understanding is that you use 'update-alternatives' to initially add a Java instance to your system but once ...
3
votes
1answer
7k views

Run different java based on command line parameter

I have multiple java installations on my machine and need to use different versions all the time. I have found that the currently used JVM can be changed by the commands update-alternatives and ...
6
votes
1answer
4k views

How to prevent openjdk-6-jre-headless from clobbering Oracle JDK installation?

My automated build server runs a job that depends on Apache Ant. The script invokes apt-get install ant. Ant depends on openjdk-6-jre-headless which runs update-alternatives making itself the default ...
1
vote
1answer
958 views

Duplicate entries in update-alternatives

I have two entries for vim when I input sudo update-alternatives --config editor Selection Path Priority Status ------------------------------------------------------------ * 0 ...
2
votes
0answers
1k views

Changing default GCC Compiler in 12.04

I just downgraded from 13.04, which seems to have some stability problems right now, and moved back to 12.04.LTS. I installed the GCC 4.8 compiler, which is not the default GCC compiler on 12.04. I ...
6
votes
1answer
3k views

How to use multiple instances of gcc?

I have both gcc 4.7.3 and 4.8.1 installed But on running gcc --version I get gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see ...
6
votes
5answers
21k views

How to set the default Java version

I have been using Java 6 on Ubuntu 11.10, but now I want to update to version 7. I've installed version 7 via PPA as described here. If I run sudo update-alternatives --config java I get the ...
2
votes
2answers
1k views

Chromium doesn't show up to be selected as default browser

I installed Chromium, but can not select it as my default browser. Where does Ubuntu keep the list of applications shown in this menu? I use Ubuntu 12.04 with Unity as my environment. I also tried ...
0
votes
1answer
168 views

why doesn't the standardized way to change default terminal work?

Why doesn't: sudo update-alternatives --config x-terminal-emulator Work to change the default terminal in 12.10 ubuntu-one nautilus? I find it confusing.
5
votes
2answers
14k views

update-alternatives: “alternative path doesn't exist” issue while updating JDK7

I decided to update my JDK7 to recent version from here. Corresponding x64 tag.gz archive for my architecture has been downloaded and extracted to /usr/lib/jvm as usual. All previous versions of Java ...
5
votes
2answers
5k views

Set emacs -nw as default editor

When editing files like sudoers, I want to use emacs instead of nano. So I ran this command sudo update-alternatives --config editor And I selected emacs. The only issue is I like emacs in no ...
40
votes
1answer
34k views

What exactly does `update-alternatives` do?

What is the command update-alternatives used for? Take this example: sudo update-alternatives --install /usr/bin/java java /usr/local/java/jre1.7.0_09/bin/java 1 What does it do? How is it ...
3
votes
1answer
210 views

Why doesn't java -version return anything with Oracle's JRE 7?

I've been following these steps and got up to the check version of new JRE installation part but java -version doesn't return anything. I have run sudo update-alternatives --install /usr/bin/java ...
0
votes
1answer
2k views

Java problems installing Glassfish 3.1.2 on Ubuntu Lucid [closed]

I'm trying to install Glassfish v3.1.2 on Ubuntu 10.04 by obtaining corresponding .sh from Oracle website and running sudo ./glassfish-installer-file.sh. However following error appears: Could not ...
4
votes
2answers
705 views

Two equal items in alternatives list

I want to have two JDKs. The first one was installed a long time ago to /usr/lib/jvm/java-7-oracle/. I installed the second version and executed following commands to add it to alternatives: ...
10
votes
1answer
3k views

What's the difference between x-www-browser and gnome-www-browser?

What's the difference between x-www-browser and gnome-www-browser? I came across it here: Setting the default browser when update-alternatives fails.
8
votes
2answers
21k views

How to use GCC 4.7 in place of 4.6?

So I'm working on a project and I wanted to use some C11 features for C. To use those features GCC 4.7 is required, so I went to synaptic and looked up 4.7, and I found the packages gcc-4.7-base so I ...
2
votes
0answers
1k views

How to force update-alternatives to update jdk? [closed]

I've got java-6-openjdk and java-7-openjdk running on Natty (11.04) on one machine and successfully toggle between them using update-alternatives --config java For some reason this doesn't seem ...
1
vote
1answer
141 views

Errors when apt-get upgrade

I recently updated an server from 8.04 to 10.04, the update ran basically flawlessly, but now every time i use apt-get I get strange error messages. :~# apt-get upgrade Reading package lists... Done ...
0
votes
0answers
28 views

Could not update Ubuntu 12.04 [duplicate]

Possible Duplicate: How do I fix a “Problem with MergeList” error when trying to do an update? While I was trying to update Ubuntu 12.04 I am repeatedly having problems showing ...