Working with Raspberry PI OS

/etc/apt/sources.list contains the links to the packet sources

sudo dpkg-query -l to see what packages are installed type

sudo dpkg-query -l | grep <packagename> for a specific package

sudo apt-get install mc to install midnight commander

sudo apt search <packagename> to see what package can be installed

remove sudo apt-get remove --auto-remove <packagename> and sudo apt-get purge <packagename> and sudo reboot.

apt-show-versions -a <packetname> shows versions available, installed apt-show-versions might have to be installed first

Finally uptime shows how long the Raspberry is up and running


Linurs startpage