How To Update Raspberry Pi: Just Follow These Easy Steps

Introduction

sudo apt update
sudo apt dist-upgrade
sudo apt clean
sudo reboot

Upgrade Raspbian To The Latest Version

sudo apt update sudo apt dist-upgrade -y
sudo rpi-update
sudo nano /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
sudo apt-get remove apt-listchanges
sudo apt update sudo apt dist-upgrade
sudo apt autoremove -y
sudo apt autoclean
sudo reboot

How to Update Raspberry Pi 3

How to Update Python on Raspberry Pi

sudo apt-get update
sudo apt-get upgrade
sudo apt-ver upgrade 
sudo apt-get dist-upgrade
sysctl -w vm.swappiness=0 
dpkg — add admittance usermode usbmuxd uinput sudo rm -rf /usr/share/python-smbus 
sudo touch ~/.xsessionrc

How to Update Raspberry Pi 2

  • Determine Your Current System Version
  • Download and Install Raspbian Update Software
  • Change to a Terminal Shell Environment on your Raspberry Pi 2 Board
  • Enable SSH Communications for Tech Support
  • Configure Automatic Updates with run_update Command on Package Manager Command Line Interface (CLI)
  • Reboot Your Server Board for Changes to Take Effect. It is advisable you power off and then power back on as this will be the safest way to complete the update process. You may want to proceed with auto-shutdowns or just use some critical thinking about how best to stop unwanted services related to X11, Mongo (MongoDB), and Z-Wave (Zigbee) etc.

Raspberry Pi Update Command

How to Update Node.js Raspberry Pi

sudo apt-get install nodejs
sudo npm install -g npm
sudo ln -s /usr/bin/nodejs /usr/local/bin/node nodes711.com
sudo reboot

Update Chromium on Raspberry Pi

sudo apt-get update
sudo apt-get install -y chromium

Looking for a new way to learn about Raspberry Pi?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
James J. Davis

James J. Davis

Software developer with 30 years of experience