FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

RASPBERRY PI PROJECT IDEAS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which command upgrades software on Raspberry PI?
A
sudo apt-get update && sudo apt-get upgrade
B
sudo apt-get remove ace-of-penguins
C
sudeo apt-get autoremove
D
dpkg ____ list
E
dpkg ____ status packagename
Explanation: 

Detailed explanation-1: -To only update the firmware, use sudo rpi-eeprom-update-d-a instead. Once the installation process is done, reboot the Pi by typing sudo reboot .

Detailed explanation-2: -You’ll frequently see the prefix sudo before commands, which means you’re telling the computer to run the command with super user privileges. An alternative to entering sudo before each command is to access the root command prompt, which runs every command with super user privileges.

Detailed explanation-3: -Installing the latest Raspberry Pi updates is straightforward, and can be done in the terminal. But to upgrade to Raspberry Pi OS, you can either: Manually upgrade in the terminal. Flash a fresh image from scratch using SD card writing software.

Detailed explanation-4: -The Raspberry Pi’s Operating System, Pi OS (previously know as Raspbian) is based on Debian linux and has a repository of available software accessible through the apt command. The apt command is used within a terminal window to install software on the Raspberry Pi.

Detailed explanation-5: -Turn it on, and wait for it to boot. Once booted, in a terminal window, run sudo apt update followed by sudo apt install rpi-update to install the rpi-update utility. Run sudo rpi-update to run the utility, and follow the onscreen instructions. Once finished, reboot.

There is 1 question to complete.