본문 바로가기

Python

Ubuntu 에서 Python 버전 올리기 (2.7.6 -> 2.7.11)

$ sudo apt-get install build-essential checkinstall $ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev $ cd /usr/src $ wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz

$ tar xzf Python-2.7.10.tgz
$ cd Python-2.7.10
$ sudo ./configure
$ sudo make altinstall