Questions tagged [update-alternatives]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
56 views

Failed to start Open vSwitch Forwarding Unit

Tried to install openvswitch-switch-dpdk on ubuntu 18.04 (in vmware) following this instructions: https://ubuntu.com/server/docs/openvswitch-dpdk But after running this command: sudo update-...
3
votes
0answers
49 views

OpenMPI - Update alternatives

I have troubles with openmpi crashing. The installed/repository version is "mpirun (Open MPI) 3.1.3". Consequently I have locally built a "mpirun (Open MPI) 4.1.0" which does not ...
1
vote
1answer
30 views

Is it possible to start other software manager than Discover in Kubuntu when clicking the update button in the panel?

Discover software manager has greatly improved, but I still prefer the snappy and simple application Apper. The command apper --updates opens Apper, searches for updates and displays them. Could I ...
0
votes
0answers
28 views

gcc version change using update-alternative

i wanted a lower version of gcc to be installed for an old GPU and used gcc-opt to install and changed the gcc auto to the lower version using update-alternatives the following error showed up gcc-...
1
vote
0answers
34 views

Gettting “The snap command lets you…” when running “x-www-brower” but running “/snap/bin/firefox” works

I'm trying to use the snap firefox as my default browser but when I try to run the default x-www-browswer it appears snap is running. $ ls -a /snap/bin/firefox /snap/bin/firefox $ ls -l /snap/bin/...
0
votes
0answers
31 views

The default terminal is successfully changed, but some other problems occurred

I use Ubuntu 20.04. I have installed Terminator through aptitude and configure it as my default x-terminal-emulator via update-alternatives. Now I can correctly open Terminator from the right-click ...
0
votes
2answers
41 views

Problem with update-alternatives: Trop de niveaux de liens symboliques

I was intstalling some stuff in the computer: sudo apt install gettext intltool python3-gi python3-cairo python3-distutils python3-dbus python3-xdg libglib2.0-dev libglib2.0-bin gir1.2-gtk-3.0 gtk-...
8
votes
1answer
342 views

`update-alternatives --list editor` does not show editors installed via `snap`

$ update-alternatives --list editor /bin/nano /usr/bin/code /usr/bin/vim.tiny update-alternatives --list editor does not show nvim which I installed using snap. Even though my PATH variable contains /...
0
votes
0answers
79 views

how to set alternatives for gcc command sets gcc, gcc-ar, gcc-nm, .. (when installed with different methods)

