Help:Install:Dependencies

From OpenLiteSpeed
Jump to: navigation, search

OpenLiteSpeed requires the following packages: pcre, expat, openssl, geoip, zlib.

Below you will find instructions for installing the packages depending on your system.

CentOS 5, 6 and 7

You may need to enable EPEL repository to get access to some of these packages.

yum install epel-release
yum install gcc gcc-c++ make autoconf glibc rcs
yum install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel

Ubuntu/Debian

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install rcs libpcre3-dev libexpat1-dev libssl-dev libgeoip-dev zlib1g-dev libxml2 libxml2-dev libpng-dev openssl

FreeBSD

Use pkg_add or ports. Here are some examples using ports.

cd /usr/ports/devel/pcre; make install clean; rehash;
cd /usr/ports/devel/rcs; make install clean; rehash;
cd /usr/ports/net/GeoIP; make install clean; rehash;
cd /usr/ports/textproc/expat2; make install clean; rehash;
cd /usr/ports/security/openssl; make install clean; rehash;

Mac OS X

  1. Install Xcode from https://developer.apple.com/xcode/ (This requires registering with your AppleID.)
  2. Download Command Line Tools for Xcode from the Apple Developer page above.
  3. Install MacPorts from http://www.macports.org/install.php#pkg
sudo port install pcre expat openssl rcs libgeoip zlib