Questions tagged [ubuntu-16.04]
Ubuntu 16.04 (Xenial Xerus) is a long term support release, available from 21st of April 2016. Questions should be related to writing or running programs under Ubuntu. General Ubuntu questions should be asked on https://askubuntu.com
ubuntu-16.04
366
questions
290
votes
25
answers
684k
views
Unable to set default python version to python3 in ubuntu
I was trying to set default python version to python3 in Ubuntu 16.04. By default it is python2 (2.7). I followed below steps :
update-alternatives --remove python /usr/bin/python2
update-alternatives ...
89
votes
8
answers
284k
views
How to install php-curl in Ubuntu 16.04
Upgraded to Ubuntu 16.04 and facing problem after installing PHP5.
Installed PHP-5 with following:
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get upgrade
sudo apt-get ...
35
votes
11
answers
55k
views
CMake Error: Variables are set to NOTFOUND
I installed cuda first using cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb. Now I'm trying to install OpenCV 3.3.0 But i'm getting CMake Error:
CMake Error: The following variables are used in ...
124
votes
34
answers
355k
views
Failed to start mongod.service: Unit mongod.service not found
I follow all the steps mention in MongoDB installation documents for Ubuntu 16.04.
Steps 1:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv ...
221
votes
3
answers
91k
views
What is "pkg-resources==0.0.0" in output of pip freeze command
When I run pip freeze I see (among other expected packages) pkg-resources==0.0.0. I have seen a few posts mentioning this package (including this one), but none explaining what it is, or why it is ...
48
votes
4
answers
64k
views
python GDAL 2.1 installation on Ubuntu 16.04
Here will be my sequence of command lines while trying to install gdal2.1 in a UBUNTU virtual machine. My virtual machine is a UBUNTU 16.04 LTS(64bit) I would need gdal2.1 and especially the Python ...
26
votes
7
answers
53k
views
Installing opencv 3.1 with anaconda python3?
How do I install opencv with anaconda python3 , opencv picked up my python3 executables
-- Python 2:
-- Interpreter: /usr/bin/python2.7 (ver 2.7.12)
-- Libraries: ...
99
votes
19
answers
175k
views
Temporary failure in name resolution [Errno -3] with Docker
I'm following the docker tutorial and am on the part where I have to build the app using:
docker build -t friendlyhello .
It reaches up to step 4, where after a pause I get this error:
Step 4/7 : ...
54
votes
5
answers
92k
views
command 'x86_64-linux-gnu-gcc' failed with exit status 1
I tried to install "scholarly" package, but I keep receiving this error:
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -...
39
votes
7
answers
118k
views
Pyodbc: Login Timeout Error
I am trying to connect to MS SQL Server using pyodbc from a remote machine running Ubuntu 16.04.
import pyodbc
conn = pyodbc.connect(r'DRIVER=ODBC Driver 17 for SQL Server; SERVER=xxxTest-SRV; PORT=...
274
votes
42
answers
976k
views
pull access denied repository does not exist or may require docker login
I am using Laravel 4.2 with docker. I setup it on local. It worked without any problem but when I am trying to setup online using same procedure then I am getting error:
pull access denied for <...
103
votes
1
answer
186k
views
How to run a .NET Core console application on Linux [duplicate]
I am using Visual Studio 2015 and created a .NET Core console application. After compiling, I have my project DLL file in the debug folder. And if I want to run it on another computer, I have to ...
94
votes
7
answers
339k
views
Package php5 have no installation candidate (Ubuntu 16.04)
When i try to install php5 in Ubuntu 16.04 by using following code:
sudo apt-get install php5 php5-mcrypt
I get following error:
Reading package lists... Done
Building dependency tree
...
82
votes
6
answers
559k
views
How to completely uninstall python 2.7.13 on Ubuntu 16.04
I installed Python 2.7.13 on Ubuntu 16.04 according to this guide, and it became the default version as an alternative to the version 2.7.12. But, I wanted to completely remove Python 2.7.13 and ...
56
votes
6
answers
221k
views
libstdc++.so.6: version `GLIBCXX_3.4.20' not found
To upload the raw-reads > 2GB to SRA on Genebank, I installed aspera connect plug-in on ubuntu 16.04. But the plug-in did not pop up as indicated by the instruction on the genebank SRA portal.
I ...