Qtopia Home - Classes - Hierachy - Annotated - Functions - Licenses - Reference

Installing an RPM

Installing an RPM Package

An RPM package is a package that has a filename that ends with .rpm. Qtopia RPM packages contain documentation, pre-built binaries, and source files where appropriate. RPM packages are specifically built for a particular Linux distribution, but will install and run on other compatible distributions in most circumstances. The distribution (and version) for the package is reflected in the package file name, for example, -suse82 or -redhat9. RPM packages are installed using the rpm (Redhat Package Manager) installation tool that is available with most Linux distributions.

RPM File Names

The file name for RPM packages can have one of the following file extensions:

Please select the file name extension that best describes your specific host system.

Installation Steps

To install a RPM package follow these steps:

  1. download the required RPM
  2. download the qt-license-* file
  3. copy the qt-license file to your home directory and rename it to .qt-license
  4. log in as root:
     
         su root
     
  5. install the package:
         tar -ivh <package>
    
    where package is the full path and filename of the downloaded package.

Note: Old versions of Qtopia must be removed before installation of the new version.

To check if an older version is installed:

  1. log in as root:
         su root
    
  2. query the RPM database:
         rpm -qa | grep qtopia
    
The query will return a list of all installed Qtopia products, for example:
        qtopia-developer-2.1.2
        qtopia-tools-1.0.0
        qtopia-desktop-2.1.2

Note:

  1. qtopia-developer and qtopia-tools are explicitly mentioned in the above listing because these packages are likely to be installed on a current system. The new packages will have names such as qtopia-phone-sdk-x.y.z and iqtopia-pda-sdk-x.y.z and the qtopia-tools package is now integrated into the SDK.

  2. The qtopia-tools package does not need to be removed as it will not be used by the new SDK package.

To remove an RPM package please take the following steps:

  1. log in as root:
         su root 
    
  2. remove the package
         rpm -e <packagename> 
    
    where packagename is the name of the package as listed by the command:
        rpm -qa
    

After the RPM is installed the binaries are located in:

Package Location
Qtopia SDK (Professional/Light) /opt/Qtopia/bin
qtopia-desktop /opt/QtopiaDesktop/bin


Copyright © 2005 Trolltech Trademarks
Qtopia version 2.2.0