LINUX LIBRARIES REQUIRED BEFORE INSTALLING 64-BIT POPLOG

Last updated: 5 Jul 2020
Added ncurses (development version) to required packages.
Installing may require selinux settings to be temporarily relaxed.

Added openmotif to the packages for Arch (lesstif no longer recommended)
Added 'patch' to the lists of required packages,
in Redhat/Fedora, Debian/Ubuntu/mint and Arch

Instructions for DOWNLOADING and INSTALLING 64-bit Poplog are in AREADME.html.
This document is about the (64-bit) linux packages that need to be installed before Poplog can be installed. The previously available instructions on this web site were for 32 bit packages, required for 32 bit Poplog, are still available here: http://www.cs.bham.ac.uk/research/projects/poplog/latest_poplog/

(64 bit) required packages for Redhat-based, Debian/Ubuntu-based and Arch Poplog are listed below.
   Packages needed on Redhat/Fedora/CentOs etc.
   Packages needed on Debian/Ubuntu/mint
   Packages needed on Arch linux
   Additional linux libraries needed for David Young's neural and vision libraries.

Other linux versions may be included later. Suggestions for other versions, with suitable 'translations' of the package install instructions, are welcome.

Some of the listed pre-loaded libraries are essential, or required for many applications or demonstrations. Others may not be required by all users, though they are useful for tests and demonstrations of Poplog.

E.g. the linux espeak library is included below, but can be omitted, as it is required only for the Eliza-speak demonstration package, which is not essential, but is useful immediately after installation to check that relevant parts of Poplog are working properly. Espeak can also be used for demonstration or teaching purposes. As shown in some online video tutorials:
https://www.youtube.com/playlist?list=PLYjykJNvEO9RjvebiQ10eRcfJF-R4ENmF
(Replicating and extending Eliza with or without Espeak can be a highly motivating introduction to programming and to linguistics, for some students.)

Additional external libraries are required for use of the popvision and neural libraries that are provided in the poplog PACKAGES extension, mentioned in the main installation instructions. The required libraries are specified in the package documentation.

Unfortunately different linux systems use different names for the libraries, and different commands for installing them. The install commands for Fedora and Ubuntu (and their derivatives) are below. They will have to be altered for other versions of linux. If you use another version of linux please send me appropriately modified versions of the commands below that will install the packages into poplog.

Non "super-user" users with the appropriate privileges will need to use "sudo"
before the install commands, below.

Install packages required for Redhat-based versions of linux, e.g. Fedora:

dnf install gcc glibc-devel tcsh ncurses-devel libXext-devel libX11-devel\
     libXt-devel openmotif-devel xterm wget patch espeak
Use lesstif-devel, if openmotif is not available. In older versions of Redhat based linux systems, e.g. Fedora, it may be necessary to use 'yum install' instead of 'dnf install'.

Doing everything with one command: This script install-fedora-redhat-packages
will install the packages required for poplog on Fedora/Redhat, etc. and will then fetch and run this script to complete the installation of poplog.
http://www.cs.bham.ac.uk/research/projects/poplog/V16/getpoplog.sh

If that fails to complete properly try repeating with the -nopie flag:
     getpoplog.sh -nopie

Install packages required for Debian-based versions of linux, e.g. Ubuntu and Mint:
The following has been tested by Ubuntu and Mint users (at least). This should have the same effect for users of Ubuntu and similar systems, as the 'dnf install' command above produces for users of Fedora and related Redhat-based versions of linux:

sudo apt-get install gcc build-essential tcsh libc6 libncurses5 libncurses5-dev \
    libstdc++6 libxext6 libxext-dev libx11-6 libx11-dev libxt-dev libmotif-dev \
    ncurses-dev patch xterm wget espeak

Doing everything with one command: This script install-ubuntu-debian-packages
will install the packages required for poplog on Debian/Ubuntu, etc. and will then fetch and run this script to complete the installation of poplog:
http://www.cs.bham.ac.uk/research/projects/poplog/V16/getpoplog.sh

NOTE: If you are using Debian 9 or 'testing' please use the '-nopie' flag when running the install script:
     getpoplog.sh -nopie
Hakan Kjellerstrand reports that this also works with Ubuntu 18.04.

Install packages required for Arch linux:

sudo pacman -S --needed gcc tcsh libxext libx11 libxt openmotif xterm patch ncurses wget espeak
Is this format correct? Does it need to be modified to ensure that "development" versions of the packages are required? Please send corrections or suggestions for improvement to a.sloman[at]@cs.bham.ac.uk.

NOTE: If you are using Arch linux, installing Poplog will require adding the '-nopie' flag when you run the install script.
This is done automatically by the script downloadable here: install-arch-packages

The Poplog neural and vision packages require extra libraries
The poplog vision package uses the linux Blas and Lapack (linear algebra) libraries. Details are included in the Poplog Packages library normally installed with poplog, as explained in AREADME.html.


Instructions for other versions/variants of linux will be added here, when available.
Email A.Sloman with proposed new entries please.

After the pre-requisite packages have been installed on your system, you can find system-neutral instructions for downloading and installing poplog on linux here:
Main download instructions for 64 bit (Version 16) Linux Poplog: AREADME.html


This file is maintained by Aaron Sloman. http://www.cs.bham.ac.uk/~axs