This is a script to get all packages version on Ubuntu. After you run the script, you'll have version-2018-X-X_X:X:X.md
file.
$ wget -O - https://goo.gl/WQWzMY | bash
$ curl -Lo- https://goo.gl/WQWzMY | bash
$ git clone https://github.com/sufuf3/Get-Installed-Packages-Version.git
$ cd Get-Installed-Packages-Version
$ sh get_version_tool.sh
After saving the files(which named by you) are under the same folder, you could use this command to help you figure out.
- Example
$ grep "vim" *
simple1604.md:vim==2:8.0.0197-4ubuntu5
simple1404.md:vim==2:8.0.0197-4ubuntu5
tf1604.md:vim==2:8.0.0197-4ubuntu5
digits1604.md:vim==2:8.0.0197-4ubuntu5
Ref: