GNU Autotools: autoconf, automake, libtool

To compile the PSRCHIVE source code from the CVS repository, you will need the GNU Build System (also called the GNU Autotools) including

Recommended Instructions

Install third party software using the package manager for your version of Linux/BSD/Unix; e.g. on Ubuntu
sudo apt update
# install the GNU build system
sudo apt install -y autotools-dev autoconf libtool make 
# install the GNU compiler collection
sudo apt install g++ gfortran
# install some other third party packages used by psrchive
sudo apt install libfftw3-dev pgplot5 libcfitsio-dev

Outdated Instructions

If you choose to follow these instructions, then you'll need to update the version numbers on each package.

Download

The GNU autotools can be downloaded using the download script. Before running this script, you may want to edit it to use a GNU mirror. If you don't have curl installed on your system, you could also simply click the following links:

Install

After running the download script, the GNU autotools can be installed using the make script.

Group Installation

If the PSRHOME environment variable is defined, the make script will install the GNU autotools in $PSRHOME/packages/$LOGIN_ARCH.