kompozer is a native snap package in all currently supported versions of Ubuntu. This snap package preserves the last available version of KompoZer from 2010, and allows KompoZer to be used on modern operating systems. KompoZer can be installed from the Software app or from the terminal with the following command:
sudo snap install kompozer
The kompozer snap packager was not in the Snap Store when Ubuntu 16.04 was a supported release, so this was how to install KompoZer in Ubuntu 16.04 instead. Install the same packages you tried to install before except for libidl0. Open the terminal and type:
Ubuntu 16.04
sudo apt install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libnspr4 libnss3 libpango1.0-0 libstdc++-5-dev libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g
32-Bit:
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8%7Eb3.dfsg.1-0.1ubuntu2_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8%7Eb3.dfsg.1-0.1ubuntu2_i386.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libidl0_0.8.14-1_i386.deb
sudo apt install ./libidl0_0.8.14-1_i386.deb
sudo apt install ./kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb
sudo apt install ./kompozer_0.8~b3.dfsg.1-0.1ubuntu2_i386.deb
64-Bit:
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8%7Eb3.dfsg.1-0.1ubuntu2_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8%7Eb3.dfsg.1-0.1ubuntu2_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libidl0_0.8.14-1_amd64.deb
sudo apt install ./libidl0_0.8.14-1_amd64.deb
sudo apt install ./kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb
sudo apt install ./kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb
Ubuntu 18.04-19.04
sudo apt install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libnspr4 libnss3 libpango1.0-0 libstdc++-6-dev libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g
32-Bit:
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8%7Eb3.dfsg.1-0.1ubuntu2_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8%7Eb3.dfsg.1-0.1ubuntu2_i386.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libidl0_0.8.14-1_i386.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libpng12-0_1.2.54-1ubuntu1_i386.deb
sudo apt install ./libidl0_0.8.14-1_i386.deb
sudo apt install ./libpng12-0_1.2.54-1ubuntu1_i386.deb
sudo apt install ./kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb
sudo apt install ./kompozer_0.8~b3.dfsg.1-0.1ubuntu2_i386.deb
64-Bit:
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8%7Eb3.dfsg.1-0.1ubuntu2_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8%7Eb3.dfsg.1-0.1ubuntu2_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libidl0_0.8.14-1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libpng12-0_1.2.54-1ubuntu1_amd64.deb
sudo apt install ./libidl0_0.8.14-1_amd64.deb
sudo apt install ./libpng12-0_1.2.54-1ubuntu1_amd64.deb
sudo apt install ./kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb
sudo apt install ./kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb
Ubuntu 19.10-20.04
sudo apt install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libnspr4 libnss3 libpango1.0-0 libstdc++-7-dev libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8%7Eb3.dfsg.1-0.1ubuntu2_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8%7Eb3.dfsg.1-0.1ubuntu2_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libidl0_0.8.14-1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libpng12-0_1.2.54-1ubuntu1_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/main/g/glibc/multiarch-support_2.27-3ubuntu1.2_amd64.deb
sudo apt install ./libidl0_0.8.14-1_amd64.deb ./libpng12-0_1.2.54-1ubuntu1_amd64.deb ./kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb ./kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb ./multiarch-support_2.27-3ubuntu1.2_amd64.deb