Mailinglist Archive: opensuse (1837 mails)

< Previous Next >
Re: [opensuse] Add new repository to yast repositories from line
  • From: "Brian K. White" <brian@xxxxxxxxx>
  • Date: Thu, 09 Sep 2010 13:26:08 -0400
  • Message-id: <4C8918B0.1030606@xxxxxxxxx>
On 9/9/2010 3:46 AM, David Česal wrote:
please, is it possible to add new repository to yast from a command line?

"man zypper"

zypper ar -f url_of_repo name_you_make_up

Say the repo I want is "";

I make up a local nickname/alias for it, say, "clibs"

The command to add it, with auto-refresh turned on, is:

zypper ar -f clibs

Optionally perform an initial refresh so that you can answer the one-time yes/no prompt ahead of time and not encounter it in yast:

zypper ref

List out all your current repos:

zypper lr -u

All this is right in "man zypper"


To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >