Get a list of packages on a fresh install
- by cshubhamrao
I want a list of all packages installed, along with versions (if possible) on a clean install of Ubuntu (any version). I can use
dpkg -l | grep '^ii' | awk '{print $2" "$3}'
on a fresh installation, but that's not a good idea, as when a new version of Ubuntu is available, it has to be re run.
Rather than relying on scripts, I prefer having a…