Raspbian

Raspbian is a Linux Debian variant for Raspberry Pi.

All release notes for Raspbian are here:

 

http://downloads.raspberrypi.org/raspbian/release_notes.txt

 

Raspbian Stretch Lite is a minimal Raspbian variant based on Debian Stretch. This contains the packages you need to run the operating system in the lightest possible way. This is Raspbian without a graphical user interface, desktop.

Download minimal image from www.raspberrypi.org
 
https://www.raspberrypi.org/downloads/raspbian/
 
Insert an SD card that fits your Raspberry Pi variant into an Ubuntu PC.
 
Copy the image you downloaded to the memory card using the dd application.
 
sudo dd bs = 4M if = 2018-11-13-raspbian-stretch-lite.img or = /dev/sdc status = progress conv = fsync
 
Make sure you install to the correct disk /dev/sdX
 
Before removing the memory card enable ssh. See the next section.
By default, ssh is disabled. The easiest way to enable ssh is to add an empty file named “ssh” to the “boot” partition on the memory card. Insert the memory card into your computer and create this file.
 
From the Rasbian documentation:
 
SSH disabled by default; can be enabled by creating a file with name “ssh” in boot partition
 
to log in to rasbian with ssh set that the IP address is 192.168.1.92:
 
ssh pi@192.168.1.92
 
password: raspberry
Now just insert the memory card into the Raspberry Pi and boot up.
 
After the card is booted up, one must find the IP address, either by means of a monitor or check on the local network which address your PI is assigned.
 
Otherwise you can set a fixed IP address. See the next section.

Raspbian needs to be updated after booting.
Then enter in terminal:


sudo apt-get update


sudo apt-get upgrade

USB WEBCAM

To use a regular webcam on Rasbian and Raspberry Pi, install fswebcam.

 

sudo apt-get install fswebcam

If you have a compatible camera, it will appear on /dev/video0

You can then use fswebcam to take a picture.
 
fswebcam –device /dev/video0 testPicture.jpg