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.

4937 questions
304
votes
2 answers

How to install Maven 3 on Ubuntu 18.04/17.04/16.10/16.04 LTS/15.10/15.04/14.10/14.04 LTS/13.10/13.04 by using apt-get?

Try: sudo apt-get install maven If it works for you ignore the rest of this post. Intro I started setting up my Ubuntu 12.10 on April 2013 and the normal sudo apt-get install maven was not working for maven 3 back then. The manual installation in…
AmirHd
  • 10,027
  • 11
  • 37
  • 59
213
votes
21 answers

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 --install /usr/bin/python python…
RejeeshChandran
  • 3,300
  • 3
  • 21
  • 30
191
votes
3 answers

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 included in the output of pip freeze. The main…
elethan
  • 14,030
  • 8
  • 49
  • 76
172
votes
16 answers

Yarn: How to upgrade yarn version using terminal?

How should yarn be upgraded to the latest version?
Janaka Pushpakumara
  • 3,725
  • 2
  • 22
  • 29
148
votes
2 answers

What is docker.io in relation to docker-ce and docker-ee?

Previously, to install docker I would use apt-get install docker.io However, I have recently noticed the documentation for installing docker, and it uses docker-ce. I have tried to find the difference between the two, but have come up empty. What…
Will Parzybok
  • 1,904
  • 4
  • 9
  • 17
96
votes
20 answers

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 /php, repository does not exist or may…
Jass
  • 1,875
  • 2
  • 16
  • 35
89
votes
7 answers

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 Reading state information... Done Package php5 is not…
Srijan Karki
  • 1,548
  • 2
  • 13
  • 21
88
votes
29 answers

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 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 Steps 2: echo "deb [ arch=amd64,arm64 ]…
Rahul
  • 1,174
  • 2
  • 10
  • 20
84
votes
17 answers

Default password of mysql in ubuntu server 16.04

I have installed ubuntu 16.04 server. Mysql server was installed by default in it. When I am trying to access the mysql with mysql -u root -p, I am unable to log in to mysql because I dont have the password. Is there any default password? I have…
Debashisenator
  • 1,333
  • 3
  • 14
  • 15
77
votes
6 answers

Install Yarn Ubuntu 16.04 (Linux Mint 18.1)

I have a new installation of Linux Mint 18.1 with Ubuntu 16.04. I have installed Node 6.10.0. When doing the command that indicates the documentation of Yarn: sudo apt-get update && sudo apt-get install yarn It says "could not find yarn package" I…
Jose
  • 1,569
  • 1
  • 17
  • 38
77
votes
8 answers

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 install php5.5 # for PHP 5.5 Trying to install…
Govind Samrow
  • 8,677
  • 13
  • 46
  • 76
65
votes
20 answers

PHP 7 with phpmyadmin gives lots of Deprecation Notices

I have Ubuntu 16.04 LTS running with PHP7 and phpmyadmin installed. However, I get a lot of deprecation notices like: Deprecation Notice in ./../php/php-gettext/streams.php#48 Methods with the same name as their class will not be constructors in a…
yoano
  • 1,326
  • 2
  • 13
  • 20
58
votes
1 answer

How to run a .NET Core console application on Linux

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 install .NET on it and then write dotnet myApp.dll in…
Parusnik
  • 751
  • 1
  • 7
  • 9
56
votes
4 answers

Can't reset root password with --skip-grant-tables on ubuntu 16

I am trying to reset the root password following MysqlPasswordReset but when I try to start the server with --skip-grant-tables the server doesn't start Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-59-generic x86_64) mysql Ver 14.14 Distrib 5.7.17, for…
pedronalbert
  • 2,456
  • 3
  • 13
  • 18
52
votes
3 answers

Getting an "invalid syntax" when trying to perform string interpolation

I have recently been learning python 3 and I cannot get any examples involving string interpolation (formatting) to work. In [1]: state = "Washington" In [2]: state Out[2]: 'Washington' In [3]: my_message = f"I live in {state}" File…
Sven E
  • 589
  • 1
  • 4
  • 6
1
2 3
99 100