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
andgunzip fileName
for archives ending ingz
- Use
tar cvf archiveName.tar file1 file2 …
for creating a tar archive file and usetar xvf archiveName.tar
to extract a tar archive - To update your package list, run
apt-get update
(prefixed withsudo
) apt-get install packageName
to install packages from a package repository ordpgk -i packageFileName
to install a package from a filesudo apt --purge remove packageName
to remove a package, thensudo 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.