Skip to Content
Raspberry Pi 3 Cookbook for Python Programmers - Third Edition
book

Raspberry Pi 3 Cookbook for Python Programmers - Third Edition

by Steven Lawrence Fernandes, Tim Cox
April 2018
Beginner content levelBeginner
552 pages
13h 58m
English
Packt Publishing
Content preview from Raspberry Pi 3 Cookbook for Python Programmers - Third Edition

APT commands

The following are the useful commands for APT (this is pre-installed by default on Raspbian):

  • Always update the package list to obtain the latest versions and programs before installing a package with the sudo apt-get update command
  • Find software by searching for any packages that include the <searchtext> command in the package name or description using sudo apt-cache search <seachtext>
  • Install software with a particular <packagename> using sudo apt-get install <packagename>
  • Uninstall a particular software package using sudo apt-get remove <packagename>
  • Display the currently installed version of a software package using sudo apt-cache showpkg <packagename>

If you want to install a specific version of a software package, use ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Raspberry Pi for Python Programmers Cookbook - Second Edition

Raspberry Pi for Python Programmers Cookbook - Second Edition

Tim Cox

Publisher Resources

ISBN: 9781788629874Supplemental Content