How to use an external hard drive to store Photo libraries

I am trying to store my Photos library on an external hard drive to free up space on my MacBook Pro
You can export photos from your photo library by opening the ohotos app and select the photos that hou want to export. Then go to file/export.

Or move the photolibrary file, which should be in the photos directory.

Original thread: https://forums.imore.com/threads/how-to-use-an-external-hard-drive-to-store-photo-libraries.373025/