Difference between revisions of "Install Protege5 Mac"

From Protege Wiki
Jump to: navigation, search
 
(20 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
'''[[Install_Protege5|Go to the main Protege 5 installation page]]'''
 
'''[[Install_Protege5|Go to the main Protege 5 installation page]]'''
  
Protege Desktop 5.0 is distributed in the form of a ZIP file from the [http://protege.stanford.edu/products.php#desktop-protege main Protege website] and requires Java 7.  Please consult the Oracle Java website for Java [http://www.java.com/en/download/help/mac_install.xml download and installation instructions].
 
  
== Check for Java 7 (optional) ==
+
Protege Desktop 5.x.y is distributed in the form of a ZIP file from the [http://protege.stanford.edu/products.php#desktop-protege main Protege website], and includes the 64-bit Java Runtime Environment (JRE). So, it is not necessary to have Java pre-installed on your computer to run Protege.
This step is optional.  Perform this step if you aren't sure if Java 7 or later is installed on your computer, and used by the Terminal application.
 
  
* Open Finder.
+
== Download the ZIP file ==
* Go to Applications -> Utilities.
+
* Go to the [http://protege.stanford.edu/products.php#desktop-protege Products page] on the Protege website.
* Double-click the Terminal application.
+
* Click the "Download for Mac OSX" button to download the ZIP file to your machine.
* At the prompt, type "java -version" to see your Java version number:
+
 
 +
== Move Protege to Applications ==
 +
* Once the download completes, navigate to the folder where the ZIP file was downloaded. On a Mac, this will typically be your "Downloads" folder. Unpack it and you should see a Protege-5.x.y folder that contains the <code>Protégé.app</code>.
 +
 
 +
* Drag the Protege_5.x.y folder to the Applications directory.
 +
 
 +
Alternatively, you may also copy it to another folder (e.g., your own home folder).
 +
 
 +
== Launch Protege ==
 +
To launch Protege Desktop, double-click the <code>Protégé.app</code> file in the root directory of the installation (<code>Applications/Protege_5.x.y</code>).
 +
 
 +
== Allow Protege to run on macOS 10.12 (Sierra) and newer versions  ==
 +
The first time you will try to run the <code>Protégé.app</code>, you will get a warning:
 +
 
 +
[[File:MacOSXAppDamaged.png]]
 +
 
 +
To fix this issue, start Spotlight (press Command + Space), type "terminal", and select the <code>Terminal</code> application:
 +
 
 +
[[File:MacOSXStartTerminal.png|600px]]
 +
 
 +
In the Terminal, type:
 +
 
 +
<pre>
 +
sudo xattr -cr /Applications/Protege-5.x.y/Protégé.app
 +
</pre>
 +
 
 +
(replace x.y with the Protege version number)
 +
 
 +
The prompt will ask for your password:
 +
 
 +
[[File:MacOSXxattr.png]]
 +
 
 +
The next time you will start the Protege.app, you will not get the warning anymore.
  
[[Image:InstallP5_Terminal.png]]
+
You can find [https://www.youtube.com/watch?v=6FF1c_7lnGo here] a short screencast that shows these steps for a generic application.
  
 +
== Allow Protege to run on OS X 10.11 (El Capitan) and earlier versions  ==
 +
The first time you will try to run the <code>Protégé.app</code>, you may get a warning:
  
== Download the ZIP file ==
+
[[File:MacOXWarningProtegeApp.png]]
* Go to the [http://protege.stanford.edu/products.php#desktop-protege Products page] on the Protege website.
 
* Click the "Download for Mac OSX" button to download the ZIP file to your machine.
 
  
 +
If you get this warning, it means that your Mac's security setting doesn't allow unidentified software to run. There are several ways to allow an exception to the rule.The simplest way is to press the Control key and click on the Protégé.app icon, then choose and click on "Open" from the shortcut menu:
  
== Move Protege to Applications ==
+
[[File:MacOSXOpenProtegeApp.png]]
* Once the download completes, navigate to the folder where the ZIP file was unpacked. On a Mac, this will typically be your "Downloads" folder:
 
  
[[Image:InstallP5_DownloadsFolder.png]]
+
You will get another warning:
  
Drag the Protege_5.0_beta folder to the Applications directory.
+
[[File:MacOSXRunProtegeApp.png]]
  
 +
Click on "Open" and Protégé.app will start. The application is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app.
  
== Launch Protege ==
+
For other ways of granting exception or of configuring your Mac's security setting, see Apple's support page [https://support.apple.com/kb/PH21769?locale=en_US].
To launch Protege Desktop, double-click the <code>run.command</code> file in the root directory of the installation (<code>Applications/Protege_5.0_beta/run.command</code>).
 
  
  
 
'''[[Install_Protege5|Go to the main Protege 5 installation page]]'''
 
'''[[Install_Protege5|Go to the main Protege 5 installation page]]'''

Latest revision as of 21:01, March 14, 2017

Mac-logo.jpg Protege 5 Installation instructions for MacOSX


Go to the main Protege 5 installation page


Protege Desktop 5.x.y is distributed in the form of a ZIP file from the main Protege website, and includes the 64-bit Java Runtime Environment (JRE). So, it is not necessary to have Java pre-installed on your computer to run Protege.

Download the ZIP file

  • Go to the Products page on the Protege website.
  • Click the "Download for Mac OSX" button to download the ZIP file to your machine.

Move Protege to Applications

  • Once the download completes, navigate to the folder where the ZIP file was downloaded. On a Mac, this will typically be your "Downloads" folder. Unpack it and you should see a Protege-5.x.y folder that contains the Protégé.app.
  • Drag the Protege_5.x.y folder to the Applications directory.

Alternatively, you may also copy it to another folder (e.g., your own home folder).

Launch Protege

To launch Protege Desktop, double-click the Protégé.app file in the root directory of the installation (Applications/Protege_5.x.y).

Allow Protege to run on macOS 10.12 (Sierra) and newer versions

The first time you will try to run the Protégé.app, you will get a warning:

MacOSXAppDamaged.png

To fix this issue, start Spotlight (press Command + Space), type "terminal", and select the Terminal application:

MacOSXStartTerminal.png

In the Terminal, type:

sudo xattr -cr /Applications/Protege-5.x.y/Protégé.app

(replace x.y with the Protege version number)

The prompt will ask for your password:

MacOSXxattr.png

The next time you will start the Protege.app, you will not get the warning anymore.

You can find here a short screencast that shows these steps for a generic application.

Allow Protege to run on OS X 10.11 (El Capitan) and earlier versions

The first time you will try to run the Protégé.app, you may get a warning:

MacOXWarningProtegeApp.png

If you get this warning, it means that your Mac's security setting doesn't allow unidentified software to run. There are several ways to allow an exception to the rule.The simplest way is to press the Control key and click on the Protégé.app icon, then choose and click on "Open" from the shortcut menu:

MacOSXOpenProtegeApp.png

You will get another warning:

MacOSXRunProtegeApp.png

Click on "Open" and Protégé.app will start. The application is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app.

For other ways of granting exception or of configuring your Mac's security setting, see Apple's support page [1].


Go to the main Protege 5 installation page