Recently, I have three Ubuntu host to develop something, but I always have to reinstall the necessary packages one by one when build system complain it needs some files.
Now I found a good solution to get the whole installed list and feed it to a fresh host, then I have some developing environment on three machine.
This is a great tip for me.
#dpkg --get-selections > installed-software (run on ready developing machine)
#dpkg --set-selections < installed-software (run on fresh machine, then followed by dselect)
沒有留言:
張貼留言