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

New features include the following

  • 5 year support term
  • Linux 4.4 LTS kernel
  • Unity online search disabled by default
  • Unity launcher can be repositioned
  • ZFS (file system)
  • Ubuntu Software Center replaced with GNOME Software

It is available for download as an ISO image.

4960 questions
22
votes
1 answer

Unable to Install Tensorflow (MemoryError)

I tried to install Tensorflow on Linux Ubuntu 16.04 from source and using pip and I keep getting the following error return base64.b64encode(b).decode("ascii") MemoryError. I tried to google this problem but only found a website written in Chinese…
David_Zizu
  • 1,009
  • 1
  • 11
  • 18
21
votes
6 answers

CoreDNS fails to run in Kubernetes cluster

I'm trying to setup a Kubernetes cluster, but I cannot get CoreDNS running. I've ran the following to start the cluster: sudo swapoff -a sudo sysctl net.bridge.bridge-nf-call-iptables=1 sudo kubeadm init mkdir -p $HOME/.kube sudo cp -i…
Jussi Jousimo
  • 488
  • 1
  • 5
  • 11
21
votes
2 answers

XFS or ext4 filesystem mongodb server on Ubuntu machine?

As XFS is the recommended by MongoDb from following link : https://docs.mongodb.com/manual/administration/production-notes/ MongoDB on Linux Kernel and File Systems When running MongoDB in production on Linux, you should use Linux kernel version…
Sampat Singh
  • 263
  • 1
  • 3
  • 9
21
votes
5 answers

How to install haskell 8 on ubuntu 16.04

I installed Haskell on ubuntu following the instructions on the Haskell platform website. But I ended up with version 7.10.3. How do I get Haskell 8 on Ubuntu?
domoremath
  • 555
  • 2
  • 8
  • 17
20
votes
5 answers

Compiling OpenCV 3.3 : C++11 is not supported

I'm trying to compile the new version of OpenCV 3.3 (released on Aug 3, 2017) but I'm getting an error of C++11 This is my cmake command line: cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D WITH_CUDA=ON \ -D…
Ja_cpp
  • 2,426
  • 7
  • 27
  • 49
20
votes
2 answers

How can i convert html to word docx in python?

import pypandoc output = pypandoc.convert_file('file.html', 'docx', outputfile="file1.docx") assert output == "" It is generating new docx file but ignoring styles. Can any one tell me how to generate new docx file with styles? Thanks in advance…
Jayasri Tanneru
  • 301
  • 1
  • 2
  • 7
20
votes
4 answers

Psycopg2 peer authentication for user postgres

I seem to have correctly installed PostgreSQL 9.5.5. and Psycopg2 on Ubuntu 16.04, and can log in via: sudo -u postgres psql If I then issue \conninfo, I get the following: You are connected to database "postgres" as user "postgres" via socket in…
Yuri Lifanov
  • 347
  • 1
  • 2
  • 11
19
votes
2 answers

Ubuntu timedatectl fails in Docker container

I've got Ubuntu 16.04 LTS running in a Docker container (hosted on macOS). The date/time is off by about four days. $ cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS" $…
Marcel Stör
  • 22,695
  • 19
  • 92
  • 198
19
votes
4 answers

How to update already installed IntelliJ IDEA on Ubuntu?

Currently, I have IntelliJ IDEA 2016.3 installed in my Ubuntu 16.04 for Java programming. I have installed it through the IntelliJ website and not the ppa. Upon launching it, I get an update available notification on bottom right corner and upon…
qrius
  • 621
  • 2
  • 9
  • 22
19
votes
5 answers

dpkg: error processing package oracle-java8-installer (--configure):

I am trying to install sbt on Ubuntu 16.04. I have mistakenly stopped the process when running the following command, sudo apt-get install sbt Now when I try to install again, I am getting the below error, Downloading Oracle Java 8... --2017-04-24…
Galet
  • 5,853
  • 21
  • 82
  • 148
19
votes
1 answer

Configure NGINX + CloudFlare + SSL

SO... I have a node application running on a server on port 8080 and I am trying to enabled it to work over SSL using NGINX and CloudFlare. Note the following... My host is running Ubuntu 16.04 LTS I am currently using CloudFlare's Universal SSL…
Lane
  • 685
  • 2
  • 10
  • 25
19
votes
6 answers

Can not start elasticsearch as a service in ubuntu 16.04

I have recently upgraded my machine from Ubuntu 14.04 to 16.04. I am facing problem of using the elasticsearch as a service. I installed elasticsearch using: sudo apt-get install elasticsearch Now sudo service elasticsearch status command shows me…
salmanwahed
  • 9,450
  • 7
  • 32
  • 55
18
votes
5 answers

version `GLIBC_2.28' not found

I'm trying to install PyTorch on ARMv7(32-bit) architecture but PyTorch doesn’t have official ARMv7 builds so i tried this unofficial build. It installed successfully but when I import torch I get the following error >>import torch Traceback (most…
Ammarreda
  • 183
  • 1
  • 1
  • 4
18
votes
9 answers

gyp ERR! stack Error: EACCES: permission denied, mkdir '/var/www/project_name/node_modules/node-sass/build'

I'm deploying an Angular project on Ububtu 16.04 and get these errors when I run sudo npm install. (won't work without sudo). It seems that npm doesn't have permission to install. I recently updated to nodejs to 8.11.4 and still have the same error…
Devstar34
  • 1,027
  • 2
  • 21
  • 47
18
votes
3 answers

How can I ping other containers in a docker network through their hostname?

I have a simple docker-compose set up as follows. version: "3" services: main: image: python:3.5.2 entrypoint: /usr/bin/yes network_mode: bridge another: image: python:3.5.2 entrypoint: /usr/bin/yes network_mode:…
Kent Shikama
  • 3,910
  • 3
  • 22
  • 55