Install Latest Webmin in Ubuntu 14.04 From Official Repository

webmin official repository

This tutorial shows how to install the latest version of Webmin in Ubuntu Linux from its official repository.

As you may know, Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.

To get started, login your remote server and follow the steps below:

1. Run below command to edit the source file:

sudo vi /etc/apt/sources.list

2. Press i on keyboard to start editing the file and add this line into the end:

deb sarge contrib

Press Esc to exit edit. Shift + : and followed by wq to save the changes.

3. Now execute command to download and install the key:

wget -q -O- | sudo apt-key add -

4. After that, you can always use below commands to install the latest version of Webmin:

sudo apt-get update

sudo apt-get install webmin

Finally in your client’s web browser go to the webmin login page https://ubuntu-serverip:10000

By Ji m

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to remind me outdated tutorial! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via Buy me a coffee:


  1. very good tutorial, I’m successful install webadmin on my ubuntu with no problem.

  2. Very good tutorial, worked perfectly for me straight away apart from warning entering https zone afterwards -but just to continue and log on.

  3. I got gpg: no valid OpenPGP data found, how can i solve this problem I’m using ubuntu server 14.04

    1. Marjun are you sure you wrote -O- for options in wget command? I first read it and tried it with a zero instead of the letter O, and I believe that’s when I got the same error.

      1. i have the same error with him, says, I got gpg: no valid OpenPGP data found,
        what can i do now? pls . help. thanks.

        1. if some still have the problem. I have had the same recently and found with some tinkering. First ping and see if there are some problems, if there are such as host not found then: it could be you DNS servers.

          To check edit these network config files:
          *look for a dns name server other than or are google’s). This will usually be the name server that was supplied for the registrar(godaddy or namecheap). Change the config files to googles and that might work, when done, change back if needed.

  4. Now i need to install teamviewer 64bits on ubuntu 14.04 server 64bits. Can you help me ?

    Tks !

    1. I don’t use Redhat, but you can try below steps:

      1. Install wget via:

      yum install wget -y

      2. Download the rpm package of webmin 1.690, released on May 22, via wget:


      3. Install the package via:

      rpm -Uvh webmin-1.690-1.noarch.rpm
    1. Run command to check out if that repository was properly added into your system:

      cat /etc/apt/sources.list |grep

      You should see this output:

      deb sarge contrib

      If not, re-do step 1 & 2. You may search a little on how to edit a file in Linux command line.

  5. I am using virtualbox with ubuntu server 12.04.1
    The installation went smooth. But i can’t access webmin from anywhere. Firefox Chrome etc. shows server not found neither from different virtual machine nor from host(w8.1).

    1. Did you add the port 10000?


      Does not work? Try network configuration of your virtual machine with virtual box.

      If it is NAT, you can only acces from the host where virtual box is running.

      Try bridging, if your network is setup well it is a good choice.

  6. The add key step failed on ubuntu server server 14.04 LTS because debian-keyring was not installed.
    If you do sudo aptitude update you get below error

    W: GPG error: '' sarge Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D97A3AE911F63C51

    So you first need to do sudo aptitude install debian-keyring

  7. I get an error Following packages have unmet dependecies:

    Webmin Libauthen-pam-perl but is not installable

    everything else checks out ok.

  8. Everything went smoothly until i ran the install webmin and gave an error that it couldn’t locate package webmin. Please help…

  9. the process of unpacking webmin takes too long and it does not finnish, i use ubuntu 14.04, is that normal? and if not what is the problem? i am really stuck here i dont know what to do…….

  10. When copying and pasting this line from above in PuTTY:
    wget -q -O- | sudo apt-key add –
    the O (capital O) gets pasted in as a 0 (zero) somehow, giving the error: gpg: no valid OpenPGP data found.

    Editing the pasted command line in PuTTY to reflect an O vice a 0 allows the command to complete successfully.

  11. Thanks for this tutorial but may I suggest you replace steps 1 and 2 with
    sudo echo "deb sarge contrib" >> /etc/apt/sources.list
    or else something like “add this line to the end of /etc/apt/sources.list using your favourite text editor”.

    Mixing in a vi tutorial adds another level of complexity to this article which is daunting to those who don’t know it and unneccesary to those that do.

    ps. Just tried it on a new 14.04 install and everything worked perfectly.

  12. Could you please let you know the configurioin part of mail server in the webmin

  13. Hi J im,
    I installed owncloud before installimg webmin and now I cannot get into Webmin. What do you suggest?

  14. After sudo apt-get install webmin it says:
    Reading package list…Done
    Building dependendy tree
    Reading state informtion… Done
    E:Unable to locate package webmin

    Did I miss something?

  15. Many thanks spent an hour trying to do this before reading your blog. then I read your blog and had it working in moments. Thank you very much

  16. I am having the same problem as leyubai and harri00413
    I am also using Ubuntu LTS 14.04 on virtual box…

  17. This will work for Ubuntu Server 16.04 on XenServer (at least it did for me!).
    So, all of my google-fu led to this website or blog and to Ji M who’s profile
    states that his native language isn’t English–but did a good job explaining
    this anyway! I am an unabashed noob at this Linux thing so this helped tons!
    You can show love for Ji on Google+ as well…

Comments are closed.

Exit mobile version