Patterns in static

Apophenia

Outline | Index |
 
Loading...
Searching...
No Matches
Setting up

The supporting cast

To use Apophenia, you will need to have a working C compiler, the GSL (v1.7 or higher) and SQLite installed. mySQL/mariaDB is optional.

  • Some readers may be unfamiliar with modern package managers and common methods for setting up a C development environment; see Appendix O of Modeling with Data for an introduction.
  • Other pages in this documentation have a few more notes for Windows users, including MinGW users.
  • Install the basics using your package manager. E.g., try
sudo apt-get install make gcc libgsl0-dev libsqlite3-dev

or

sudo yum install make gcc gsl-devel libsqlite3x-devel
  • If you use a Debian-based system (including Ubuntu), try the version in Debian's Stretch distribution:
#Add Stretch to your sources list
sudo sed -i '$a
deb http://httpredir.debian.org/debian stretch main
deb-src http://httpredir.debian.org/debian stretch main' /etc/apt/sources.list
sudo apt-get update
#Get Apophenia
sudo apt-get install apophenia-bin
#Optional: remove Stretch from your sources list.
sudo sed -i -e '$d' -e '$d' /etc/apt/sources.list

Thanks to Jerome Benoit for getting the library packaged and adjusted to Debian standards.

  • If the Debian package is not for you, Download Apophenia here. Once you have the library downloaded, compile it using
tar xvzf apop*tgz && cd apophenia-0.999
./configure && make && make check && sudo make install

If you decide not to keep the library on your system, run sudo make uninstall from the source directory to remove it.

  • If you need to install packages in your home directory because you don't have root permissions, see the Not root? page.
  • A Makefile will help immensely when you want to compile your program.

Not root?

Makefile

Windows

  • Those who would like to work on a cutting-edge copy of the source code can get the latest version by cutting and pasting the following onto the command line. If you follow this route, be sure to read the development README in the apophenia directory this command will create.
git clone https://github.com/b-k/apophenia.git
Autogenerated by doxygen (Debian ).