Table of Contents¶
PLaSK Installation¶
Binary Package¶
Installing binary PLaSK on Windows
Installing binary PLaSK on Linux
Installing binary PLaSK on Ubuntu and Debian using APT
Development Environment¶
Installing Windows developer environment
Installing Linux developer environment
Solutions to Technical Problems¶
I have matplotlib installed but figure()
does not work (in some versions of Debian or Ubuntu)¶
This is caused by a bug in Debian.
Workaround: Edit Matplotlib configuration file /etc/matplotlibrc
and change the line:
backend : TkAgg
to:
backend : GTK
How can I install multiple versions of PLaSK in GNU/Linux?¶
First simply install any package with PLaSK to ensure that you have all libraries which are needed to run plask.
Next, you can extract (not install) package with another version of PLaSK to some custom directory and just run it from this directory.
In a distribution which uses .deb packages (debian, ubuntu, mint, etc.):
$ dpkg-deb -x plask_package.deb /path/to/target/dir/
$ cd /path/to/target/dir/bin/
$ ./plask
Alternatively, you can (see also Linux_Install):
- get desired version of PLaSK from GIT,
- compile it giving installation directory (
cmake -DCMAKE_INSTALL_PREFIX=/path/to/target/dir/
), - install (
make install
orninja install
) and run it from given directory or run it from building directory (without installing - in such case, you don't need to specifyCMAKE_INSTALL_PREFIX
in step 2)
Solutions to Technical Problems with PyCharm IDE¶
PyCharm says that plask is not a python interpreter¶
PyCharm likes only python interpreters with executable name starting with python
.
Workaround:
$ `ln -s plask python-plask`
Go to top