ckim@chan-ubuntu:~/N1SDP/yocto_based_20201228/bsp/build-poky$ gcc --version gcc (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; ...
1
vote
0answers
36 views

Unable to open terminal after messing with pre-installed Python

I installed Python 3.9.0 by following the instructions from http://ubuntuhandbook.org/index.php/2020/10/python-3-9-0-released-install-ppa-ubuntu/. Unfortunately, I tried a not recommended instruction. ...
1
vote
0answers
92 views

Update Ubuntu Server on Raspberry Pi microSD card offline

I'm using the Raspberry Pi Imager tool to flash Ubuntu Server 20.04.1 LTS ARM 64-bit onto a microSD card. Then, I take that microSD card and insert it into a Raspberry Pi 3 B+. After that, the ...
0
votes
2answers
528 views

MySQL, my.cnf and /etc/alternatives

History (the question is in 2020 below) 2018. After the fresh install of 18.04, two years ago, I wanted to use my /etc/mysql/my.cnf setup from 16.04 to get things back to what they were. But the MySQL ...
0
votes
2answers
1k views

How to install openjdk-14-jdk on Ubuntu 16.04?

I already tried to add such repos, but it didn't add 14th version: add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" add-apt-repository ppa:openjdk-r/ppa ...
1
vote
1answer
1k views

Change default terminal to tilix terminal using shortcut

On Ubuntu whenever I click Ctrl+Alt+T, it will open the default terminal of Ubuntu. Now I want this shortcut to open my tilix terminal. How can I do this?
1
vote
2answers
49 views

Open directories default app

When I use any program that tries to open a directory it uses wrong applications; it currently uses non-explorer visual-studio-code and I have no idea why. I tried to setup Nautilus as the main app, ...
1
vote
1answer
257 views

How to use Octave from repositories with OpenBLAS compiled on my computer?

It has been suggested that using Octave with OpenBLAS compiled in my own computer (rather than precompiled OpenBLAS from repositories) will make the computations faster. I installed GNU Octave (4.2.2) ...
0
votes
0answers
170 views

Ubuntu 20.04 aarch64 OpenBLAS Link Library Confusion

In my Ubuntu 20.04 /usr/lib/aarch64-linux-gnu/openblas-serial directory I have... -rw-r--r-- 1 root root 8435720 Jun 2 10:55 libblas.so.3 -rw-r--r-- 1 root root 13712616 Jun 2 10:55 liblapack.so.3 -...
0
votes
0answers
33 views

Show Raw Contents of update-alternatives

I'm wondering if there's a way to show the raw contents of sudo update-alternatives --config <resource>? I've been doing quite a lot of troubleshooting getting some installs correct and I cannot ...
2
votes
1answer
685 views

I cannot set default java with update-alternatives

I have installed three Versions of Java. I tried to set a default option with update-alternatives. However, it didn't change the default. What am I missing? I know that one is from JRE and the other ...
1
vote
1answer
78 views

Where can user inform Ubuntu Snap Store to update snap from third-party?

Where can user inform Ubuntu Snap Store to update snap from third-party? Example: Oracle provide VirtualBox latest statble version for Ubuntu. But Ubuntu SnapStore provide old version. So Where ...
1
vote
0answers
475 views

broken apt package in python

I installed python 3.7.5 on my ubuntu 18.04 and I updated alternatives for python and python3 to python 3.7.5. after that I had a lot of problems. when I use sudo apt-get update or sudo gdebi some ...
2
votes
0answers
172 views

`apt-get install` without running `update-alternatives` (or specifying own priority)

Is there a way to install a package using apt-get install without update-alternatives being invoked? Or at least being able to specify your own custom priority for the new links added by update-...
0
votes
0answers
227 views

update or upgrade ubuntu pc from another computer on the local workgroup network

How to share updates between ubuntu computers on the local workgroup network Any option like windows 10 os?
1
vote
1answer
1k views

Installing customized GDM theme: Replacing ubuntu.css vs Using “update-alternatives --install … gdm3.css”

I installed a customized css file for the GDM of Ubuntu 18.04 via 2 approaches. Surprisingly, they gave different results: Approach (A) I saved my customized GDM css file as /usr/share/gnome-shell/...
2
votes
1answer
1k views

How to assign a priority number to “update-alternatives --config gdm3.css” in a single cmdline?

I am able to run these commands in the terminal: $ sudo update-alternatives --install /usr/share/gnome-shell/theme/gdm3.css gdm3.css /usr/share/gnome-shell/theme/mytheme/mytheme.css 10 $ sudo update-...
2
votes
0answers
760 views

How can I install multiple version of clang/llvm?

I added the repo from llvm-apt. It contains llvm7 and llvm8. I want to install both versions. The main packages are installed fine. However, there is a problem for libc++, since both packages want to ...
5
votes
1answer
535 views

Why doesn't MATE respect `x-terminal-emulator`?

Running Ubuntu Mate 18.04.1, pretty vanilla install. Am trying to make Tilix my default terminal emulator. Have set it as per update-alternatives: me@mine:~$ sudo update-alternatives --config x-...
2
votes
2answers
2k views

Deepin-terminal not showing up in x-terminal-emulator list

Following this post I tried this command: sudo update-alternatives --config x-terminal-emulator But it doesn't list the deepin-terminal: There are 2 choices for the alternative x-terminal-emulator (...
0
votes
1answer
580 views

update-alternatives: error: alternative link /usr/share/java/clojure.jar is already managed by clojure

Having upgraded to 18.04, I get the error above when trying to reinstall this package (it also showed during the upgrade I think). It seems this package is a prerequisite for other packages such as ...
0
votes
1answer
136 views

I get how to install Nvidia drivers in Ubuntu from ppa. But how do I update them later when I need to?

As an owner of a 2080. This is something I'm going to need to know how to do.
8
votes
2answers
10k views

Java 11 to 8: update-alternatives: error: no alternatives for mozilla-javaplugin.so

I have Java 11 and 8 in my Ubuntu 18.04, side by side. I mean to set Java 8 as the default. What I get: $ sudo update-java-alternatives --set /usr/lib/jvm/java-1.8.0-openjdk-amd64 update-...
1
vote
1answer
6k views

how fix mistake made with update-alternatives?

In the process of installing OpenJDK 11 (via a download), and attempting to set the environment variable and defaults to invoke this version instead of the previously installed Java 10, I have messed ...
4
votes
1answer
2k views

update-alternatives for sh reports bash is used, but I still get dash

I just upgraded to Ubuntu 18.10 from Ubuntu 17.10. I have my box configured to use bash as the default shell rather than the default dash. I've made this change with sudo update-alternatives --...
2
votes
0answers
451 views

dpkg: error processing package cpp (--configure)

Out of a sudden I receive this error on every apt install or apt upgrade. Using Ubuntu 18.04 dpkg: dependency problems prevent configuration of gcc: gcc depends on cpp (>= 4:7.3.0-3ubuntu2.1); ...
8
votes
1answer
9k views

Can not install jdk11 using update-alternatives --install

to try out the new features of jdk11 I installed it into /opt/ and want to use it using update-alternatives, like so: sudo update-alternatives --install /etc/alternatives/java OpenJDK-11 /opt/jdk-11/...
3
votes
0answers
1k views

update-alternatives: error: no alternatives for mozilla-javaplugin.so

I'm trying to switch from Java Development Kit (JDK) 8 to JDK 11 in Bionic. Installation went fine: $ sudo apt-get install openjdk-11-jdk $ sudo update-java-alternatives -l java-1.11.0-openjdk-amd64 ...
2
votes
1answer
7k views

update-alternatives does not work due to /usr/local/bin precedence

I have faced with an issue that when I search proper version of python I every time found python 3.7: python3 --version Python 3.7.0 Then I have checked update-alternatives configuration: sudo ...
5
votes
2answers
2k views

update-java-alternatives jinfo file does not exist

I'm trying to learn how to quickly change which java version my system uses as described in this article: https://aboullaite.me/switching-between-java-versions-on-ubuntu-linux/ I've used apt-get ...
0
votes
1answer
2k views

Using update-alternatives to assign 'Python' to Python version 3.6

I am trying to use update-alternatives to assign python 3.6 ; Instead it is using python 3.52. update-alternatives --install /usr/bin/python python /usr/bin/python3 1 Any idea what I have to do ...
1
vote
1answer
532 views

accidentally removed cpp and some important softwares

I was trying to install latast version of gcc(gcc-7).When I execute the command sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 I did ...
2
votes
1answer
2k views

How do I set a system wide node version installed via nvm?

I use nvm to manage my node versions, but programs that don't start a shell and don't include ~/.nvm/nvm.sh don't know where to find node. Intellij for example can start node programms via package....
1
vote
1answer
1k views

how to use Java 9 zulu from sdkman?

Netbeans is using JDK 8 per the source or binary format as shown here: How do i switch to zulu, which is 9? thufir@dur:~$ thufir@dur:~$ javac -version javac 9.0.0.15 thufir@dur:~$ thufir@dur:~$ ...
5
votes
1answer
5k views

How to add slave to existing update-alternatives link group?

I have installed gcc-7 and g++-7 using the answer at https://askubuntu.com/a/581497/333103. Then I realised that while this slaved the g++ version to the gcc version, I had forgotten to add a ...
0
votes
1answer
282 views

Why I am Seeing two java paths in `update-alternatives --config java`

when I type sudo update-alternatives --config java in termainl I get folowing output:- $ sudo update-alternatives --config java There are 3 choices for the alternative java (providing /usr/bin/java). ...
0
votes
0answers
21 views

Update Ubuntu 14

I want update my Ubuntu 14 to Ubuntu 16. The problem is in my root directory. It consist of 7.3GB and I have only 300MB free space. Can I update it using my home(where is my desctop) directory with ...
0
votes
0answers
133 views

Uninstall software if I don't know where I initially installed it

I'm sure this question has been answered, but I am unable to find it. A few years back I installed gnuplot 4.4 and now I am wanting to update it to 4.6. The problem is when I went to do sudo apt-...
2
votes
0answers
1k views

Alternative to Galternatives

Is there an alternative to galternatives (a GUI to update-alternatives)? It seems that the package is not maintained since 2015.
0
votes
1answer
927 views

What's the difference between auto and manual modes in update-alternatives?

I installed vim and ran update-alternatives. Then I installed vim-full and ran it again. I noticed that there are two entries for vim.basic: one in auto mode, and one in manual. What's the difference ...
6
votes
1answer
6k views

Can not change update-alternatives mvn

Ubuntu 14.04 After installing and changing the version of mvn via `update-alternatives, the configuration remains unchanged. Steps Install new version mvn sudo update-alternatives --install /usr/...
0
votes
1answer
290 views

Set java version on Ubuntu server

I have java version 6,7,8 installed on my Ubuntu server, the result of update-alternatives --config java is There are 3 choices for the alternative java (providing /usr/bin/java). Selection ...