ubuntu list package versions code example Example: ubuntu list latest installed packages apt list --installed | grep [name]