By tesleft
http://releases.ubuntu.com/16.04/ubuntu-16.04.1-server-amd64.iso in
Server install image
The server install image allows you to install Ubuntu permanently on a computer for use as a server. It will not install a graphical user interface.
There are two images available, each for a different type of computer:
64-bit PC (AMD64) server install image Choose this to take full advantage of computers based on the AMD64 or EM64T architecture (e.g., Athlon64, Opteron, EM64T Xeon, Core 2). If you have a non-64-bit processor made by AMD, or if you need full support for 32-bit code, use the i386 images instead. Choose this if you are at all unsure.
in
http://releases.ubuntu.com/16.04/
root@Mitaka-lab:~# apt-get install python3.4 python3.4-dev Reading package lists… Done Building dependency tree Reading state information… Done Note, selecting ‘libpython3.4-minimal’ for regex ‘python3.4’ E: Unable to locate package python3.4-dev E: Couldn’t find any package by glob ‘python3.4-dev’ E: Couldn’t find any package by regex ‘python3.4-dev’ root@Mitaka-lab:~# python --version Python 2.7.12 root@Mitaka-lab:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial root@Mitaka-lab:~# which python /usr/bin/python root@Mitaka-lab:~#
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
i run python3 --version it show python 3.5.2
which python3 is /usr/bin/python3
As of Ubuntu 16.04 LTS, Python 3 is default Python! Python 2 is only installed only when needed by packages - but because there is a lot packages who depends on it, so some package surely installed it too.
Keep in mind that Python 3 must be called by python3. python is reserved for Python 2, so it doesn’t break packages who depends on it.
Verify do you have python 3 by executing
python3 --version
Also you can get location of it by executing
which python3
Edit: reformatting answer…
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.