Step 2: Running the Install Program

Note
Before you can run TotalView, you must obtain a demo licence. You can obtain one by filling in the form located at http://www.totalviewtech.com. After filing in this form, we will email you a demo license.

Here is the procedure for installing TotalView:

  1. (Optional) Go to the system upon which you will be installing TotalView and become the root user:
  2. su root

    NoteIn some circumstances (particularly on a Macintosh), you'll want to use the sudo command instead of su. If you use the sudo command, you'll be typing sudo ./Install instead of ./Install in step 2.

    Installing TotalView as the root user prevents users from modifying the software. However, you should not run TotalView as root.

  3. Go to the directory containing the files extracted from the downloaded tar file and then start the Install program by typing:
  4. ./Install

    For information on using this command, type ./Install –help. If you use any of the options described in this displayed information, the installation procedure is no longer interactive.

    The Install program asks that you name an installation directory. If the directory you specify does not exist, the Install program creates it.

    If you do not enter a name, the installation directory will either be/usr/toolworks or /opt/toolworks—this is system-dependent. Type a period "." to place TotalView in your current directory.

    This manual refers to the installation directory's pathname as installdir.

    The Install program then creates a toolworks directory and places two subdirectories within it:

    • totalview.version. This is where Install places TotalView.
    • flexlm-version: This is where Install places the license manager.
  5. You are now asked to select which components you wish to install.
  6. If you are installing TotalView for multiple platforms in a common NFS directory, you only need to install the common components once.

  7. The Install program asks if it should create a symbolic link (named totalview) to this installation directory.
  8. If you are not the root user, Install cannot create the link, so you should answer "n" (no). If Install cannot create the link, you can ignore its complaints and continue installing TotalView by pressing Enter.

  9. If you became root using su, exit from root after Install concludes by typing:
  10. exit

  11. Test if TotalView was successfully installed by typing:
  12. installdir/toolworks/totalview.version/bin/totalview

    TotalView prints information that includes a version number and a message indicating that a license file is not installed.

    If TotalView cannot initialize the license manager, it prints the following message:

    Unable to initialize TotalView license

    If you see this message, you need to confirm that you did install the license. You may need to set the LM_LICENSE_FILE environment variable to the installation directory. (This variable is described in the next step.)

 


TotalView Technologies.
http://www.totalviewtech.com
Voice: (508) 652-7700
version 8.7
Copyright © 2009, TotalView Technologies, LLC. All Rights Reserved.
Comments to: documentation@totalviewtechnologies.com