This is an old revision of the document!
Debian 11 Install GKSU
First Add Debian 9 sources. DELETE file after install… .
cat <<EOF | tee /etc/apt/sources.list.d/debian9.list deb http://archive.debian.org/debian/ stretch main deb-src http://archive.debian.org/debian/ stretch main deb http://archive.debian.org/debian-security stretch/updates main deb-src http://archive.debian.org/debian-security stretch/updates main deb http://archive.debian.org/debian/ stretch main contrib non-free deb-src http://archive.debian.org/debian/ stretch main contrib non-free EOF
Update package cache
apt update
Install necessary build tools
apt-get install build-essential debhelper dpkg-dev
Install build-dependencies for gksu and compile its source package
apt-get build-dep gksu
apt-get source --compile gksu
Install self-compiled gksu packages:
apt-get install ./*gksu*.deb
Remove Debian 9 repository from system for safety
rm /etc/apt/sources.list.d/debian9.list
Credits: artful