Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I install webmin on Ubuntu 12.04?

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

share|improve this question

migrated from Jun 1 '12 at 17:15

This question came from our site for pro webmasters.

As tomas-w mentioned, webmin is no longer supported officially by Ubuntu. See… for alternatives, including zentyal (formerly ebox). – Jon Onstott Mar 21 '14 at 17:54
up vote 7 down vote accepted


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 sarge contrib deb" | sudo tee -a /etc/apt/sources.list
echo " sarge contrib" | sudo tee -a /etc/apt/sources.list
cd /tmp; wget; 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.

share|improve this answer
Thanks you so much. – Liang Lee Jun 2 '12 at 2:11
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. – John S Gruber Aug 12 '12 at 3:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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