After updating Anaconda to its latest version, which leads Spyder to be updated to version 5.3.3. (from 5.2.2) I noticed Spyder fails to start. The error messages by Spyder point to Qt5. As a result of the Anaconda update, it broke, and I had to reinstall Anaconda in the know that I can not perform updates, because they will brick Anaconda again.
I want to break the loop of installing, updating, bricking Anaconda and I feel that Qt is the culprit.
Question, why should I keep Qt and any Qt associated files? I can see that Spyder relies on it, but which other apps?
See output below, it looks like there are many Qt versions and programs on my Linux Mint 20 system:
qtchooser -list-versions
4
5
default
qt4-x86_64-linux-gnu
qt4
qt5-x86_64-linux-gnu
qt5
apt list --installed
qt3d-assimpsceneimport-plugin/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
qt3d-defaultgeometryloader-plugin/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
qt3d-gltfsceneio-plugin/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
qt3d-scene2d-plugin/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
qt5-assistant/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qt5-gtk-platformtheme/focal-updates,focal-security,now 5.12.8+dfsg-0ubuntu2.1 amd64 [installed]
qt5-gtk2-platformtheme/focal,now 5.0.0+git23.g335dbec-3ubuntu4 amd64 [installed,automatic]
qt5-image-formats-plugins/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qt5-style-plugin-cleanlooks/focal,now 5.0.0+git23.g335dbec-3ubuntu4 amd64 [installed,automatic]
qt5-style-plugin-motif/focal,now 5.0.0+git23.g335dbec-3ubuntu4 amd64 [installed,automatic]
qt5-style-plugin-plastique/focal,now 5.0.0+git23.g335dbec-3ubuntu4 amd64 [installed,automatic]
qt5-style-plugins/focal,now 5.0.0+git23.g335dbec-3ubuntu4 amd64 [installed]
Related
I just bought a new machine and made a fresh installation of Ubuntu 21.10 since I've read that the newer kernel works better with graphics drivers. I'm planning to update to the 22.04 LTS when it will be available. I didn't realize, however, that I might run into challenges with R.
There are plenty of questions here in SO on installing R on Ubuntu, but none seemed recent enough to address the Ubuntu version 21.10.
Ubuntu Packages For R - Full Instructions state that
As of May 19, 2021 the supported releases are
Hirsute Hippo (21.04, amd64 only)
Groovy Gorilla (20.10, amd64 only),
Focal Fossa (20.04; LTS and amd64 only),
Bionic Beaver (18.04; LTS), and
Xenial Xerus (16.04; LTS).
So, if I understand correctly, I have three options:
Uninstall 21.10 and replace with 21.04
Wait for support for 21.10
Install R from source
Now, the question is, have I understood correctly, or could I use, for example, the 21.04 repository (hirsute-cran40/)?
Apparently, it is ok to use a repository of older releases.
I was encouraged by Andre Wildeberg (thanks!) and added the 21.04 repository (hirsute-cran40/) into my /etc/apt/sources.list:
deb https://cloud.r-project.org/bin/linux/ubuntu hirsute-cran40/
Then, you can follow the rest of the CRAN instructions.
Add the relevant GPG key (under "Secure APT", half way through the document):
$ wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
Finally, install R:
$ sudo apt-get update
$ sudo apt-get install r-base
And everything should be working fine.
You need a newer signing key for that repo:
root:~# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.MsSJzqgwfx/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
gpg: key 51716619E084DAB9: "Michael Rutter <marutter#gmail.com>" 1 new signature
gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
gpg: can't connect to the agent: No such file or directory
gpg: Total number processed: 1
gpg: new signatures: 1
root:~# apt update
Get:1 https://cloud.r-project.org/bin/linux/ubuntu hirsute-cran40/ InRelease [3628 B]
Get:2 http://security.ubuntu.com/ubuntu impish-security InRelease [110 kB]
Hit:3 http://archive.ubuntu.com/ubuntu impish InRelease
Get:4 http://archive.ubuntu.com/ubuntu impish-updates InRelease [110 kB]
Get:5 http://archive.ubuntu.com/ubuntu impish-backports InRelease [101 kB]
Fetched 325 kB in 1s (422 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root:#
One you have that, impish works fine. That said, hirsute binaries should work too (or even focal binaries, as one does with the 5000+ r-cran-* binaries the 'cran2deb4ubuntu' repo for the LTS release).
Trying to run my project test in Android Device I receive this message QML module not found (QtQuick.VirtualKeyboard). I Checked my apt list and I have those libaries installed.
qml-module-qtquick-virtualkeyboard/bionic 5.9.5+dfsg-0ubuntu1 amd64
qtvirtualkeyboard-plugin/bionic 5.9.5+dfsg-0ubuntu1 amd64
qtvirtualkeyboard5-examples/bionic 5.9.5+dfsg-0ubuntu1 amd64
This error does not occur when I deploy to Dekstop.
I'm posting this as a possible bug report because this page says,
Troubleshooting
Please report any issues on our StackOverflow page: https://stackoverflow.com/questions/tagged/corda
Maybe these instructions for installing Java on Ubuntu are wrong (obsolete):
https://docs.corda.net/getting-set-up.html#id4
Java
Open a new terminal and add the Oracle PPA to your repositories by typing sudo add-apt-repository ppa:webupd8team/java. Press ENTER when prompted.
Update your packages list with the command sudo apt update
Install the Oracle JDK 8 by typing sudo apt install oracle-java8-installer.
Press Y when prompted and agree to the licence terms.
Because what I see when I do that is as follows:
cwellsx#cwellsx-VirtualBox:~$ sudo add-apt-repository ppa:webupd8team/java
[sudo] password for cwellsx:
The Oracle JDK License has changed for releases starting April 16, 2019.
The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here: https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html
Oracle Java downloads now require logging in to an Oracle account to download Java updates, like the latest Oracle Java 8u211 / Java SE 8u212. Because of this I cannot update the PPA with the latest Java (and the old links were broken by Oracle).
For this reason, THIS PPA IS DISCONTINUED (unless I find some way around this limitation).
Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK8). There are no actual Java files in this PPA.
Important -> Why Oracle Java 7 And 6 Installers No Longer Work: http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html
Update: Oracle Java 9 has reached end of life: http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html
The PPA supports Ubuntu 18.10, 18.04, 16.04, 14.04 and 12.04.
More info (and Ubuntu installation instructions):
- http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
Debian installation instructions:
- Oracle Java 8: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
For Oracle Java 11, see a different PPA -> https://www.linuxuprising.com/2019/06/new-oracle-java-11-installer-for-ubuntu.html
More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease [15,4 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [713 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [22,6 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [10,4 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [31,7 kB]
Get:10 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [574 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42,1 kB]
Get:12 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [285 kB]
Get:13 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [70,9 kB]
Get:14 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB]
Get:15 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [978 kB]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16,4 kB]
Get:17 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [116 kB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2 464 B]
Get:19 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1 000 kB]
Get:20 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [253 kB]
Get:21 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [193 kB]
Get:22 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [453 kB]
Get:23 http://fr.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2 468 B]
Get:24 http://fr.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7 920 B]
Fetched 5 179 kB in 6s (924 kB/s)
Reading package lists... Done
cwellsx#cwellsx-VirtualBox:~$ sudo apt update
Hit:1 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:4 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
cwellsx#cwellsx-VirtualBox:~$ sudo apt install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java8-installer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'oracle-java8-installer' has no installation candidate
cwellsx#cwellsx-VirtualBox:~$
Maybe (correct me if I'm wrong) the way to do that now is:
Download the *.tar.gz from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Unzip:
cwellsx#cwellsx-VirtualBox:~$ sudo mkdir /opt/java
cwellsx#cwellsx-VirtualBox:~$ sudo tar -zxf Downloads/jdk-8u221-linux-x64.tar.gz -C /opt/java
Add the following to /etc/profile
# after `sudo tar -zxf Downloads/jdk-8u221-linux-x64.tar.gz -C /opt/java`
export JAVA_HOME=/opt/java/jdk1.8.0_221
export PATH=$PATH:$JAVA_HOME/bin
Restart Ubuntu
Verify
cwellsx#cwellsx-VirtualBox:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/java/jdk1.8.0_221/bin
cwellsx#cwellsx-VirtualBox:~$ java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
... which is like the installation instructions for Windows.
Thanks for your notes and contribution!
I will pass the notes to the docs team and make changes accordingly.
Almost the same as: Can't install .NET Core on Linux Mint 18.1 except that I want to install .NET Core 2.0.
Followed the steps there: Install .NET Core for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10 & Linux Mint 17, Linux Mint 18 (64 bit)
(no issues on Manjaro)
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 983 100 983 0 0 2961 0 --:--:-- --:--:-- --:--:-- 2960
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list'
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo apt-get update
Ign:1 http://mirrors.evowise.com/linuxmint/packages sylvia InRelease
Hit:2 http://mirror.clibre.uqam.ca/ubuntu xenial InRelease
Hit:3 http://mirror.clibre.uqam.ca/ubuntu xenial-updates InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://mirror.clibre.uqam.ca/ubuntu xenial-backports InRelease
Hit:6 http://mirrors.evowise.com/linuxmint/packages sylvia Release
Hit:7 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:8 https://repo.skype.com/deb stable InRelease
Get:9 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:10 https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful InRelease [2,845 B]
Get:12 https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful/main amd64 Packages [8,946 B]
Fetched 114 kB in 0s (195 kB/s)
Reading package lists... Done
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo apt-get install dotnet-sdk-2.1.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-2.1.3 : Depends: dotnet-runtime-2.0.4 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
By the way, the same thing occurs with: dotnet-sdk-2.1.4 and dotnet-runtime-2.0.5
So I tried to dig a bit more:
perret#perret-ThinkPad-E460 ~/Desktop/github.io $ sudo apt-get install dotnet-runtime-2.0.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
dotnet-runtime-2.0.4 : Depends: libgssapi-krb5-2 (>= 1.14+dfsg) but 1.13.2+dfsg-5ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
Got the libgssapi-krb5-2_1.13.2+dfsg-5ubuntu2 myself:
https://packages.ubuntu.com/xenial-updates/amd64/libgssapi-krb5-2/download
But realized that the version is too old... 1.13.2 (i.e. >= 1.14+dfsg)
Any idea?
My bad Linux Mint 18.1.3 use Ubuntu 16.04 list not 17.10 or 17.04:
perret#perret-ThinkPad-E460 ~ $ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 983 100 983 0 0 830 0 0:00:01 0:00:01 --:--:-- 830
perret#perret-ThinkPad-E460 ~ $ sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
[sudo] password for perret:
Sorry, try again.
[sudo] password for perret:
perret#perret-ThinkPad-E460 ~ $ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
perret#perret-ThinkPad-E460 ~ $ sudo apt-get update
Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:3 http://mirrors.evowise.com/linuxmint/packages sylvia InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://mirrors.evowise.com/linuxmint/packages sylvia Release
Hit:6 http://mirror.clibre.uqam.ca/ubuntu xenial InRelease
Hit:8 https://repo.skype.com/deb stable InRelease
Hit:9 https://deb.opera.com/opera-stable stable InRelease
Hit:10 http://mirror.clibre.uqam.ca/ubuntu xenial-updates InRelease
Get:11 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial InRelease [2,845 B]
Hit:12 http://mirror.clibre.uqam.ca/ubuntu xenial-backports InRelease
Get:13 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages [23.3 kB]
Fetched 26.1 kB in 1s (18.7 kB/s)
Reading package lists... Done
perret#perret-ThinkPad-E460 ~ $ sudo apt-get install dotnet-sdk-2.1.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 dotnet-host
dotnet-hostfxr-2.0.4 dotnet-runtime-2.0.4 liblttng-ust-ctl2 liblttng-ust0
liburcu4
The following NEW packages will be installed:
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 dotnet-host
dotnet-hostfxr-2.0.4 dotnet-runtime-2.0.4 dotnet-sdk-2.1.3 liblttng-ust-ctl2
liblttng-ust0 liburcu4
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 118 MB of archives.
After this operation, 344 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
perret#perret-ThinkPad-E460 ~ $ sudo apt-get install dotnet-sdk-2.1.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 aspnetcore-store-2.0.5
dotnet-host dotnet-hostfxr-2.0.5 dotnet-runtime-2.0.5 liblttng-ust-ctl2
liblttng-ust0 liburcu4
The following NEW packages will be installed:
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 aspnetcore-store-2.0.5
dotnet-host dotnet-hostfxr-2.0.5 dotnet-runtime-2.0.5 dotnet-sdk-2.1.4
liblttng-ust-ctl2 liblttng-ust0 liburcu4
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 119 MB of archives.
After this operation, 348 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 aspnetcore-store-2.0.0 amd64 2.0.0-1 [18.1 MB]
Get:2 http://mirror.clibre.uqam.ca/ubuntu xenial/universe amd64 liburcu4 amd64 0.9.1-3 [47.3 kB]
Get:3 http://mirror.clibre.uqam.ca/ubuntu xenial/universe amd64 liblttng-ust-ctl2 amd64 2.7.1-1 [72.2 kB]
Get:4 http://mirror.clibre.uqam.ca/ubuntu xenial/universe amd64 liblttng-ust0 amd64 2.7.1-1 [127 kB]
Get:5 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 aspnetcore-store-2.0.3 amd64 2.0.3-1 [5,805 kB]
Get:6 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 aspnetcore-store-2.0.5 amd64 2.0.5-1 [1,162 kB]
Get:7 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-host amd64 2.0.5-1 [33.8 kB]
Get:8 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-hostfxr-2.0.5 amd64 2.0.5-1 [135 kB]
Get:9 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-runtime-2.0.5 amd64 2.0.5-1 [18.6 MB]
Get:10 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-sdk-2.1.4 amd64 2.1.4-1 [74.9 MB]
Fetched 119 MB in 51s (2,313 kB/s)
Selecting previously unselected package aspnetcore-store-2.0.0.
(Reading database ... 249396 files and directories currently installed.)
Preparing to unpack .../aspnetcore-store-2.0.0_2.0.0-1_amd64.deb ...
Unpacking aspnetcore-store-2.0.0 (2.0.0-1) ...
Selecting previously unselected package aspnetcore-store-2.0.3.
Preparing to unpack .../aspnetcore-store-2.0.3_2.0.3-1_amd64.deb ...
Unpacking aspnetcore-store-2.0.3 (2.0.3-1) ...
Selecting previously unselected package aspnetcore-store-2.0.5.
Preparing to unpack .../aspnetcore-store-2.0.5_2.0.5-1_amd64.deb ...
Unpacking aspnetcore-store-2.0.5 (2.0.5-1) ...
Selecting previously unselected package dotnet-host.
Preparing to unpack .../dotnet-host_2.0.5-1_amd64.deb ...
Unpacking dotnet-host (2.0.5-1) ...
Selecting previously unselected package dotnet-hostfxr-2.0.5.
Preparing to unpack .../dotnet-hostfxr-2.0.5_2.0.5-1_amd64.deb ...
Unpacking dotnet-hostfxr-2.0.5 (2.0.5-1) ...
Selecting previously unselected package liburcu4:amd64.
Preparing to unpack .../liburcu4_0.9.1-3_amd64.deb ...
Unpacking liburcu4:amd64 (0.9.1-3) ...
Selecting previously unselected package liblttng-ust-ctl2:amd64.
Preparing to unpack .../liblttng-ust-ctl2_2.7.1-1_amd64.deb ...
Unpacking liblttng-ust-ctl2:amd64 (2.7.1-1) ...
Selecting previously unselected package liblttng-ust0:amd64.
Preparing to unpack .../liblttng-ust0_2.7.1-1_amd64.deb ...
Unpacking liblttng-ust0:amd64 (2.7.1-1) ...
Selecting previously unselected package dotnet-runtime-2.0.5.
Preparing to unpack .../dotnet-runtime-2.0.5_2.0.5-1_amd64.deb ...
Unpacking dotnet-runtime-2.0.5 (2.0.5-1) ...
Selecting previously unselected package dotnet-sdk-2.1.4.
Preparing to unpack .../dotnet-sdk-2.1.4_2.1.4-1_amd64.deb ...
Unpacking dotnet-sdk-2.1.4 (2.1.4-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Setting up aspnetcore-store-2.0.0 (2.0.0-1) ...
Setting up aspnetcore-store-2.0.3 (2.0.3-1) ...
Setting up aspnetcore-store-2.0.5 (2.0.5-1) ...
Setting up dotnet-host (2.0.5-1) ...
Setting up dotnet-hostfxr-2.0.5 (2.0.5-1) ...
Setting up liburcu4:amd64 (0.9.1-3) ...
Setting up liblttng-ust-ctl2:amd64 (2.7.1-1) ...
Setting up liblttng-ust0:amd64 (2.7.1-1) ...
Setting up dotnet-runtime-2.0.5 (2.0.5-1) ...
Setting up dotnet-sdk-2.1.4 (2.1.4-1) ...
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET Core!
---------------------
Learn more about .NET Core # https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
.NET Core Tools Telemetry
--------------
The .NET Core Tools include a telemetry feature that collects usage information. It is important that the .NET Team understands how the tools are being used so that we can improve them.
The data collected is anonymous and will be published in an aggregated form for use by both Microsoft and community engineers under the Creative Commons Attribution License.
The .NET Core Tools telemetry feature is enabled by default. You can opt-out of the telemetry feature by setting an environment variable DOTNET_CLI_TELEMETRY_OPTOUT (for example, 'export' on macOS/Linux, 'set' on Windows) to true (for example, 'true', 1). You can read more about .NET Core tools telemetry at https://aka.ms/dotnet-cli-telemetry.
Installation Note
--------------
A command will be run during the install process that will improve project restore speed and enable offline access. It will take up to a minute to complete.
Processing triggers for libc-bin (2.23-0ubuntu10) ...
I have just downloaded the source code for Qt 5.0 and compiled it on Ubuntu 12.10 64-bit. Running sudo make install seems to have copied the files to /usr/local/Qt-5.0.0:
So far so good. But when I fire up Qt Creator 2.5.2 and try to point it to the new build, I get an unusual error: The default mkspec symlink is broken.
What could possibly cause this sort of error? All of the symlinks under /usr/local/Qt-5.0.0/mkspecs are valid. The output of qmake -query is as follows:
QT_SYSROOT:
QT_INSTALL_PREFIX:/usr/local/Qt-5.0.0
QT_INSTALL_ARCHDATA:/usr/local/Qt-5.0.0
QT_INSTALL_DATA:/usr/local/Qt-5.0.0
QT_INSTALL_DOCS:/usr/local/Qt-5.0.0/doc
QT_INSTALL_HEADERS:/usr/local/Qt-5.0.0/include
QT_INSTALL_LIBS:/usr/local/Qt-5.0.0/lib
QT_INSTALL_LIBEXECS:/usr/local/Qt-5.0.0/libexec
QT_INSTALL_BINS:/usr/local/Qt-5.0.0/bin
QT_INSTALL_TESTS:/usr/local/Qt-5.0.0/tests
QT_INSTALL_PLUGINS:/usr/local/Qt-5.0.0/plugins
QT_INSTALL_IMPORTS:/usr/local/Qt-5.0.0/imports
QT_INSTALL_QML:/usr/local/Qt-5.0.0/qml
QT_INSTALL_TRANSLATIONS:/usr/local/Qt-5.0.0/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/local/Qt-5.0.0/examples
QT_INSTALL_DEMOS:/usr/local/Qt-5.0.0/examples
QT_HOST_PREFIX:/usr/local/Qt-5.0.0
QT_HOST_DATA:/usr/local/Qt-5.0.0
QT_HOST_BINS:/usr/local/Qt-5.0.0/bin
QMAKE_SPEC:linux-g++-64
QMAKE_XSPEC:linux-g++-64
QMAKE_VERSION:3.0
QT_VERSION:5.0.0
I should also point out that I do not have the Qt 4.x development files installed on this machine:
nathan#nathan-ubuntu:~$ dpkg -l | grep qt4
ii libqt4-dbus:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 D-Bus module
ii libqt4-declarative:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 Declarative module
ii libqt4-designer:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 designer module
ii libqt4-help:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 help module
ii libqt4-network:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 network module
rc libqt4-opengl:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 OpenGL module
rc libqt4-qt3support:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 3 compatibility library for Qt 4
ii libqt4-script:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 script module
ii libqt4-scripttools:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 script tools module
ii libqt4-sql:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 SQL module
ii libqt4-sql-sqlite:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 SQLite 3 database driver
ii libqt4-svg:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 SVG module
ii libqt4-test:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 test module
ii libqt4-xml:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 XML module
ii libqt4-xmlpatterns:amd64 4:4.8.3+dfsg-0ubuntu3 amd64 Qt 4 XML patterns module
ii python-qt4 4.9.3-4 amd64 Python bindings for Qt4
ii python-qt4-dbus 4.9.3-4 amd64 D-Bus Support for PyQt4
You can not make Qt 5 work with Qt Creator prior to version 2.6.1. The patchlevel is important, version 2.6.0 will not work for the final.
Qt 5 is sufficiently different from Qt 4 with its new modules, library names and qmake to require quite a few changes all over the place to get it supported.
After upgrading to Qt Creator 2.6.1, the problem went away.
The exact steps for installing v2.6.1 went something like this:
Grab the binary installer from here:
32-bit Linux Installer
64-bit Linux Installer
After you have downloaded the file, change the permissions to 755 with chmod:
chmod 755 qt-creator-linux-*-opensource-2.6.1.bin
Run the installer as root:
sudo ./qt-creator-linux-*-opensource-2.6.1.bin
Leave all of the installation settings at their defaults and finish the installation.
Launch the application through your desktop environment's dash or equivalent.