Your Raspberry Pi does not come with an operating system preinstalled.
This means you can choose from a variety of operating systems, all of which can be written to your Raspberry Pi’s SD card. Here’s how to install and run a new OS on your Raspberry Pi using Windows, macOS, or Linux.
Selecting the Raspberry Pi operating system
There are so many operating systems available on your Raspberry Pi. From the recommended Raspbian Stretch (and its Lite alternative) to Ubuntu MATE, through the OS for Kodi, RetroPie and many other projects, through several alternatives for Linux and non-Linux the choice is huge. If you need Windows functionality, you can set up your Raspberry Pi as a Windows thin client.
Our list of operating systems for Raspberry Pi operating systems will give you an idea of what is available. Whichever OS you choose, be sure to download it on your PC beforehand. This will be an ISO or IMG file ready to be written to your Raspberry Pi’s SD card.
Flashing the operating system on the Raspberry Pi
To install an OS on your Raspberry Pi, you will need Etcher. It is a tool for burning disc images to flash memory, be it an SD card or a USB flash drive. It’s a simple mouse-driven app available for Windows, Linux, and macOS.
Download: Etcher (Free)
When Etcher is installed and running, you will notice three buttons.
All you have to do is click each one in turn. Start with image selection then navigate to your operating system’s .iso file or .img file. Next click » Select Disk», to select an SD card. Etcher is smart enough to detect any SD card plugged into or inserted into your computer, but it’s worth checking that the correct one is detected.
Finally click flash, to start recording data. You don’t need to format your SD card as Etcher will handle it.
When you’re done, click OK, to finish, then exit Etcher. Remove the SD card and insert it into the turned off Raspberry Pi. Connect the power cable and wait while the computer loads the operating system.
If using Etcher to install an operating system seems difficult, why not buy an SD card with Raspbian preinstalled? This uses the NOOBS installation system, which we’ll cover below.
Downloading Raspbian for the first time
After installing Raspbian, you need to login with the following credentials:
Username: pi
Password: raspberry
For other operating systems, check the documentation to find the default credentials.
Remember that the password will not be displayed as you type; no windows style characters *
representing letters. Instead, it will appear that you did not enter a password. This is a Linux security feature to prevent people from guessing the length of your passphrase. Just enter the password regardless.