FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

RASPBERRY PI PROJECT IDEAS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which command finds the package name? Hint:two correct answers
A
sudo apt-get update
B
sudo apt-cache search game | less
C
sudo apt-cache search solitaire
D
sudo apt-get install ace-of-penguins
E
penguinspuzzle
Explanation: 

Detailed explanation-1: -You can find an app’s package name in the URL of your app’s Google Play Store listing. For example, the URL of an app page is play.google.com/store/apps/details? id=com. example.

Detailed explanation-2: -Using dpkg-query command dpkg-query command can also search package name of any installed program or command from dpkg database. You can use –S or –search with this command to search any package based on keyword.

Detailed explanation-3: -Apt-cache is a command-line tool used for searching apt packages on a Ubuntu or Debian based systems. With apt-cache search, you can search for any package using the keyword related to its name or description. In the output, it displays all the packages matching the search criteria.

There is 1 question to complete.