Created
November 21, 2013 15:27
-
-
Save jfroche/7583571 to your computer and use it in GitHub Desktop.
Deb Packaging custom python 2.7 using checkinstall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
sudo apt-get install build-essential libsqlite3-dev zlib1g-dev libncurses5-dev libgdbm-dev libbz2-dev libreadline6-dev libssl-dev libdb-dev checkinstall -y | |
wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz | |
tar -xzf Python-2.7.6.tgz | |
cd Python-2.7.6 | |
./configure --prefix=/opt/python27 --enable-shared | |
make | |
sudo checkinstall --install=no --pkgname=python27 --pkgversion=2.7.6 --pkgrelease=3 --nodoc --maintainer=jfroche@affinitic.be --default make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment