To Install Webmin on your Ubuntu machine, you are going to need some libraries pre-installed. These libraries are:
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python python-minimal libapt-pkg-perl perl-base perl-modules
You can also read the rest of the process of installing Webmin on Ubuntu.