https://powdertoy.co.uk/Wiki/index.php?action=history&feed=atom&title=Running_TPT%2B%2B_on_debian%2FubuntuRunning TPT++ on debian/ubuntu - Revision history2024-12-22T09:10:18ZRevision history for this page on the wikiMediaWiki 1.30.0https://powdertoy.co.uk/Wiki/index.php?title=Running_TPT%2B%2B_on_debian/ubuntu&diff=5801&oldid=prevjacob1: Guide for running TPT on Linux, which tells you how to install packages2015-09-27T05:07:01Z<p>Guide for running TPT on Linux, which tells you how to install packages</p>
<p><b>New page</b></p><div>On Linux, TPT is compiled using some shared libraries. This means you need to have the libraries it expects on your computer already. It saves space in the download because it doesn't have to include standard libraries you can just install with your package manager, and also allows you to update these libraries separate from TPT.<br />
<br />
On debian / ubuntu and using apt-get, run these commands:<br />
sudo apt-get install libsdl1.2debian libfftw3-3 liblua5.1-0 libbz2-1.0<br />
<br />
If on a 64-bit system, you also need to run this:<br />
sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 /usr/local/lib/liblua-5.1.so<br />
<br />
<br />
== Running 32-bit TPT on 64-bit Linux ==<br />
While there is now an official 64 bit version of TPT, it has some issues, mostly with loading the lua library. It is possible to add 32 bit support to Debian / Ubuntu easily, and then you can install 32 bit packages.<br />
<br />
Run these commands to add 32 bit support:<br />
sudo dpkg --add-architecture i386<br />
sudo apt-get update<br />
<br />
Next:<br />
sudo apt-get install libsdl1.2debian:i386 libfftw3-3:i386 liblua5.1-0:i386 libbz2-1.0:i386<br />
<br />
Now hopefully you should be able to run the 32 bit version of TPT.</div>jacob1