Home
Developer Resources
Technical Articles

QNX Technical Articles

QNX CAR Platform for Infotainment 2.1: Installation NoteLinux Hosts

Electronic edition published: Friday, November 7, 2014

Target OS: The QNX CAR Platform for Infotainment 2.1 produces software that's compatible with targets that are running the QNX Neutrino RTOS 6.6.

Host OS: You can install this package on Linux Red Hat Enterprise Linux 6 64-bit or Ubuntu Workstation 12.04 LTS 64-bit.

Note:
  • You must have already installed the QNX Software Development Platform 6.6 and the QNX SDK for Apps and Media 1.0.
  • If you've already installed an evaluation version of this product, and you've purchased and received a commercial QNX license or you've received an evaluation extension license, see "Commercializing your evaluation software," below.
  • If you installed an alpha version of this software, uninstall it before installing the production version.

Before you start

Before you install this software, note the following:

  • We post CRC and MD5 checksums with the packages in the Download area on our website. If you download an installer from our website, make sure that its checksum matches that given on the website. On Unix-style OSs (e.g., QNX Neutrino, Linux), you can use the cksum utility to calculate the CRC checksum. Microsoft doesn't support such utilities on Windows, but they're available from third parties.
  • There are several QNX Development License streams that govern how the QNX CAR Platform for Infotainment can be used in different situations. The key on your license certificate will cause the appropriate license agreement to be displayed when you install the product; that development license governs your use of the product.

    Once you've installed the QNX CAR Platform for Infotainment, you'll find a copy of all the license agreements in base_directory/install/qnx-car/2.1, where base_directory is where you installed the software.

    For more information about licensing, visit the Licensing area of http://www.qnx.com, where you'll find details on our licensing model, types of licenses, etc., or email licensing@qnx.com.

  • For information about features and known issues, see the release notes. For the most up-to-date version, go to our website, http://www.qnx.com, log in to your myQNX account, and then go to the Download area.
  • If you're running selinux (secure Linux), disable it before installing this product. Otherwise, after you've entered the license key and clicked Next, the installation will fail with this error:
    java.lang.UnsatisfiedLinkError: no qnxlic in java.library.path
    
  • In order to run the installer and the IDE on Ubuntu 64-bit, you need to install the 32-bit libraries:
    sudo apt-get install ia32-libs
      

    Answer yes to all the questions. (Ref# 70567, J237671)

  • In order to run the installer on Red Hat 6.4 64-bit, you need to install the 32-bit libraries:
    yum install redhat-lsb.i686
      

    (Ref# 393526)

System requirements

Host OS:

  • Linux Red Hat Enterprise Linux 6 64-bit
  • Ubuntu Workstation 12.04 LTS 64-bit
Minimum Recommended
Processor Pentium III, 700 MHz Pentium 4, 2 GHz or more
RAM 256 MB 512 MB
Disk space 2.2 GB 3.1 GB
Monitor 1024768 12801024

The System Profiler in the IDE requires a minimum color depth of 16 bits.

Installing this product

To install this product, do the following:

  1. Log in to your myQNX account on our website, and then go to the Download area.
  2. Download the QNX CAR Platform for Infotainment package, qnx-car-2.1-nnnnnnnnnnnn.bin, where nnnnnnnnnnnn is a build number. The package is a .bin script.
  3. Verify that the checksum of the package matches the one given in the Download area.
  4. Go to the directory where you downloaded the script.
  5. Run chmod to make the script executable. For example:
    chmod a+x qnx-car-2.1-20131234567.bin
    
  6. Run the script at the system prompt. For example:
    ./qnx-car-2.1-20131234567.bin
        
    Note: On Ubuntu, you need cd to the directory where the installer is located and run it there, or specify the absolute path to the installer. (Ref# J393516)
  7. Follow the instructions on your screen.

Unattended installation

After you've installed the QNX CAR Platform for Infotainment once, you can run the installer unattended on other machines:

  1. Run the installer in graphical mode to generate a response file:
    ./installer-name r path/installer-responses.txt
      
  2. Use the response file to do further installations in unattended mode:
    ./installer-name f path/installer-responses.txt i silent
      

Setting up your environment

To set up the environment in a command shell, run:

source base_directory/qnx660-env.sh

where base_directory is where you installed QNX SDP (see "Determining your base directory," below). If you can't remember where you installed this product, search for qnx660-env.sh. This file is in the base directory.

Commercializing your evaluation software

If you installed an evaluation copy of this product, and you've now received a commercial QNX license, do the following to add your commercial license:
  1. Type the following at a terminal prompt:
    source base_directory/qnx660-env.sh
    base_directory/install/addLicense.bin
      

    where base_directory is where you installed the product (see "Determining your base directory," below).

  2. In the QNX License Key Entry dialog, fill in the field with the license-key information.
  3. When you've finished entering the information, click Add to save the license-key information and configure your QNX tools to use this file.
  4. 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 this product

Note:
  • You should uninstall QNX products in the reverse order in which you installed them. To determine this order, set up your environment, and then use a command like this:
    ls -lt `find base_directory -name "*uninstall*"`
    

    where base_directory is where you installed the software.

  • If you earlier installed the QNX Software Development Platform and you used the same QNX_CONFIGURATION directory when you installed the QNX CAR Platform for Infotainment, and you then uninstall QNX SDP, its uninstaller removes that directory, including the licenses, licensing binaries, and so on for the QNX CAR Platform for Infotainment. (Ref# 264895, J393519)

    Workaround: Don't uninstall QNX SDP while the QNX CAR Platform for Infotainment is still installed, or back up the directory identified by QNX_CONFIGURATION, uninstall QNX SDP, and then restore the directory.

To uninstall this product, go to a directory outside the base_directory directory (see "Determining your base directory," below) and run the uninstaller:

base_directory/install/qnx-car/2.1/uninstaller
    

Determining your base directory

If you have a command shell with the environment set up for the QNX CAR Platform for Infotainment, you can determine the base directory by using the qconfig command. For example:

$ qconfig
QNX Installations 

  Installation Name: QNX Software Development Platform 6.6
            Version: 6.6.0
     Base Directory: /home/my_userid/qnx660
           QNX_HOST: /home/my_userid/qnx660/host/linux/x86
         QNX_TARGET: /home/my_userid/qnx660/target/qnx6

Additional Packages

	  Package Name: QNX CAR Platform for Infotainment 2.1
	       Version: 2.1
	          Base: SDP 6.6
	  Installation Path: /home/my_userid/qnx660

	  Package Name: QNX SDK for Apps and Media 1.0
	       Version: 1.0
	          Base: SDP 6.6
	  Installation Path: /home/my_userid/qnx660

The base directory in this example is /home/my_userid/, but it could be different on your machine, depending on where you installed the product.

If you don't have the environment set up, and you can't remember where you installed this product, run the following command (with sudo on systems such as Ubuntu):

find / -name "qnx660-env.sh"

This file is in the base directory.

Installing additional packages

The following optional packages are available as downloadable .zip archives from the QNX Download Center:
Archive Description
android-datestamp.zip Android runtime components to allow Android apps to run on QNX CAR targets.
bluetooth-datestamp.zip Cybercom blueGO and Sybase iAnywhere stack and profile components.
dlna-datestamp.zip Digital Living Network Alliance components.
ebnav-datestamp.zip Elektrobit turn-by-turn navigation engine.
nuance-datestamp.zip Nuance speech recognition and text-to-speech components.
realvnc-datestamp.zip RealVNC SDK components for MirrorLink services.
redbend-datestamp.zip Red Bend components to support FOTA software updates.

Getting started with the documentation

After you've installed this product, you'll find an extensive set of HTML documentation. You can read it in the Integrated Development Environment's help system. To start the IDE on Linux, use this command:

base_directory/run-qde.sh

On Windows, use the desktop icon or run:

base_directory\run-qde.bat

where base_directory is where you installed the software.

For the latest version of the documentation, see our Foundry27 site, http://community.qnx.com.

Technical support

To obtain technical support for any QNX product, visit the Support area on our website (www.qnx.com). You'll find a wide range of support options, including community forums.