apt-get install -y build-essential cmake gcc linux-headers-`uname -r` git libpcre3-dev libssl-dev liblua5.1-0-dev
sudo git clone https://github.com/accel-ppp/accel-ppp.git /opt/accel-ppp-code
sudo mkdir /opt/accel-ppp-code/build cd /opt/accel-ppp-code/build/
cmake -DBUILD_IPOE_DRIVER=TRUE -DBUILD_VLAN_MON_DRIVER=TRUE -DCMAKE_INSTALL_PREFIX=/usr -DKDIR=/usr/src/linux-headers-`uname -r` -DLUA=TRUE -DCPACK_TYPE=Debian12 ..
Remember the .. at the end of the statement. It sets the path to the accel-ppp source code. Do not delete this! Alternatively you can replace it with the full path to the accel-ppp souce code like /opt/accel-ppp-code/
sudo make
sudo cpack -G DEB
sudo dpkg -i accel-ppp.deb
sudo mv /etc/accel-ppp.conf.dist /etc/accel-ppp.conf
sudo systemctl start accel-ppp sudo systemctl status accel-ppp