How to get P*?

P* currently runs on Linux-based operating systems and Windows 7, but might also work on similar platforms.

Download ZIP-archive for Windows 7

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.

Use precompiled Debian/Ubuntu-package

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

This will download and install the required packages:

# apt-get update
# apt-get install pstar

Get the latest P* tarball

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 -zxvf p-star_1.2~alpha1.tar.gz
$ cd P-star
$ autoreconf -i 
$ ./configure
$ make

To install P* after compiling, you must run this as the root user:

# make install

Download the source from Github

The full source of P* is available on Github and can be obtained using git like this:

$ git clone https://github.com/atlesn/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.