Jump to main content
Nokia Corporation
SR Linux R24.7
  • Overview
  • Install and commission
  • Operate and maintain
  • Monitor and troubleshoot
  • Reference
  • Release information
SR Linux R24.7
  1. Home
  2. Install and commission

    Documents under this category help you install and commission your SR Linux software. This includes prerequisites, container installation, software upgrades, and recovery procedures.

  3. Software Installation Guide

    This document describes how to install the Nokia Service Router Linux (SR Linux) in various environments. It defines the required prerequisites and procedures for how to install SR Linux software elements. Examples of commonly used commands are provided.

  4. Appendix: Migrating from CentOS to Debian OS

  • Install and commission

    Documents under this category help you install and commission your SR Linux software. This includes prerequisites, container installation, software upgrades, and recovery procedures.

    • Software Installation Guide

      This document describes how to install the Nokia Service Router Linux (SR Linux) in various environments. It defines the required prerequisites and procedures for how to install SR Linux software elements. Examples of commonly used commands are provided.

      • About this guide
      • What's new
      • SR Linux software overview
      • Deploying SR Linux container images
      • Installing software
      • Zero Touch Provisioning
      • BootZ
      • Appendix: ZTP Python library
      • Appendix: Migrating from CentOS to Debian OS

      • Software Installation Guide PDF
    • 7220 IXR Hardware Installation Guides
    • 7250 IXR Hardware Installation Guides

Appendix: Migrating from CentOS to Debian OS

The migration process from CentOS to Debian OS involves the following high-level changes:

  • The filename format for .deb packages differs from that of .rpm packages. In the .deb format, the filename follows the pattern: <name>_<version>_<arch>.deb
    Note: Underscores must not be included in name, version, or arch components. The .rpm format is different from this, as it uses hyphens to separate components and allows underscores in names.
    In addition to change in package name, this also involves change in package formatting, including a change in the package manager.
  • Debian uses the apt or apt-get command for package management, while CentOS uses yum or dnf.
  • The loading of shell profile files, such as /etc/profile.d/sr_app_env.sh, differs between Debian and CentOS. In most cases, the loading process is centrally aligned. However, there can be instances where the environment of an application or script does not meet the expected conditions. For example, the PATH variable may not include the srlinux paths. In such cases, you can replace sh to bash, or append -l to the shell command, or combine both options, to make it a login shell.
Debian 12 uses Python 3.11.2 by default. The Python upgrade from the previously used 3.6 version to 3.11.2 does not affect the functionality of the following items, unless otherwise specified.
  • Event Handler scripts
  • NDK
    Note: The new path of the generated NDK protos on Debian is /usr/lib/python3.11/dist-packages/sdk_protos. A symlink has been added to refer to the new path from the old one. In future releases, the symlink will no longer be available. Therefore, NDK developers who use on-box generated protos must update their import paths accordingly.
  • Python provisioning scripts
  • Show commands and CLI plug-ins
  • ZTP Python library
However, in the case of custom package development, following must be considered:
  • Python packages are installed as wheels instead of eggs. For instructions about packaging in wheels format, see the Wheels binary package documentation.
  • The parametrized package replaces the Python module nose-parameterized package. For migration instructions, see the nose-parametrized documentation.

July 24, 2024

Nokia logo

Looking for Nokia Licensed products?
External link icon Visit mynokia.com
  • Standardization
  • Nokia EDU and Training
  • Sustainability
  • Experience Centers

  • Contact us
  • Support
  • Doc Center
  • Documentation feedback

Subscribe for our latest news
  • Instagram icon
  • WhatsApp icon
  • Twitter icon
  • Google icon
  • Facebook icon

©2024 Nokia all rights reserved
  • Cookies
  • Privacy
  • Terms of use
  • Inclusive terminology
  • Modern slavery statement