Configuration Guide for Cisco NCS 1001, IOS XR Release 25.x.x

PDF

Configuration Guide for Cisco NCS 1001, IOS XR Release 25.x.x

Third party RPMs installation using App Manager install UI

Want to summarize with AI?

Log in

This section explains how App Manager install UI supports runtime installation of third-party RPMs while the router continues operating and prepares readers for the related installation workflow.


This section describes how to install third party RPMs using App Manager install UI at runtime while the router is running.


Limitation and guidelines for third party RPMs

These are the limitations and guidelines for the TP RPMs.

  • RPM must not have “scriptlets”. Scriptlets allow packages to run code on installation and removal.

  • RPM must not be already installed via XR Install UI.

  • RPM must not be already installed via App manager UI.

  • TP RPMs must install files only to the /var/lib/docker/appmgr/ filesystem location.

  • RPM Signature verification is not enforced by App Manager Install UI. It supports unsigned TP RPMs.


Install third party RPMs using App Manager install UI

Use this task to install third party RPMs using App Manager install UI.

Procedure

1.

Create an RPM containing the application (in the form of a docker container image).

2.

Use App manager RPM build tool to generate TP RPMs. See https://github.com/ios-xr/xr-appmgr-build/blob/main/README.md.

3.

Install the TP RPM using the App Manager Install UI command.

Example:

RP/0/RP0/CPU0:ios# appmgr package install rpm /harddisk\:/alpine-0.1.0-XR_7.3.1.x86_64.rpm

Uninstall third party RPMs using App Manager install UI

Use this task to uninstall third party RPMs using App Manager install UI.

Uninstallation of TP RPM can be performed using two ways.

App manager uninstall CLI uninstalls the TP RPM at runtime while NCS 1001 is running.

Procedure

1.

Uninstall using source name.

Example:

RP/0/RP0/CPU0:ios# appmgr package uninstall source alpine
2.

Uninstall using package name.

Example:

RP/0/RP0/CPU0:ios# appmgr package uninstall package alpine-0.1.0-XR_7.3.1.x86_64