How did Greece influence Ancient Africa?

The Greek cities sent their surplus populations out and established city-states around the Mediterranean and Black Seas. Some were sent to North Africa - eg Tripoli (Tripolis in Greek = three cities). Then Alexander the Great captured Egypt and Libya, establishing Greek cities eg Alexanddia named after himself.