Skip to content

Instantly share code, notes, and snippets.

@etdev etdev/znc_install.md
Last active Aug 29, 2015

Embed
What would you like to do?
Installing ZNC from source on Linux

In this gist I will explain how to install ZNC from source in Ubuntu/Debian, and CentOS/Fedora/Red Hat Linux.

####Ubuntu/Debian: (I recommend installing as root if possible, or using sudo otherwise).

  1. First, install the required dependencies.
apt-get install build-essential libssl-dev libperl-dev pkg-config
  1. Next, install the OpenSSL Development package, which is required to use SSL with ZNC.
apt-get install libssl-dev
  1. cd to wherever you want to download the source files and download the latest version (ver. 1.4 at the time of writing).
cd ~/downloads   
wget http://znc.in/releases/znc-latest.tar.gz
  1. Extract the file.
tar -xzvf znc*.*gz
  1. CD into the created folder
cd znc*
  1. Compile the files
./configure && make && make install

####CentOS/Fedora/Red Hat

(I recommend installing as root if possible, or using sudo otherwise).

  1. Install GCC if you don't have it.
yum install gcc 
  1. Install the following openSSL packages to enable SSL.
yum install openssl openssl-devel
  1. cd to wherever you want to download the source files and download the latest version (ver. 1.4 at the time of writing).
cd ~/downloads   
wget http://znc.in/releases/znc-latest.tar.gz
  1. Extract the file.
tar -xzvf znc*.*gz
  1. CD into the created folder
cd znc*
  1. Compile the files
./configure && make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.