![]() |
![]() |
![]() |
Linux Hosts
This chapter includes the following:
- System requirements
- Installing QNX SDP
- Activating QNX SDP
- Commercializing your evaluation software
- Uninstalling QNX SDP
- Determining your base directory
![]() |
If you've already installed an evaluation version of QNX SDP 6.4.1, and you've purchased and received a commercial QNX license, please go to “Commercializing your evaluation software,” below. |
System requirements
Host OS:
- Red Hat Enterprise Workstation 4.0 or 5.0
- Red Hat Enterprise Server 5.1 64-bit
- Red Hat Fedora 10
- Ubuntu 8.04 LTS or 8.10
- SUSE 11
![]() |
You can't install QNX SDP 6.4.1 on machines that are running 64-bit Linux Ubuntu 7.10. (Ref# 56182) |
| Minimum | Recommended | |
|---|---|---|
| Processor | Pentium III, 700 MHz | Pentium 4, 2 GHz or more |
| RAM | 256 MB | 512 MB |
| Disk space | 2.2 GB | 2.2 GB |
| Monitor | 1024×768 | 1280×1024 |
The System Profiler in the IDE requires a minimum color depth of 16 bits.
Installing QNX SDP
![]() |
|
To install QNX SDP 6.4.1, do the following:
- Boot into Linux and log in as root.
- Insert the QNX Software Development Platform 6.4.1 Installation DVD in the DVD drive.
- If the system offers to run autorun, choose Yes;
otherwise run
qnxsdp-6.4.1-nnnnnnnnnnnn-linux.bin
(where nnnnnnnnnnnn is a build number),
which you'll find in the root directory of the DVD.

If your system won't let you execute from a DVD, unmount the DVD and remount it by hand. - Follow the instructions provided by InstallShield.
We recommend you use the default location for the software,
/opt/qnx641.
The installer will also ask if you wish to install a package of GNU Public License programs, such as tar and sed. We recommend that you do so for development machines.
If QNX Software Systems has a contract with you to support server-based licenses, you have a special license key that tells the software to enforce these licenses. In this case, the installer presents a panel where you can specify the hostname or IP address of the server, and the port on which the server is listening for connections. If you're using the default port, you can leave the port blank.

The installer launches a web browser at the end of the installation to display a landing page on the QNX website. On some versions of Linux, the installer might not be able to launch the browser. (Ref# 61494) Workaround: Launch a web browser and go to http://www.qnx.com/641foryou.
- Log out and log back in again, so that the environment is set up correctly.
Activating QNX SDP
The QNX Momentics Tool Suite and certain related products require activation. If you don't activate the product within the specified timeframe, the product will cease to function until you activate it. No personal data is transferred during the activation process.
![]() |
On some distributions of Linux, you might not be able to activate
QNX SDP 6.4.1 immediately after installing it.
(Ref# 59063)
Workaround: Log out and back in again before trying to activate. |
Activating automatically
If your development host is connected to the Internet, you can activate QNX SDP automatically.
Activating manually
If your machine isn't connected to the Internet, you must activate your software manually from a machine that is, by doing the following:
- In the QNX SDP Activation dialog, click Activate Manually.
The Manual Activation dialog appears with an activate-prompt key. This dialog has a button that you can use to save the activate-prompt key in a file, /etc/qnx/license/activate_prompt_key.txt. This can eliminate the need to retype the key, which can be error-prone.
- Transfer the activate-prompt key to the machine that's connected to the Internet.
- Go to our website, www.qnx.com, log into your myQNX account, and choose Manual Product Activation.
- Enter the activate-prompt key into the form that appears, and then click Generate Response Key. This will return an activate-response key.
- Copy the activate-response key and paste it in a file.
- Transfer the file into /etc/qnx/license/activate_response_key.txt on your QNX SDP development host.
- If you closed the QNX SDP Activation dialog, open it again
by entering the following at a terminal prompt:
/etc/qnx/bin/qnxactivate -a
- Choose Activate Manually, and use the Load Response from File button to load the activate-response key, and then click Activate.
If you choose not to activate at the time of installation, you can activate later by entering the following at a terminal prompt:
/etc/qnx/bin/qnxactivate -a
Commercializing your evaluation software
If you installed an evaluation copy of QNX SDP 6.4.1, and you've now received a commercial QNX license, do the following to add your commercial license:
- Type the following at a terminal prompt:
base_directory/install/qnxsdp/6.4.1/AddLicense.bin
where base_directory is where you installed QNX SDP (see “Determining your base directory,” below).
- In the QNX SDP License Key Entry dialog, fill in the field with the license-key information.
- When you've finished entering the information, click Add to save the license-key information and configure your QNX SDP tools to use this file.
- After entering the license key, you'll be presented with the appropriate license agreement. You'll need to accept it in order to successfully add a license.
Uninstalling QNX SDP
![]() |
You should uninstall QNX products in the reverse order in which you
installed them.
To determine this order, use a command like this:
ls -lt `find base_directory -name "*uninstall*.bin"` where base_directory is where you installed the QNX Software Development Platform. |
To uninstall QNX SDP, do the following:
- Log in as root.
- Go to a directory outside the base_dir
directory (see
“Determining your base directory,”
below) and run:
base_dir/_uninstall/qnxsdp/6.4.1/uninstaller.bin
- Log out and back in again.
![]() |
If the uninstaller doesn't fully remove all the components, you can use the QNXLinuxCleanup utility to clean up your machine. You can find this utility and documentation for it in the Utilities directory on the DVD, or on our website. |
Determining your base directory
To determine the base directory for QNX SDP, open a command shell and use the qconfig command. For example:
$ qconfig
QNX Installations
Installation Name: QNX Software Development Platform 6.4.1
Version: 6.4.1
Base Directory: /opt/qnx641/
QNX_HOST: /opt/qnx641/host/linux/x86/
QNX_TARGET: /opt/qnx641/target/qnx6/
The base directory in this example is /opt/qnx641/, but it could be different on your machine, depending on where you installed QNX SDP.
![]() |
![]() |
![]() |

![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Next]](next.gif)