Get a list of packages on a fresh install

Posted by cshubhamrao on Ask Ubuntu See other posts from Ask Ubuntu or by cshubhamrao
Published on 2014-05-30T08:06:29Z Indexed on 2014/06/05 9:43 UTC
Read the original article Hit count: 233

Filed under:

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 file, which lists all the packages that are installed on all systems

© Ask Ubuntu or respective owner

Related posts about apt