Getting started with PACO

The Getting Started pages are meant to help the user quickly setup the environment in order to use PACO. This page deals with the prerequisites required to setup, the subsequent pages deal with download, build and use of the core and toolchain.

Prerequisites

PACO relies on libuuid and lua, if they are not already on your machine, please install them.

Assuming you use a freshly installed Debian-based Linux Operating System, the following command will install the missing libraries for PACO:

$ sudo apt-get install autoconf automake autotools-dev curl libmpc-dev \
libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf \
libtool patchutils bc uuid-dev liblua5.2-dev

In addition, you will need the following tools:

  • libuuid is used to generate unique identifiers. It is needed so that Clang and LLVM would work properly. If you do not have it already, You can install it using:
$ sudo apt-get install uuid-dev
  • Lua is a powerful, efficient, lightweight, embeddable scripting language. It is needed to compile your code to run on PACO’s approximate LUT. You can check if lua is already installed on your machine using:
$ lua -v

If you don’t have it already you can download it from here. If problems occur, use the tested versions for libuuid (2.20.1-5.lubuntu20.7) and lua (5.2.3-1).

  • Python is used to communicate with the core via the UART interface. Version 3.X is known to work with our environment. You can check your version by using the command:
$ python --version

Installation on other systems

while developing PACO, Ubuntu 16.04 LTS was used. All components are known to run on this distribution successfully. We suppose, but not guarantee, that other linux distributions would work as well.

Next step

Now that you have all the prerequisites set up, move on to downloading PACO on your machine.