How do I install webmin on Ubuntu 12.04?

Note: I am using the desktop edition, not Ubuntu Server.



Open up Terminal and run the following commands, entering your password when prompted.
Press Enter after each command.
Accept any prompts you may receive.

echo "deb http://download.webmin.com/download/repository sarge contrib deb" | sudo tee -a /etc/apt/sources.list
echo "http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib" | sudo tee -a /etc/apt/sources.list
cd /tmp; wget http://www.webmin.com/jcameron-key.asc; sudo apt-key add jcameron-key.asc; cd
sudo apt-get update
sudo apt-get install webmin

That's it! Webmin should now be up and running.


By IP Address

To find your IP address, run the following command in Terminal:

ifconfig | grep eth -A 5 | grep 'inet addr:' | cut -d: -f2 | awk '{ print "IP Address: "$1}'

Browse to that IP address using your favorite web browser, appending :10000 to the end of the address. For example:

Note: 10000 is the default port where Webmin resides, and you must specify it to access Webmin's control panel. If you don't, you'll be accessing the built-in web server's home page, not Webmin.

By Hostname

You may also browse to Webmin using your Ubuntu machine's hostname.
To find your hostname, run the following command in Terminal:


Note: Again, don't forget to append :10000 to the hostname in the web browser.

  • The second URL is missing the "deb" in front of it
    – benvd
    Jul 1 '12 at 11:57
  • webmin is not officially supported anymore by Ubuntu. As far as I can tell, the apt-get install will fail as a result because webmin was removed from the repositories. It was replaced with 'ebox'.
    – Thomas Ward
    Aug 9 '12 at 17:14
  • The package click through doesn't work because the package is from a ppa. I'll roll it back. Aug 12 '12 at 3:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.