This page tells you how to install ZNC from git. The package names are mainly for Debian based distributions, but you should be able to figure out what they are in other distributions and install them.

**If you don't know what znc is, click here.. If you are looking for the official installation instructions, click here.

I am going to presume that you don't install ZNC globally, if you do, remove the --PREFIX=$HOME/.local from your configure command.

Installing requirements

sudo apt-get build-dep znc
sudo apt-get install git swig libperl-dev python3-dev tcl-dev libsasl2-dev libgtest-dev libicu-dev

Actual installation

Do not remove the "znc" directory!

git clone https://github.com/znc/znc.git
cd znc
./autogen.sh
mkdir -p build
cd build
../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --enable-cyrus --prefix=$HOME/.local
make -j$(nproc)
make install

Adding ZNC to $PATH

echo 'PATH=$HOME/.local/bin:$PATH' >> ~/.$(echo $SHELL|cut -d/ -f3)rc
source ~/.$(echo $SHELL|cut -d/ -f3)rc

which znc should now give correct place.

Ending

Upgrading

cd znc
git pull
mkdir -p build
cd build
../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --enable-cyrus --prefix=$HOME/.local
make -j($nproc)
make install

Error with make

and continue

rm -rf build
mkdir -p build
cd build
../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --enable-cyrus --prefix=$HOME/.local
make -j$(nproc)
make install

If it doesn't work, try asking at #znc.