Home » » Instal python 2.7.10 di Ubuntu 16.04

Instal python 2.7.10 di Ubuntu 16.04

Written By SBlog on Saturday, October 28, 2017 | October 28, 2017

sumber: https://letmespeakweb.wordpress.com/2016/08/15/how-to-install-python-2-7-10-on-ubuntu-16-04/

Instal python 2.7.10 di Ubuntu 16.04, berikut langkah-langkahnya:
1. Download file di terminal

$ cd ~/Downloads
$ wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz

2. Lalu Ekstrak

$ tar -zxvf  Python-2.7.10.tgz

3. Kemudian Install

$ sudo apt-get install build-essential checkinstall
$ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libgdbm-dev libc6-dev libbz2-dev  libsqlite3-dev tk-dev libssl-dev

4. Pindah ke folder Python-2.7.1, tunggu sampai proses installasi berakhir.

$ cd ~/Downloads/Python-2.7.10/
$ sudo ./configure
$ sudo make altinstall

5. cek hasil instalasi

$ whereis python2.7
$ python2.7 --version

Selesai.... ^ ^)

0 comments:

Post a Comment

(^_^) [o_o] (^.^) (".") ($.$)