Linux Tutorial Series

Linux Tutorial Series – 136 – Review

Here is the video version, if you prefer it:

We talked about compression and package management. Here is a review of the most important things:

  • Use gzip fileName and gunzip fileName for archives ending in gz
  • Use tar cvf archiveName.tar file1 file2 … for creating a tar archive file and use tar xvf archiveName.tar to extract a tar archive
  • To update your package list, run apt-get update (prefixed with sudo)
  • apt-get install packageName to install packages from a package repository or dpgk -i packageFileName to install a package from a file
  • sudo apt --purge remove packageName to remove a package, then sudo apt --purge autoremove to remove its dependencies
  • To upgrade your packages, run apt-get upgrade
  • /etc/apt/sources.list keeps a list of repositories Linux looks into when it is searching for new packages

I hope you refreshed your memory!

NewsletterUpdates on interesting things I am doing

Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.

Leave a Reply

Your email address will not be published. Required fields are marked *