Miniature PCs They have always turned out to be something quite interesting for the user, but especially for those who like to explore computers much more. Have a system more than capable of running multimedia content or carrying out office tasks with a size smaller than the palm of the hand is something that sounds quite good, and it is precisely what the Raspberry Pi boards, the great favorites of the most curious in the world of technology.
A proposal that was born in 2012 and that he managed to catch numerous looks for what he brought with him. Raspberry appeared in the sector as an ultra-small computer, but with more than modest performance and minimal cost. A plate less than 9 centimeters long with enough connectors to do the tasks of a modest computer, but occupying less than a tenth of what a conventional PC tower could occupy. Practically, like a pocket computer.
Since then, in addition to launching new reviews of Raspberry Pi boards with technical improvements and adjustments in sizes, also updates have arrived for your system, or kernel, along with novelties in the form of programs that improve and multiply its possibilities to infinity. We are going to focus on all that bundle of software and system in this guide, since we are going to explain how to update Raspberry Pi with Raspbian through a series of simple commands that we are also going to detail so that you know what you do at each moment and step.
Step-by-step tutorial to have our Raspberry Pi installed and updated
For those who do not know, Raspbian is the operating system that these boards have, a variation of Linux, open source, oriented to its use in these devices and that have the property of being extremely moldable.
Before you start typing commands like a Cossack to upgrade your Raspberry Pi using Raspbian, you need to have a number of fundamental components. First of all, and of course, you need to have a Raspberry board. The model does not matter, although it is best to have the Raspberry Pi 3 to do this update
(*Note: versions 2 and 1 are also valid).
Besides this, you need a microSD card with a minimum of 4 GB of storage. If it can be 16 GB, even better, since it will be the place where all the information not only about the update is stored, but about the programs that you could use. It also adds a power supply with a micro-USB connector (like that of smartphones) and an HDMI cable to connect your plate to the TV and have an image when you go to use it.
Once you have all these components, the following is to connect the Raspberry Pi to the internet. You can do it through the traditional LAN cable or taking advantage of a Wi-Fi connection, it is something that is up to you. Although, yes, it is important that you do not skip this step, since otherwise you will not be able to advance.
Now, it’s time to enter command console and start installing updates. Open it and start by entering the line that we explain below, although without forgetting that you need to have access as the main user to be able to make these modifications.
sudo apt-get -y update
This command is used to update the repositories of your Raspberry, which basically refers to renewing the catalog of everything that is available for it. The addition “-Y”Serves so that you do not wonder if you want to update the content, assuming that the user’s answer is yes.
sudo apt-get -y upgrade
Now that we have the repositories renewed and our device knows what is available to it, it is time to renew all programs possible. That is what the line just quoted is introducing for. Enter it and let it perform the procedure, which can take a long time if the connection doesn’t go too well. Take it easy and wait for it to finish before taking the next step.
With this command, we find out the kernel version that is installed. As it is probably a fairly old one, now will be the time to update it to have a much greater support and a more remarkable power management, the best way to achieve the ratio between performance and consumption It is as tight as possible and so that, in addition, there are no problems in case of needing some kind of assistance in the networks.
Precisely this command is the one in charge of making the big update of your Raspberry Pi. By typing it, you will see how go to github to browse their repositories and download the new kernel to install it in its internal memory. Let it do all this and wait a bit. When it finishes, it will ask you to restart, something that you must fulfill in order to apply the changes.
Once you start again, re-enter the uname-r command in the console to check the version you have installed, as you can see it is already completely new and you can take advantage of all its functions.
The process, as described, it’s not too complicated. By entering this list of text commands whenever you want, you can start over from scratch to periodically check if you are up to date regarding the kernel version and, if not, install a totally new one along with a good repository of programs that can be very useful.
Updating both programs and the kernel are necessary if you want to always have the latest in terms of performance and support. Users are always modernizing with the revisions that come out and, in turn, solving all the possible doubts that may appear thanks to this support that is provided, which always focuses on the most modern revisions.
If you have any questions, leave them in the comments, we will answer you as soon as possible, and it will surely be of great help to more members of the community. Thank you! 😉