18-Application Hosting Command Reference

HomeSupportSwitchesS12500R SeriesReference GuidesCommand ReferencesH3C S12500R Switch Router Series Command References(R51xx)-6W10118-Application Hosting Command Reference
02-RPM application hosting commands
Title Size Download
02-RPM application hosting commands 37.44 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 2014, Key ID 24c6a8a7f4a80eb5

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

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

Build Host  : worker1.bsys.centos.org

Relocations : (not relocatable)

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

Vendor      : CentOS

URL         : http://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
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网