Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Owner: User #71475
Build Python 3.4 on Debian/Ubuntu
I prefer to install python to /opt/python34 instead of /usr/local. Just make sure to update your path to include /opt/python34/bin or edit the prefix argument in the configure statement below. This would also work on Ubuntu.
sudo apt-get install -y build-essential libreadline-dev libsqlite3-dev libncurses libncurses5-dev libbz2-dev libgdbm-dev liblzma-dev tk-dev
tar zxvf Python-3.4.3.tgz
cd Python-3.4.3
./configure --enable-shared --enable-profiling --enable-loadable-sqlite-extensions --enable-ipv6 \
--with-system-ffi --with-system-expat --with-signal-module --with-threads --with-valgrind \
--with-fpectl --with-ensurepip --prefix=/opt/python34
make && make install
As Root:
echo "/opt/python34/lib >> /etc/ld.so.conf.d/python34.conf"
ldconfig
Related articles
('contentbylabel' missing)
('details' missing)