Frequently Asked Questions

How to run Astah on Linux

We’ve started providing a Package file of Astah for Linux since version 6.3.

How to use Astah on Linux

  1. Download and Install Java
  2. Download and install Astah - Choose the format

On RedHat Linux (CentOS, Fedora, RedHat)

Download

  1. Download the Java which is described in the System Requirement. (Download Java)
    Click [Download JDK] and choose your Platform (Linux or Linux x64)
  2. Select rpm.bin file and then download it in the preferred directory (e.g. /usr/java)

Install

  1. Become the root user by running the su command
  2. Change to the directory in which you want to install Java
  3. Change the permission of rpm.bin file to be executable
    #chmod a+x jdk-6u22-linux-i586-rpm.bin
  4. Start the installation process by typing:
    #./jdk-6u22-linux-i586-rpm.bin
  5. Sun JDK END-USER license agreement is displayed. Read the agreement and enter yes to proceed with the installation.

Configuration

  • JDK by Sun is required to run Astah. If you already have Java other than Sun, please switch it to the Sun by running alternatives command. (You need to be a root user to do so.)
  • Register the Sun JDK (e.g. Sun Microsystems JDK 6 Update 22)
    #/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_22/bin/java 16022
  • Set this Sun JDK
    #/usr/sbin/alternatives --config java
  • Check that this JDK by Sun is now been set
    #java -version

On Debian Linux (Ubuntu, Debian GNU/Linux)

Download and Install

Become the root user and run the command below.

#add-apt-repository ppa:sun-java-community-team/sun-java6 
If you are using Debian - lenny, add the following line to "/etc/apt/sources.list"
deb http://ftp.de.debian.org/debian lenny main non-free

#apt-get update

#apt-get install sun-java6-jdk

#apt-get install sun-java6-fonts

Configuration

  • JDK by Sun is required to run Astah. If you already have Java other than Sun, please switch it to the Sun JDK by running alternatives command. (You need to be a root user to do so.)
  • Register the Sun JDK
    #/usr/sbin/update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-6-sun/jre/bin/java 16020
  • Set this Sun JDK
    #/usr/sbin/update-alternatives --config java
  • Check that this JDK by Sun is now been set
    #java -version


On others (Linux by self-extracting Binary file)

Download

  1. Download the Java which is described in the System Requirement. Download Java
    Click [Download JDK] and choose your Platform (Linux or Linux x64)
  2. Select the self-extracting binary file (bin file) and then install it in the preferred directory (e.g. /usr/java)

Install

  1. Become the root user by running the su command
  2. Change to the directory in which you want to install Java
  3. Change the permission of bin file to be executable
    #chmod a+x jdk-6u22-linux-i586.bin
  4. Run the self-extracting binary by typing:
    #./jdk-6u22-linux-i586.bin

Configuration

  • JDK by Sun is required to run Astah. If you already have Java other than Sun, please switch it to the Sun by running update-alternatives command. (You need to be a root user to do so.)
  • Register the Sun JDK (e.g. Sun Microsystems JDK 6 Update 22)
    #/usr/sbin/update-alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_22/bin/java 16022
  • Set this Sun JDK
    #/usr/sbin/update-alternatives --config java
  • Check that this JDK by Sun is now been set
    #java -version

2. Downloading/Installing Astah

Using RPM or DEB Package

  1. Download Astah installer, select a package that applies to your environment
  2. Save it in the preferred directory (e.g. /tmp)
  3. Change to the directory in which you download and then check the file size by using the stat command
  4. Become a root user and then install the Astah
    • Using rpm Package
      #rpm -ivh --nosignature astah-professional (uml or community)-6.x.noarch.rpm
    • Using deb Package
      #dpkg -i astah-professional(uml or community)_6.x_all.deb
  5. Run Astah by typing:
    $astah-pro (uml or com)
Another way to run Astah
  • You can run Astah from [Application]-[Accessories] if you are using GNOME desktop

Using Yum Repository

  1. Become root user
  2. Add Yum repository of Change Vision's
    # rpm -ivh http://members.change-vision.com/repos/yum/astah-repository-1.0-0.noarch.rpm
  3. Update the Yum repository
    #yum update
  4. Install Astah from Change Vision's Yum repository
    # yum install astah-professional (astah-uml or astah-community)

Using Apt repository

  1. Become root user
  2. Receive a public key for the ChangeVision's APT Repository
    # apt-key adv --keyserver pgp.nic.ad.jp --recv-keys C22BD678
  3. Add a line shown below at the end of /etc/apt/sources.list and add ChangeVision's APT Repository
    deb http://members.change-vision.com/repos/apt/ astah main
  4. Update the Apt repository
    # apt-get update
  5. Install Astah from the ChangeVision Apt repository
    # apt-get install astah-professional (astah-uml or astah-community)

Using zip file

  1. Download the zip file of Astah professional, Astah UML or Astah Community and save it in the preferred directory (e.g. /tmp)
    Astah Download
  2. Change to the directory in which you download and then check the file size by using the stat command
  3. Extract the zip file by using unzip command
  4. Modify the Shell script in the astah file to apply to your environment and then change the permission it to be executable
    #chmod 755 ./astah
  5. Execute the shell Script
    #./astah
Back to Astah Professional FAQ