Upgrading the KML
This section describes how to upgrade the KML. When upgrading the KML using an RPM package, if you use parameters that are supported by the RPM package management tool but not described in this document, undefined behaviors may be introduced. Exercise caution when performing this operation.
Upgrading Using an RPM Package
- Obtain the KML software package of the target version by referring to Obtaining Software Packages and decompress it to obtain the binary RPM package.
- Upgrade the KML.
rpm -Uvh boostkit-kml-xxxx.aarch64.rpm
After the installation, the system automatically adds the path to the lib folder, that is, /usr/local/kml/lib, to the environment variable LD_LIBRARY_PATH.
In the preceding command, xxxx indicates the version number.
If an installation directory is specified during the installation, you must specify the same installation directory during the upgrade. For example, if the installation directory is /path, the upgrade command is rpm -Uvh --prefix=/path boostkit-kml-xxxx.aarch64.rpm.
Upgrading Using a DEB Package
- Obtain the KML software package of the target version by referring to Obtaining Software Packages and decompress it to obtain the binary DEB package.
- Upgrade the KML.
dpkg -P boostkit-kml dpkg -i boostkit-kml-xxxx.aarch64.deb
After the installation, the system automatically adds the path to the lib folder, that is, /usr/local/kml/lib, to the environment variable LD_LIBRARY_PATH.
In the preceding command, xxxx indicates the version number.