Skip to content

julianobarbosa/OpenSUSE-Python3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

OpenSUSE-Python3

How to install Python3 in OpenSUSE from source

zypper install --type pattern devel_C_C++ devel_python
zypper in libopenssl-devel libffi48-devel bluez-devel sqlite2-devel tk-devel valgrind-devel libexpat-devel sqlite3-devel readline-devel readline-devel-32bit libbz2-devel libexpat-devel libbz2-devel readline-devel sqlite3-devel

Get Python3 Source

cd /usr/src
wget -c https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz

Uncompress

xz -d Python-3.5.2.tar.xz
tar xvf Python-3.5.2.tar
rm -rf Python-3.5.2.tar

Configure Python3

CXX="/usr/bin/g++"              \
./configure --prefix=/usr       \
            --enable-shared     \
            --with-system-expat \
            --with-system-ffi

Make

make

Make test

make test

Install

Make

make install

Link Library

chmod -v 755 /usr/lib/libpython3.5m.so &&
chmod -v 755 /usr/lib/libpython3.so

About

How to install Python3 in OpenSUSE from source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published