Installing Language Pack on MacOS v4
On MacOS, EDB provides a graphical interactive installer for Language Pack. To access the graphical installer, install Stack Builder as part of a PostgreSQL installation, and then use Stack Builder to invoke the graphical installer.
Using Stack Builder
Using PostgreSQL, you can invoke the graphical installer with Stack Builder. See Using Stack Builder.
In Stack Builder, follow the prompts until you get to the module selection page.
On the Welcome page, select the target server installation from the list of available servers. If your network requires you to use a proxy server to access the internet, select Proxy servers and specify a server. Select Next.
Expand the Add-ons, tools, and utilities node.
Select EDB Language Pack and select Next.
Browse to a directory where you want to install the language pack, or leave the directory set to the default location. Select Next.
When the installer states that all installation files have been downloaded, select Next.
Proceed to Using the graphical installer.
Using the graphical installer
Select the installation language and select OK.
On the Setup Language Pack page, select Next.
The Ready to Install window displays the Language Pack installation directory.
/Library/languagepack/<version>
You cannot modify the installation directory.
Select Next.
An information box shows the installation progress of the selected components.
When the installation is complete, select Finish.
Configuring on MacOS
To simplify setting the value of PATH
or LD_LIBRARY_PATH
, you can create environment variables that identify the installation location:
where <version>
is the current version of Language Pack.
Then, execute the following command to instruct the Python interpreter where to find Python:
export PYTHONHOME
You can use the same environment variables when setting the value of PATH
:
Lastly, set the following variables to instruct OSX where to find the shared libraries: