Skip to main content
Chemistry LibreTexts

7.7: Updating Your Pi

  • Page ID
    469694
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    Bullseye Taskbar Update

    The taskbar of Bullseye has an icon you can use to update your Pi.

    clipboard_ed5515b92e5c05dc54b53d04afd135033.pngFigure \(\PageIndex{1}\): 2/14/2023 screen capture of Bullseye taskbar updat icon. (Belford, cc 0.0)

     

    Updating with APT

    APT is Debian's Advanced Packaging Tool and keeps a list of your software in /etc/apt/sources.list. The first thing you want to do is update and upgrade your Pi with the following commands.  Open the terminal window and type

    sudo apt update
    

    The above code downloads package information on installed programs from the internet, allowing you to get updates. You can see what is upgradable with the following (optional) command

    apt list --upgradable
    

    Now install the  new upgradable packages by running upgrade

     

    sudo apt full-upgrade
    

    Note, full-upgrade picks up any dependencies that upgrade may miss.

    Now reboot your pi

    sudo reboot

     

    To do this in one command

    sudo apt update && sudo apt upgrade -y

    the -y is your response when the upgrade command asks you if you want to go ahead and upgrade. 

    You can also remove old packages after upgrade

    sudo apt autoremove
    

    apt vs apt-get

    The apt and apt-get commands essentially do the same things, but the apt gives you more information. I believe the apt-get is the older command, and it is probably best to just use apt.  See the article by Baeldung: Differences between apt and apt-get.

     


    This page titled 7.7: Updating Your Pi is shared under a not declared license and was authored, remixed, and/or curated by Robert Belford.

    • Was this article helpful?