Installation and Uninstallation

This chapter describes how to install and uninstall OpenFrame ASM in Linux.

1. Installation

The Installer binary file is needed to install OpenFrame ASM. Enter "back" and then press the Enter key to go to the previous step or enter "quit" and then press the Enter key to stop an installation.

  1. Copy the installer binary file to a directory where OpenFrame ASM will be installed.

  2. If the installer does not have execution permissions, use the chmod command to grant it permissions.

    The following example illustrates how to grant execution permissions to an installer binary file on 64-bit Linux.

    $ chmod a+x OpenFrame_ASM_4_0_Linux_x86_64.bin
  3. The installation binary file can be executed by using the following two commands. Enter a command and then press the Enter key.

    • Installation command 1

      ./OpenFrame_ASM_4_0_Linux_x86_64.bin
    • Installation command 2

      sh OpenFrame_ASM_4_0_Linux_x86_64.bin
  4. The installation introduction screen will be displayed. Review the description and then press the Enter key to continue the installation.

    Preparing to install...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    
    Launching installer...
    
    Preparing CONSOLE Mode Installation...
    
    ===============================================================================
    OpenFrame_ASM                  (created with InstallAnywhere by Macrovision)
    -------------------------------------------------------------------------------
    ===============================================================================
    Introduction
    ------------
    
    InstallAnywhere will guide you through the installation of OpenFrame_ASM4_0.
    
    It is strongly recommended that you quit all programs before continuing with
    this installation.
    
    Respond to each prompt to proceed to the next step in the installation.  If you
    want to change something on a previous step, type 'back'.
    
    You may cancel this installation at any time by typing 'quit'.
    
    PRESS <ENTER> TO CONTINUE:
  5. The OpenFrame ASM license agreement screen will be displayed.

    Review the license agreement and then enter "Y" to agree with the license agreement or enter "N" otherwise, and then press the Enter key. If "N" is entered, then the OpenFrame ASM installation will be cancelled.

    ===============================================================================
    License Agreement
    -----------------
    
    Installation and Use of OpenFrame_ASM Requires Acceptance of the Following License
    Agreement:
    
    TmaxSoft Release
    TmaxSoft Co., Ltd. (hereafter, TmaxSoft) End-User License Agreement
    
    Product : OpenFrame_ASM 4.0
    
    This is a legal agreement between you (either an individual or an company) and
    TmaxSoft, Incorporated.  By opening the sealed software package and/or by using
    the software, you agree to be bound by the terms of this agreement.
    
    TmaxSoft License
    1.  Grant of License:  This TmaxSoft License Agreement ("License") permits you
    to use one copy of the TmaxSoft product Tmax, on any single computer, provided
    the software is in use on only one computer at any one time.  If this package
    is a license pack, you may make and use additional copies of the software up to
    the number of licensed copies authorized.  If you have multiple licenses for
    the software, then at any time you may have as many copies of the software in
    use as you have licenses.
      The software is "in use" on a computer when it is loaded into the temporary
    memory (i.e., RAM) or installed into the permanent memory (e.g., hard disk,
    CD-ROM, or other storage devices) of that computer, except that a copy
    installed on a network server for the sole purpose of distribution to other
    computers is not "in use".  If the anticipated number of users of the software
    will exceed the number of applicable licenses, then you must have a reasonable
    
    PRESS <ENTER> TO CONTINUE:
    
    mechanism or process in place to ensure that the number of persons using the
    software concurrently does not exceed the number of licenses.
    
    2.  Copyright:  The software (including any images, "applets," photographs,
    animations, video, audio, music and text incorporated into the software) is
    owned by TmaxSoft or its suppliers and international treaty provisions.
    Therefore, you must treat the software like any other copyrighted materials
    (e.g., a book or musical recording) except that you may either (a) make one
    copy of the software solely for backup or archival purposes, or (b) transfer
    the software to a single hard disk provided you keep the original solely for
    backup or archival purposes.  You may not copy the printed materials
    accompanying the software, nor print copies of any user documentation provided
    in "online" or electronic form.
    
    3.  Other restrictions: This license is your proof of license to exercise the
    rights granted herein and must be retained by you. You may not rent, lease, or
    transfer your rights under this license on a permanent basis provided you
    transfer this license, the software, and all accompanying printed materials,
    retain no copies, and the recipient agrees to the terms of this license. You
    may not reverse engine, decompile, or disassemble the software, except to the
    extent that the foregoing restriction is expressly prohibited by applicable
    law.
    
    PRESS <ENTER> TO CONTINUE:
    
    DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N):
  6. Specify an installation directory, OFASM_HOME.

    To use the default value, press the Enter key. To change the directory, enter a desired installation directory (default value: $HOME/OFASM).

    ===============================================================================
    Choose Install Folder
    ---------------------
    
    Where would you like to install?
    
      Default Install Folder: /home/oframe1/OFASM
    
    ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
          :

    To overwrite an existing directory, select "1". To change to a different directory, select "2". To cancel the installation, select "3" and then press the Enter key.

    Directory Check
    
    User Specified Directory exists.
    To overwrite OpenFrame_ASM, click 'Overwrite'. To choose a Different directory,
    click 'Change'. To cancel the installation, click 'Cancel'.
    
      ->1- Overwrite
        2- Change...
        3- Cancel
    
    ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE
    DEFAULT:
  7. A progress bar will be displayed to show the installation progress.

    ===============================================================================
    Installing...
    -------------
     [==================|==================|==================|==================]
     [------------------|--
  8. When the installation is completed, the following installation completion message will be displayed. Press the Enter key to exit the installer.

    ===============================================================================
    Installation Complete
    ---------------------
    
    Congratulations. OpenFrame_ASM has been successfully installed
    
    PRESS <ENTER> TO EXIT THE INSTALLER:

2. Verifying the Installation

After installing OpenFrame ASM, it is recommended to verify the installation by checking the following items:

  • Directory structure

  • Logs

  • Environment configuration

2.1. Checking Directory Structure

Installing OpenFrame ASM creates the following directory structure:

$OFASM_HOME
+---- UninstallerData
+---- bin
+---- lib
+---- license
+---- config
+---- maclib
+---- sample
UninstallerData

Contains files for uninstalling OpenFrame ASM.

bin

Contains various execution files.

lib

Contains library files.

license

Contains license files.

config

Contains configuration files.

maclib

Contains macro library files.

sample

Contains ASM sample files.

2.2. Checking Logs

Check for error logs in the following file:

$OFASM_HOME/UninstallerData/log/OpenFrame_ASM_InstallLog.log

2.3. Checking Environment Configuration

Check that the following environment variables are configured in the .profile or .bash_profile file.

# New environment setting added by OpenFrame_ASM on Tue Feb 13 11:41:52 KST 2018 1.
# The unmodified version of this file is saved in /home/oframe9/.bash_profile505067552.
# Do NOT modify these lines; they are used to uninstall.
OFASM_HOME=/home/oframe1/OFASM
export OFASM_HOME
# End comments by InstallAnywhere on Tue Feb 13 11:41:52 KST 2018 1.

# New environment setting added by OpenFrame_ASM on Tue Feb 13 11:41:52 KST 2018 2.
# The unmodified version of this file is saved in /home/oframe9/.bash_profile505067552.
# Do NOT modify these lines; they are used to uninstall.
PATH="${PATH}:$OFASM_HOME/bin:"
export PATH
# End comments by InstallAnywhere on Tue Feb 13 11:41:52 KST 2018 2.

# New environment setting added by OpenFrame_ASM on Tue Feb 13 11:41:52 KST 2018 3.
# The unmodified version of this file is saved in /home/oframe9/.bash_profile505067552.
# Do NOT modify these lines; they are used to uninstall.
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$OFASM_HOME/lib"
export LD_LIBRARY_PATH
# End comments by InstallAnywhere on Tue Feb 13 11:41:52 KST 2018 3.

# New environment setting added by OpenFrame_ASM on Tue Feb 13 11:41:52 KST 2018 4.
# The unmodified version of this file is saved in /home/oframe9/.bash_profile505067552.
# Do NOT modify these lines; they are used to uninstall.
OFASM_MACLIB=$OFASM_HOME/maclib/ofmac:$OFASM_HOME/maclib/
export OFASM_MACLIB
# End comments by InstallAnywhere on Tue Feb 13 11:41:52 KST 2018 4.

# New environment setting added by OFMiner on Tue Feb 13 11:44:27 KST 2018 1.
# The unmodified version of this file is saved in /home/oframe9/.bash_profile1810704504.
# Do NOT modify these lines; they are used to uninstall.
OFMINER_HOME=/home/oframe9/OFMiner
export OFMINER_HOME
# End comments by InstallAnywhere on Tue Feb 13 11:44:27 KST 2018 1.

3. Uninstallation

OpenFrame ASM can be uninstalled by executing Uninstall_OFASM from the ${OFASM_HOME}/UninstallerData directory, or by removing the installation folder by using the console command. If using the console command, the settings configured in the .profile or .bash_profile file of the user should be reverted to its state before the installation.

The following shows a sample output for uninstalling OpenFrame ASM by using the uninstall file.

$./Uninstall_OFASM

Preparing CONSOLE Mode Installation...
===============================================================================
OpenFrame_ASM                     (created with InstallAnywhere by Macrovision)
-------------------------------------------------------------------------------
===============================================================================
Uninstall OpenFrame_ASM
---------------

About to uninstall...

OpenFrame_ASM

This will remove features installed by InstallAnywhere.  It will not remove
files and folders created after the installation.

PRESS <ENTER> TO CONTINUE:

===============================================================================
Uninstalling...
---------------

...*
*
*************************
*************************
*************************
************************
...*
*
*************************
*************************
*************************
*************************

===============================================================================
Uninstall Complete
------------------

All items were successfully uninstalled.

4. Verifying the Uninstallation

Verify the OpenFrame ASM uninstallation by checking the following items:

  1. Check files and folders.

    Check that the installation directory specified during the installation has been removed. Except for the installation directory, any directories created after the installation may have to be deleted manually.

    Execute the following command to remove the remaining directories and files:

    $ rm -rf OFASM
  2. Check the configuration file (.profile or .bash_profile).

    Check that the OFASM_HOME, OFASM_MACLIB, PATH, and LD_LIBRARY_PATH configuration items created during the installation have been removed.