How to do a fresh install of Raspbian OS
Steps
- Safely remove your SD card from your computer.
- Put that SD inside your RPi SD slot, and turn it on.
- OS setup settings will pop up, and just choose your settings wisely. At this point, you would want to connect to your wifi as well.
- Check OS, hardware, and free space.
cat /etc/os-release
uname -a
df -h
- Update and upgrade.
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt autoremove
- (Optional) Depending on what you plan to do with your RPi, you may want to free up some space.
# I don't need the following packages because I plan to do a computer vision project in my RPi
sudo apt-get purge wolfram-engine
sudo apt-get purge libreoffice*# always do this after purging
sudo apt-get clean
sudo apt-get autoremove
Sources
- https://www.raspberrypi.org/blog/raspberry-pi-imager-imaging-utility/
- https://www.raspberrypi.org/documentation/installation/installing-images/
- https://en.wikipedia.org/wiki/Raspberry_Pi_OS
- https://www.meccanismocomplesso.org/en/how-to-for-raspberry-checking-the-raspbian-version-update-upgrade/
- https://www.pyimagesearch.com/2019/09/16/install-opencv-4-on-raspberry-pi-4-and-raspbian-buster/
- https://www.raspberrypi.org/downloads/