Raspbian is official OS for Raspberry Pi.
Basically This tutorial goes with Raspbian 8 Jessie Lite.(no GUI)
Install on Linux
1. Download official image: Raspbian Jessie Lite
(Link address can be replaced if new version has released.)
$ wget http://director.downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2016-03-18/2016-03-18-raspbian-jessie-lite.zip
If download completed, check the file
$ ls -al
It is possible that size can be different as yours and mine because my file is originally downloaded 02-09 version
2. Unzip the file
Install unzip first.
$ sudo apt install unzip -y
Then, unzip the file.
$ unzip 2016-02-26-raspbian-jessie-lite.zip
(I changed name of .img file for convenience.)
3. Insert your SD card to PC, check SD card device name.
$ sudo fdisk -l
# Very Important here # It will show your what is your SD card name.
For me, screenshot shows
Device Name is: /dev/mmcblk0
Partition Name is: /dev/mmcblk0p1
4. Unmount your SD card partition
$ sudo umount /dev/mmcblk0p1
5. copy image to SD card. (Using Device Name)
# Once you do dd, your SD card data will be completely removed. Please backup necessary data before launch. #
$ sudo dd bs=4M if=2016-02-26-raspbian-jessie-lite.img of=/dev/mmcblk0
This will take several minutes, and does not show progress.
If you want to know the progress, check: How to monitor dd progress/status
Once dd has done, remove SD card from your PC, put it into your Raspberry Pi, and boot up.