pip get library version code example Example: how to list all versions of pip in ubuntu using grep sudo apt list --installed | grep screen