Install Latest Webmin in Ubuntu 14.04 From Official Repository

Last updated: December 16, 2013

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 http://download.webmin.com/download/repository 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 http://www.webmin.com/jcameron-key.asc -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

Twitter

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 let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

36 responses to Install Latest Webmin in Ubuntu 14.04 From Official Repository

  1. Very clear and concise article! Worked perfectly! Many thanks :D

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

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

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

    • 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.

      • mitchell monteza August 25, 2014 at 7:33 am

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

        • if some still have the problem. I have had the same recently and found with some tinkering. First ping http://www.google.com 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:
          /etc/network/interfaces
          /etc/resolv.conf
          *look for a dns name server other than 8.8.8.8 or 8.8.8.4(these 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.

  5. Marcelo Gouvea – Manaus – AM May 20, 2014 at 1:50 pm

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

    Tks !

  6. What about Redhat Linux ,I want to install webmin
    How will i ?

    • 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:

      wget http://prdownloads.sourceforge.net/webadmin/webmin-1.690-1.noarch.rpm

      3. Install the package via:

      rpm -Uvh webmin-1.690-1.noarch.rpm
  7. Uow very nice man, work perfectly =D Thanks!

  8. root@ubuntu:~#
    E: Unable to locate package webmin

    • Run command to check out if that repository was properly added into your system:

      cat /etc/apt/sources.list |grep download.webmin.com

      You should see this output:

      deb http://download.webmin.com/download/repository sarge contrib

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

  9. 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).

    • Christian Tismer April 25, 2015 at 7:02 am

      Did you add the port 10000?

      “Https://{virtual-machine-ip}: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.

  10. 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: 'http://download.webmin.com' 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

  11. where i can get xl2tpd modules for webmin

  12. I have followed all the steps. It works. Thank you people.

  13. christopher Nash August 28, 2014 at 3:43 pm

    I get an error Following packages have unmet dependecies:

    Webmin Libauthen-pam-perl but is not installable
    apt-show-versions

    everything else checks out ok.

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

  15. tried every set and then some did not work

  16. 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…….

  17. Thank you for your step by step clear guidance

  18. Hello,

    if you have some issues on package not found (Libauthen-pam-perl and others), verify that you have the word universe in your source list :

    deb http://fr.archive.ubuntu.com/ubuntu trusty main universe

    regards
    Serge

  19. When copying and pasting this line from above in PuTTY:
    wget -q http://www.webmin.com/jcameron-key.asc -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.

  20. Same issue as leyubai. Working with same version and on Virtualbox.

  21. Thanks for this tutorial but may I suggest you replace steps 1 and 2 with
    sudo echo "deb http://download.webmin.com/download/repository 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.

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

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

  24. 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?

  25. 1. Remove the webmin repository from /etc/apt/sources.list
    2. cd ~
    3. wget http://prdownloads.sourceforge.net/webadmin/webmin_1.750_all.deb
    4. dpkg –install webmin_1.750_all.deb

    This will install it since the key most of the time is down.

  26. 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

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

  28. Well, i solved my problem by installing Webmin from tar.gz file(instead of using package manager).
    as is explained here:
    http://www.webmin.com/tgz.html

    I hope this helps other people who are having the same problem as i did.

  29. 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…