22-Application Hosting Command Reference

HomeSupportRoutersSR6600-M SeriesReference GuidesCommand ReferencesH3C SR6608-M Router Command Reference-R9141-6W10122-Application Hosting Command Reference
01-RPM application hosting commands
Title Size Download
01-RPM application hosting commands 41.28 KB

RPM application hosting commands

rpm

Use rpm to install an RPM application in Comware.

Syntax

rpm [ params ]

Views

System view

Predefined user roles

network-admin

Parameters

params: Specifies parameters. The parameter requirements are the same as those in the Linux system. You can enter rpm –-help to view the parameter help information.

Usage guidelines

The Comware system integrates the RPM functions. After you log in to the Comware CLI interface, you can issue the rpm command as in Linux to install, run, and manage RPM applications.

Examples

# Query information about the package nano-2.3.1-10.el7.x86_64.rpm.

<Sysname> system-view

[Sysname] rpm -qp --info nano-2.3.1-10.el7.x86_64.rpm

Name        : nano

Version     : 2.3.1

Release     : 10.el7

Architecture: x86_64

Install Date: (not installed)

Group       : Applications/Editors

Size        : 1715901

License     : GPLv3+

Signature   : RSA/SHA256, Fri Jul  4 03:53:43 2019, Key ID 24c6a8a7f4a80eb5

Source RPM  : nano-2.3.1-10.el7.src.rpm

Build Date  : Tue Jun 10 04:47:54 2019

Build Host  : worker1.bsys.centos.org

Relocations : (not relocatable)

Packager    : CentOS BuildSystem <https://bugs.centos.org>

Vendor      : CentOS

URL         : https://www.nano-editor.org

Summary     : A small text editor

Description :

GNU nano is a small and friendly text editor.

[Sysname]

run bash

Use run bash to run an RPM application from Bash.

Syntax

run bash app [ params ]

Views

System view

Predefined user roles

network-admin

Parameters

app: Specifies the application name.

params: Specifies the parameters for the rpm command. You can enter the run bash app –-help command to display the help information.

Examples

# Run the nano editor.

<Sysname> system-view

[Sysname] run bash nano

  GNU nano 2.3.1                New Buffer

 

 

 

 

 

 

 

^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos

^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网