:start-after: "% start-after"
To install OpenMS on macOS, run the following steps:
- Download and install the macOS drag-and-drop installer from the archive.
2.Double click on the downloaded file. It will start to open the
OpenMS-<version>-macOS.pkginstaller file.
:alt: macOS warning message when opening OpenMS-<version>-macOS.pkg
:width: 500px
Why This Warning Appears:
The warning indicates that the OpenMS installer hasn't been notarized or recognized by Apple as being from an identified developer. This doesn't necessarily mean the software is unsafe; it simply means that macOS cannot verify its source. support.apple.com
How to Proceed:
Bypassing Gatekeeper to Install OpenMS on macOS
A. Bypassing Gatekeeper Using System Settings
- Open System Settings.
- Navigate to Privacy & Security.
- Under the Security section, locate the message about the blocked application.
- Click the Open Anyway button .
:alt: Bypassing Gatekeeper on macOS
:width: 500px
B. Bypassing Gatekeeper Using Command-Line
For users comfortable with the command line, you can bypass the security warning using Terminal:
-
Open Terminal.
-
Navigate to the directory containing the installer using the
cdcommand:cd /path/to/installer -
Run the following command to remove the quarantine attribute:
xattr -d com.apple.quarantine OpenMS-<version>-macOS.pkg
By following these steps, you’re instructing macOS to trust the OpenMS installer and allow its execution. Ensure that you’ve downloaded the installer from a trusted source (i.e., build archive of the Unversity of Tübingen or OpenMS' GitHub artifacts) before proceeding.
- Install OpenMS
:alt: OpenMS installation started on macOS
:width: 500px
- Agree to the license agreements.
:alt: License agreement
:width: 500px
- Installation Confirmation
:alt: OpenMS installation successful
:width: 500px
To use {term}TOPP as regular app in the shell, add the following lines to the ~/.profile file.
:::{warning} Known Installer Issues
-
Nothing happens when you click OpenMS apps or the validity of the developer could not be confirmed.
This usually means the OpenMS software lands in quarantine even after installation of the
.pkg. This was more common with our older.dmgimage but may still happen. Since macOS Catalina (maybe also Mojave) all apps and executables have to be officially notarized by Apple but we currently do not have the resources for a streamlined notarization workflow.To have a streamlined experience without blocking popups, it is recommended to remove the quarantine flag manually, using the following steps:
Open the Terminal.app and type the following (replace the first line with the actual installation directory):
cd /Applications/OpenMS-<version> sudo xattr -r -d com.apple.quarantine *
-
Bug with running Java based thirdparty tools like {term}
MSGFPlusAdapterand {term}LuciphorAdapterfrom within TOPPAS.appIf you face issues while running Java based thirdparty tools from within {term}
TOPPAS.app <TOPPAS>, run the {term}TOPPAS.app <TOPPAS>from within the Terminal.app (e.g. with theopencommand) to get access to the path where Java is located. Java is usually present in thePATHof the terminal. Advanced users can set this path in theInfo.plistof/inside the TOPPAS.app.export OPENMS_TOPP_PATH=<OpenMS-PATH> source ${OPENMS_TOPP_PATH}/.TOPP_bash_profile
Make sure
<OpenMS-PATH>points to the folder where OpenMS is installed locally (e.g.,/Applications/OpenMS-<version>)
:::
:start-after: "% start-after"
To build OpenMS from source, follow the build instructions for macOS.