P* currently runs on Linux-based operating systems and Windows 7, but might also work on similar platforms.
If you run Windows, you can download the ZIP-archive for Windows. The archive contains a directory called Release. Please refer to the file README.txt in that directory for usage instructions.
Note that the Windows 7-build is highly experimental, and you should report any issues using the issue tracker system.
P* provides APT-mirrors for the Debian- and Ubuntu Linux distributions. Packages are available for the amd64 architecture.
If you use the APT-mirror, you will always have easy access to the newest version of P*
Run the following commands as root to install P* using APT:
# wget -q -O - apt.p-star.org/pub.key | apt-key add -
Run this if you are running Debian Wheezy
# echo -e "\n\ndeb [ arch=amd64 ] http://apt.p-star.org/ unstable main\n\n" \ >> /etc/apt/sources.list
Run this if you are running Ubuntu 13.10 (Saucy Salamander)
# echo -e "\n\ndeb [ arch=amd64 ] http://ubuntu.p-star.org/ saucy main\n\n" \ >> /etc/apt/sources.list
Run this if you are running Ubuntu 14.04 LTS (Trusty Tahr)
# echo -e "\n\ndeb [ arch=amd64 ] http://ubuntu.p-star.org/ trusty main\n\n" \ >> /etc/apt/sources.list
This will download and install the required packages:
# apt-get update # apt-get install pstar
First, download the latest tar.gz-archive.
The source of P* will be put into a directory called "P-star". To complile the program, you will need to have autotools and a C++11 compliant compiler installed. You also need the development packages for MySQL client, Boost regex and Mimetic.
$ tar -Jxvf p-star_1.2~alpha10.tar.xz $ cd P-star $ autoreconf -i $ ./configure $ make
To install P* after compiling, you must run this as the root user:
# make install
The full source of P* is available on Github and can be obtained using git like this:
$ git clone https://github.com/P-star/P-star.git
The requirements are the same as for the tarball section above.
$ cd P-star $ autoreconf -i $ ./configure $ make
To install P* after compiling, you must run this as the root user:
# make install
Note that the github version of the source is even newer than the tarball, and that the online documentation only is updated for each new tarball version.