This time, the update will execute successfully.Īfter updating, you are now ready to install a package. User accounts without root permissions will have to enter the root password to execute sudo commands. Luckily, you already know how to act as root while logged in as the user pi by using sudo. Why is that? In order to make these kinds of changes to the Raspberry Pi's software, we need the permissions granted only to the superuser root. You will get an error saying "permission denied" and asking if you are root. ImageMagick is a software package that will be used later on in the class so it's the perfect one to begin with.īefore installing a software package, you need to first update the Raspberry Pi's current list of packages that are available to apt-get with apt-get update. Throughout your Raspberry Pi adventures, you will download many packages. This means that if you find a package that works for Debian and the Raspberry Pi's ARM6 architecture it will most likely work for Raspbian. It is a tool handed down from the OS Debian that Raspbian is built from. This command is used to install, remove, and update APT ( Advanced Packaging Tool) packages. To download and install packages on your Raspberry Pi you will primarily use the command apt-get. There are plenty of fun and useful software packages (packages for short) available to use on the Raspberry Pi.
0 Comments
Leave a Reply. |