Installing HPLIP for CUPS on a Raspberry Pi

If you have a HP printer or scanner and you want to be able to use it on your Raspberryi Pi running the Raspbian operating system, you`ll have to install HP Linux Imaging and Printing and CUPS.

In the terminal run the following commands:

sudo su
apt-get update
apt-get install hplip cups
usermod -a -G lpadmin pi

In a browser, on the raspberry pi you can now access the CUPS configuration screen at

If you also would like to use your MFP/scanner also run the following commands in the terminal:

apt-get install sane

The configuration and applications are up to you, the requirements are now installed.

How-to Install PHP 7 on a Raspberry Pi

This short guide describes how to install PHP 7 on a Raspberry Pi running Raspbian Linux as operating system.

Edit the apt sources list, /etc/apt/sources.list
sudo nano /etc/apt/sources.list

Add the following lines to the file:

deb jessie-backports main contrib non-free
#deb-src jessie-backports main contrib non-free

Run the following commands in the terminal. You need superuser (root) access.

gpg --keyserver --recv-key CCD91D6111A06851
gpg --armor --export CCD91D6111A06851 | sudo apt-key add -
apt-get update
apt-get install php7.0 php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-xmlrpc

And if you want to install Apache 2 + mod_php:
apt-get install apache2 libapache2-mod-php7.0

How-to Install Webmin on a Raspberry Pi (updated)

This post will tell you how to install Webmin,a web-based interface for system administration for Unix (including  Raspbian).

This post is an update of How-to Install Webmin on a Raspberry Pi

Run the following commands in the terminal. You need superuser (root) access.

apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

dpkg --install webmin_1.801_all.deb
rm webmin_1.801_all.deb

Automatic updates
cd /root
apt-key add jcameron-key.asc

Edit the /etc/apt/sources.list file on your system and add the following line:
deb sarge contrib

Comparison of Raspberry Pi Operating Systems

For the Raspberry Pi (version 1 and 2) there are multiple operating systems available. Downloads of each operating system can be found at


Raspbian is the preffered Raspberry Pi operating system and mostly used by others. It`s based on Debian and features official firmware and tools.

I recommend Raspbian

Snappy Ubuntu Core

Snappy Ubuntu Core is a relatively new operating system. It`s based on Ubuntu Linux but with extra features. This might be the next big thing!


OpenElec is the prefferd operating system when you want to turn your raspberry pi in a HTPC with XMBC software.


Pidora is Fedora Linux for the Raspberry Pi. It`s a bit different from Raspbian and really interesting if you are familiar with Fedora/Red Hat Linux.

Risc OS

RISC OS is unlike the other distributions. More information about RISC OS for the Raspberry Pi. I have no idea why you would run this operating system.