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