Install Debian 9¶
Download the Debian 9.13.0 ISO from here
Open the 9.13.0-live+nonfree directory, amd64 directory, iso-hybrid directory and download the iso with the desktop environment of your choice. I prefer Mate.
Burn the ISO to the removable device then boot the PC with the removable device and select Graphical Install or Install.
Burning ISO to a SD card or USB Stick on a Linux PC
Open a terminal (Ctrl Alt t) and check what devices are installed before plugging in the SD card or USB stick.
sudo fdisk -l
Plug in the SD card or USB stick and run fdisk again to find out the location of the SD card or USB stick.
sudo fdisk -l
In my case you can see the Micro SD card is /dev/sdf
Open a terminal in the directory where the ISO file is and list the files and get the path using the following
cd Downloads
pwd
ls -1
Now burn the ISO to the SD card or USB stick using dd
sudo dd if=full/path/to/iso/file of=/dev/sdf
sudo dd if=/home/john/Downloads/debian-live-9.13.0-amd64-mate+nonfree.iso of=/dev/sda bs=4096 status=progress
When dd is done you get this
Boot up to the SD card or USB stick and select Graphical Install.
DO NOT enter a root password, just pass it by. If you do you can’t use the sudo command to do root things.
After booting up update everything
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt clean