Automatic Deployment from the Repository - zypper

The repository can be added from the command line interface through zypper using addrepo or ar with the directory location of the repository  and package alias, rmmagent.

# zypper addrepo http://repos.*/rmmagent/distribution/ rmmagent

# zypper ar http://repos.*/rmmagent/distribution/ rmmagent

# zypper addrepo http://repos.systemmonitor.co.uk/rmmagent/openSUSE_11.4/ rmmagent

Adding repository 'rmmagent' [done]

Repository 'rmmagent' successfully added

Enabled: Yes

Autorefresh: No

URI: http://repos.repos.systemmonitor.co.uk/rmmagent/openSUSE_11.4/

Enter info or if for information on the repository, this will also prompt for the installation of the GPG key:

# zypper info rmmagent

# zypper if rmmagent

# zypper info rmmagent

New repository or package signing key received:

Key ID: B8CB03D97C3BF262

Key Name: rmmagent

Key Fingerprint: 746E7EE9BCE79CFE040A1412B8CB03D97C3BF262

Key Created: Tue Jun 19 12:50:15 2012

Key Expires: Thu Aug 28 12:50:15 2014

Repository: rmmagent

Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a

Building repository 'rmmagent' cache [done]

Loading repository data...

Reading installed packages...

Information for package rmmagent:

Repository: rmmagent

Name: rmmagent

Version: 0.8.0.osuse11.4-15.1

Arch: i586

Vendor: "Remote Monitoring"

Installed: No

Status: not installed

Installed Size: 7.1 MiB

Summary: Advanced Monitoring Agent

Description:

Advanced Monitoring Agent for Linux.

The package is installed with the install or in command

#zypper install rmmagent

#zypper in rmmagent

# zypper install rmmagent

Building repository 'rmmagent' cache [done]

Loading repository data...

Reading installed packages...

Resolving package dependencies...

The following NEW package is going to be installed:

 rmmagent

1 new package to install.

Overall download size: 1.9 MiB. After the operation, additional 7.1 MiB will be used.

Continue? [y/n/?] (y): y

Retrieving package rmmagent-0.8.0.osuse11.4-15.1.i586 (1/1), 1.9 MiB (7.1 MiB unpacked)

Retrieving: rmmagent-0.8.0.osuse11.4-15.1.i586.rpm [done (418.5 KiB/s)]

Installing: rmmagent-0.8.0.osuse11.4-15.1 [done]

Enter y to accept the package size and once installed Register the Agent on the Dashboard.