edit /etc/locale.gen and run locale-gen
apt-get install wiringpi python-pip # test GPIO gpio readall
non fare con raspbian recenti
# apt install rpi-update # rpi-update
add to /etc/modules
echo bcm2835-v4l2 >> /etc/modules-load.d/modules.conf
control panel to change camera settings
sudo apt install v4l2ucp