Novell LINUX ENTERPRISE SERVER 11 - ADMINISTRATION Administration Manual page 39

Hide thumbs Also See for LINUX ENTERPRISE SERVER 11 - ADMINISTRATION:
Table of Contents

Advertisement

The result will look similar to the following output:
# | Alias
| Enabled | Refresh
--+-----------------------------------+-----------------------------------+---------+--------
1 | SUSE-Linux-Enterprise-Server 11-0 | SUSE-Linux-Enterprise-Server 11-0
| Yes
| No
2 | SLES-11-Updates
| Yes
| Yes
3 | broadcomdrv
| Yes
| No
When specifying repositories in various commands, an alias, URI or repository number
from the zypper repos command output can be used. Note however that the numbers
can change after modifying the list of repositories. The alias will never change by itself.
If you want to remove a repository from the list, use the command zypper
removerepo together with the alias or number of the repository you want to delete.
To remove the Broadcom Drivers from the example, use the following command:
zypper removerepo 3
To add a repository, run
zypper addrepo URI Alias
URI can either be an Internet repository, a directory or a CD or DVD. The Alias is
a shorthand and unique identifier of the repository. You can freely choose it, with the
only exception that is has to be unique. Zypper will issue a warning if you specify an
alias that is already in use.
To make working with repositories more convenient, use short and easy to remember
aliases. A repository alias can be changed using the renamerepo command. For ex-
ample, to rename the lengthy SUSE-Linux-Enterprise-Server 11-0 from
the example to the short and handy label main, enter:
zypper renamerepo 1 main
4.1.5 Querying
Various querying commands such as search, info or what-provides are avail-
able.
| Name
| SLES 11 Online Updates
| Broadcom Drivers
Managing Software with Command Line Tools
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11

Table of Contents