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 fileNameandgunzip fileNamefor archives ending ingz - Use
tar cvf archiveName.tar file1 file2 …for creating a tar archive file and usetar xvf archiveName.tarto extract a tar archive - To update your package list, run
apt-get update(prefixed withsudo) apt-get install packageNameto install packages from a package repository ordpgk -i packageFileNameto install a package from a filesudo apt --purge remove packageNameto remove a package, thensudo apt --purge autoremoveto remove its dependencies- To upgrade your packages, run
apt-get upgrade /etc/apt/sources.listkeeps a list of repositories Linux looks into when it is searching for new packages
I hope you refreshed your memory!
Leave a Reply