debian - installation based on a text file
Posted on 2012-04-03
I have a list of packaages that i want on my machine. I can use it with apt-get to install the packahges i want.
My question is.. How can i make sure only the packages from this list are installed and remove any packages that are not on this list.
example: dkpg --get-selections < file.txt, dkpg -u dselect-upgrade #Will install the list of packages.
How can i make sure that all other packages are removed??