Use the //dpkg// logs to discover recently installed packages; this is handy if you want to roll back some recent installations to a previous system state.
<code>
zcat -f /var/log/dpkg.log* | grep "\ install\ " | sort
</code>

If you need to force reinstall a package and put back all the missing bits, you can use Synaptic and just download a package then cd into
<code>
cd /var/cache/apt/archives/
</code>
and then
<code>
dpkg --install --force-confmiss packagename
</code>\\

Some apt-get commands
<code>
apt-cache search # ------ (package search package)
apt-cache show # ------ (package to obtain package information, such as description, size, version, etc.)
sudo apt-get install # ------ (package installation package)
sudo apt-get install # ----- (package - reinstall reinstall the package)
sudo apt-get-f install # ----- (mandatory installation? # "-f = - fix-missing" when the repair installation ...)
sudo apt-get remove # ----- (package to remove the package)
sudo apt-get check # ------- (check for damage dependence)
</code>