Click here for a free subscription to "HDE" our site newsletter.
Email:

Raspberry Pi Beginner Projects: Updating Raspbian

Updating the operating system

Now that you have a working system it's a good time to do an update. The download distributions are inevitably not going to be completely up to date.

Synchronize the database of available packages:

pi@raspberrypi ~ $ sudo apt-get update

Upgrade any packages that need it:

pi@raspberrypi ~ $ sudo apt-get upgrade

This takes quite some time to complete.

How does apt-get work?

The apt-get utility is one of the more useful if obscure features of Linux. You can use it to install or update applications simply by naming them. You can also update the entire system as we did above. But how does it work?

apt-get is extremely slick and useful. Part of it's appeal is that it hides all the details from you so it can seem like black magic if you don't know what it's doing.

Install and update packages for Linux are kept in repositories which are used by apt-get. The specific repositories that will be used are accessed by apt-get from urls listed in /etc/apt/sources.list and once you understand this it all becomes much clearer.

I'm not going to say any more about the internal operating details of apt-get as it's beyond the scope of this article.

You are now ready to add remote tools like SSH terminal, SFTP file transfer and VNC remote desktop to your system. Find out how to do this on the following pages.



Now subscribe to our newsletter and don't miss a thing
 



Comments

No comments yet.

Add Comment

* Required information
(will not be published)
 
Bold Italic Underline Strike Superscript Subscript Code PHP Code Quote Insert line Bullet list Numeric list Link Email Image Video
 
Smile Sad Huh Laugh Mad Tongue Crying Grin Wink Scared Cool Sleep Blush Unsure Shocked
Captcha
Refresh
 
Enter code:
 
Notify me of new comments via email.
 
Remember my form details on this computer.
 
I have read and understand the privacy policy. *
 
I have read and agree to the terms and conditions. *
 
Click here for a free subscription to "HDE" our site newsletter.