Difference between revisions of "Installation"

From Mineserver Wiki
Jump to navigation Jump to search
To build software on Debian, the <code>build-essential</code> package is required. This package will provide you with the basic gcc/g++ toolchain. The prerequisites for Mineserver can be found in the packages zlib1g-dev, libevent-dev and libnoise-dev.
To build software on Debian, the <code>build-essential</code> package is required. This package will provide you with the basic gcc/g++ toolchain. The prerequisites for Mineserver can be found in the packages zlib1g-dev, libevent-dev and libnoise-dev.
 +
====CentOS/RHEL====
 +
 +
CentOS/RHEL do not provide support for libnoise natively. As such we will need to manually compile and install the library.
 +
 +
  wget http://prdownloads.sourceforge.net/libnoise/libnoisesrc-1.0.0.zip?download -O libnoisesrc-1.0.0.zip
 +
  unzip libnoisesrc-1.0.0.zip; cd noise
 +
  less README # Read this 
 +
  make
 +
  cp -R include /usr/local/include/libnoise
 +
  cp lib/* /usr/local/lib
 +
  sudo echo "/usr/local/lib" > /etc/ld.so.conf/user.conf
 +
  sudo /sbin/ldconfig
 +
  
 +
All other dependancies can be installed with the following commands:
 +
 +
  # Install EPEL (Extra Packages for Enterprise Linux) 
 +
  sudo su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm' 
 +
  sudo yum install git libevent libevent-devel zlib zlib-devel libnoise-dev
 +
===Building Mineserver===
===Building Mineserver===