Installing Using dpkg
Each step below includes command line instructions that will need to be run on your RPi. Connect to your RPi using PuTTY or another SSH terminal program. You can then cut and paste the line into the console.
Step 1: Download the Webmin Deb Package
Step 2: Install Webmin
sudo dpkg --install webmin_1.770_all.deb
Step 3: Install dependencies (Note that this is all one line.) You can also do them one at a time.
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl
libpam-runtime libio-pty-perl apt-show-versions python
It is likely that linux will complain with the following message:
You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: apt-show-versions : Depends: libapt-pkg-perl (>= 0.1.21) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
In which case you will run the following command:
sudoapt-get -f install
Once the update is complete Webmin will finish its installation and configuration automatically. When you see the following message, Webmin is ready to go.
Webmin install complete. You can now login to https://raspberrypi:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
Note that “raspberrypi” is the default hostname for the RPi which is being used in these examples. If you have changed your hostname in any prior steps, then that hostname will be seen and used instead.
If you are unable to resolve https://raspberrypi:10000/ in your web browser, use the IP Address instead. To obtain your IP Address use the following command:
In the output look for something “inet addr:10.0.0.16”. the 10.0.0.16 is the IP Address of the RPi used in this example. Your IP Address will likely vary. It is recommended that you setup a Static IP address for your RPi (see the Setting a Static IP instructions for assistance).
Installing Using apt-get
If you have already installed using the dpkg method you do not have to complete these steps. However, I recommend following the first two steps: Editing the apt source file and installing the PGP key. The reason for this is that Webmin will then update automatically when you do and apt-get update and upgrade.
If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the line :
deb http://download.webmin.com/download/repository sarge contrib
apt-key add jcameron-key.asc
You will now be able to install with the commands :
apt-get install webmin
All dependencies should be resolved automatically.