install prim.blender [debian 64bit]

install old python 2.6x:
wget http://ftp.de.debian.org/debian/pool/main/p/python2.6/python2.6-minimal_2.6.8-1.1_amd64.deb
sudo dpkg -i python2.6-minimal_2.6.8-1.1_amd64.deb

wget http://ftp.de.debian.org/debian/pool/main/d/db/libdb5.1_5.1.29-5_amd64.deb
sudo dpkg -i libdb5.1_5.1.29-5_amd64.deb

wget http://ftp.de.debian.org/debian/pool/main/p/python2.6/python2.6_2.6.8-1.1_amd64.deb
sudo dpkg -i python2.6_2.6.8-1.1_amd64.deb

still missing dependencies?:
sudo apt-get install -f

remove all downloaded debs:
rm python2.6-minimal_2.6.8-1.1_amd64.deb libdb5.1_5.1.29-5_amd64.deb python2.6_2.6.8-1.1_amd64.deb

install old version of blender (2.49b):
cd ~
wget https://download.blender.org/release/Blender2.49b/blender-2.49b-linux-glibc236-py26-x86_64.tar.bz2
tar -xjvf "blender-2.49b-linux-glibc236-py26-x86_64.tar.bz2"
rm blender-2.49b-linux-glibc236-py26-x86_64.tar.bz2

setup prim.blender 0.6.5:
cd ~
wget http://netcologne.dl.sourceforge.net/project/primdotblender/Prim.Blender/v.0.6.5/Prim.Blender_0.6.5.zip
unzip Prim.Blender_0.6.5.zip
rm Prim.Blender_0.6.5.zip
#this patch might break some things but it helped me with a problem
cd ~/prim.blender/Lib
wget https://raw.githubusercontent.com/freddii/prim.blender.patch/master/main_patch.diff
patch -p1 ~/prim.blender/Lib/Main.py < ~/prim.blender/Lib/main_patch.diff

usage:
run blender 2.49:
~/blender-2.49b-linux-glibc236-py26-x86_64/blender

open the .blend file in ~/prim.blender
open the textfile with the updated code:
click on “open new” then choose ~/prim.blender/Lib/Main.py
then run it with Alt + P then Enter (ignore the message)

remove everything:
sudo apt-get purge python2.6 python2.6-minimal libdb5.1

sudo rm -r ~/blender-2.49b-linux-glibc236-py26-x86_64
sudo rm -r ~/prim.blender

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s