Difference between revisions of "Install Protege5 Linux"

From Protege Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
  
Protege 5.0 is distributed in the form of a <code>tar.gz</code> file from the [http://protege.stanford.edu/products.php#desktop-protege main Protege website] and requires Java 7 or later.
+
Protege 5.0 is distributed in the form of a <code>tar.gz</code> 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.
 
 
 
 
== Check for Java 7 (optional) ==
 
This step is optional. Perform this step, if you are not sure if you have Java 7 or later installed on your computer.
 
 
 
To check that you have Java installed, open a terminal window, and type: <code>java -version</code>. You should see something like this:
 
 
 
<pre>
 
myuser@mycomputer:/$ java -version
 
java version "1.7.0_51"
 
OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.13.04.2)
 
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
 
</pre>
 
 
 
(The version should be 1.7 or later)
 
 
 
 
 
== Install Java 7 (if necessary) ==
 
 
 
Please consult the documentation for your Linux distribution on how to install Java. Usually, you can install [http://openjdk.java.net/ Open Java] easily from the package manager of your Linux distribution (e.g., <code>apt-get</code> in Ubuntu and Debian distributions, <code>yum</code> in RedHat ). You may also use other Java implementations, such as [http://www.oracle.com/us/technologies/java/overview/index.html Oracle Java].
 
For Ubuntu, you can find the installation instructions for different Java implementations [https://help.ubuntu.com/community/Java here]. For RedHat, the installation instructions for Open Java are [https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Installation_Guide/Install_OpenJDK_on_Red_Hat_Enterprise_Linux.html here], and for Oracle Java [https://www.java.com/en/download/help/linux_x64rpm_install.xml here]. General Oracle Java installation instructions for Linux distributions are [http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html here].
 
 
 
  
 
== Download the tar.gz file ==
 
== Download the tar.gz file ==
Line 37: Line 15:
 
To unpack the archive, either use your file explorer and double-click on the archive, and extract it to the desired location, or type in a terminal window:
 
To unpack the archive, either use your file explorer and double-click on the archive, and extract it to the desired location, or type in a terminal window:
  
  tar zxvf protege-5.0.0-beta-06_2014_05_20.tar.gz
+
  tar zxvf protege-5.0.0-linux.tar.gz
  
 
(the archive name might differ, please use the right file name that you downloaded.)
 
(the archive name might differ, please use the right file name that you downloaded.)
Line 45: Line 23:
  
 
To launch Protege Desktop, double-click on the <code>run.sh</code> in the ''Protege folder'' in the file explorer, or type <code>run.sh</code> in a terminal window, once you have changed the directory to the Protege folder (<code>cd Your_Protege_folder</code>).
 
To launch Protege Desktop, double-click on the <code>run.sh</code> in the ''Protege folder'' in the file explorer, or type <code>run.sh</code> in a terminal window, once you have changed the directory to the Protege folder (<code>cd Your_Protege_folder</code>).
 
 
= Troubleshooting =
 
 
''Q'': ''The Protege UI occasionally freezes on Linux with Open Java. Protege still seems to be running (CPU at normal levels), but I can't click on any of the entities, tabs. or menus.''
 
 
''A'':  There's a bug in Open Java on Linux distributions (e.g., Ubuntu) with parentless dialogs that will cause this behavior. The workaround is to use another Java implementation, e.g., Oracle Java.
 
  
  
 
'''[[Install_Protege5|Find more troubleshooting hep on the main Protege 5 installation page]]'''
 
'''[[Install_Protege5|Find more troubleshooting hep on the main Protege 5 installation page]]'''

Latest revision as of 15:38, May 24, 2016

Tux-logo.png Protege 5 Installation instructions for Linux


Go to the main Protege 5 installation page


Protege 5.0 is distributed in the form of a tar.gz 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 tar.gz file

  • Go to the Products page on the Protege website.
  • Click the "Download for Linux" button to download the tar.gz file to your machine.

To unpack the archive, either use your file explorer and double-click on the archive, and extract it to the desired location, or type in a terminal window:

tar zxvf protege-5.0.0-linux.tar.gz

(the archive name might differ, please use the right file name that you downloaded.)


Launch Protege

To launch Protege Desktop, double-click on the run.sh in the Protege folder in the file explorer, or type run.sh in a terminal window, once you have changed the directory to the Protege folder (cd Your_Protege_folder).


Find more troubleshooting hep on the main Protege 5 installation page