QNXLinuxCleanup Notes (6.4.0)
Remove ALL previously installed QNX components to allow QNX product upgrade or
reinstallation.
Syntax:
QNXLinuxCleanup [-s] [folder_path ...]
Runs on:
Any Linux distribution with a Perl v5 or later interpreter that is
supported by either QNX Momentics or QNX Software Development Platform.
Options:
-s
Run silently without showing any information messages, error messages, or
prompts.
folder_path ...
One or more folder paths specifying the installation location for QNX products
that were not installed in the default location.
Description:
The QNXLinuxCleanup utility removes folders, files, registry entries, and
system environment variables that may not have been cleanly removed by a
previous QNX product uninstallation.
If you have uninstalled a QNX product, but an installer insists that a product
is still there, you might need to run this program to clean up your Linux
system.
QNXLinuxCleanup moves deleted files and folders to /root/.Trash, or deletes
them outright if /root/.Trash does not exist. After you have verified that
the utility did not remove any user data and you have confirmed that you want
to finalize the clean-up, you can remove the deleted items from the Trash.
Warning
If /root/.Trash does not exist, QNXLinuxCleanup deletes files and folders
outright. Before proceeding, make sure that your system has a /root/.Trash so
that, if required, you will be able to restore deleted files and folders from
/root/.Trash, and restore your QNX installation.
Do not empty the Trash or delete the vpd.properties.bk file until you are
certain that you will not need to restore your QNX installation. If you empty
the Trash or delete the backup file, you will not be able to restore your
QNX installation.
Supported QNX Products
QNXLinuxCleanup supports the following QNX Products:
. QNX Momentics Standard Edition 6.3.0
. QNX Momentics Professional Edition 6.3.0
. QNX Momentics Standard Edition 6.3.0 SP1
. QNX Momentics Professional Edition 6.3.0 SP1
. QNX Momentics Standard Edition 6.3.0 SP2
. QNX Momentics Professional Edition 6.3.0 SP2
. QNX Momentics Standard Edition 6.3.0 SP3
. QNX Momentics Professional Edition 6.3.0 SP3
. QNX Momentics 6.3.2
. QNX Momentics IDE 4
. QNX Momentics Development Suite Evaluation February 2007
. QNX Software Development Platform 6.4.0
What QNXLinuxCleanup removes
QNXLinuxCleanup removes all QNX entries from the vpd.properties file in the root
directory (/root), and creates a backup of the file, called vpd.properties.bk,
in the same directory.
Note that, If QNXLinuxCleanup deletes system environment variables, you must
reboot your system to complete the clean-up.
If QNXLinuxCleanup finds the following folders, files, and environment
variables, it removes them:
Folders
. /etc/qnx
. /opt/qnx
. /opt/qnx630
. /opt/qnx632
. /opt/qnx640
. /opt/qnx/Momentics
System Environment Variables
. QNX_HOST
. QNX_TARGET
. QNX_CONFIGURATION
. QNX_JAVAHOME
. MAKEFLAGS
Examples:
Clean up a system where all QNX products were installed in default locations:
# QNXLinuxCleanup.pl
Clean up a system where QNX Momentics 6.3.0 SP3 and IDE 4 were installed in
custom locations:
# QNXWinCleanup /opt/qnx/Momentics/6.3.0SP3 /opt/qnx/Momentics/IDE4
Note:
If you have QNX Momentics 6.3.x or QNX Software Development Platform 6.4.0
installed in a non-default location, you might have to re-run
QNXLinuxCleanup specifying the folder to be removed.
Restoring the QNX installation after running QNXWinCleanup
Warning: You can restore the installations only if you have not emptied
the Trash. Make sure that you restore all the folders and files that are
relevant to the installation you are restoring, or you will have a partial
installation, which will not function as required.
If after running QNXLinuxCleanup you wish to restore your QNX installations:
1. Restore all the QNX-related content from the Trash.
2. Restore the vpd.properties file from its backup copy.
3. Restore the environment variables.
4. If you have manually modified the Path variable, restore it.