Do I need to update the Octo-Pi OS? (YUM)


#1

Just curious, should I be running YUM updates on my Octo-Pi? If so, is there a way to do this from Octo-print directly? I don't see a command shell plugin.

Thank you for your time.

Tony


#2

I run it every week or so from an ssh session
It is actually sudo apt-get update on the pi


#3

Ah ok Apt-Get. Thanks.


#4

Yeah...

...no.

sudo apt-get update          # Update the app repository database about the possibilities available
sudo apt-get upgrade -y      # Update the current collection of installed apps

#5

I get that I need to sudo first, just didn't type it all out. :wink:


#6

OutsourcedGuru's answer is not about the need of "sudo" , it's about the two needed commands: "update" and "upgrade" ... :wink:


#7

Thank you. While I am familiar with how Apt-get works I do appreciate the extra detail in this post for those who might not. I don't want anyone to think that I'm ungrateful. A little lazy when it comes to typing perhaps.

Again thank you all!

Tony


#8

One line command

$ sudo apt update && apt upgrade -y

sudo = super user do or run this command as "root" user

Sit back and let it finish up :slight_smile:


#9

Sudo doesn't chain, btw.

$ sudo apt update && sudo apt upgrade -y

#10

Right..gotta be sudo su'd to do it...sorry


#11

$ sudo apt update && sudo apt upgrade -y && sudo reboot