[opensuse] Add new repository to yast repositories from line
Hello, please, is it possible to add new repository to yast from a command line? If I add repository with "zypper sa", it cannot be used with yast. Thank you. David Cesal -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
於 西元2010年09月09日 15:46, David Česal 提到:
Hello, please, is it possible to add new repository to yast from a command line? If I add repository with "zypper sa", it cannot be used with yast.
Thank you.
David Cesal
David , try this syntax : zypper ar repository_url repository_name for example : zypper ar http://download.opensuse.org/repositories/home:/swyear/openSUSE_11.3/ swyear -- Figaro Yang, Web : www.neo-info.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday, September 09, 2010 13:16:00 David Česal wrote:
please, is it possible to add new repository to yast from a command line? If I add repository with "zypper sa", it cannot be used with yast.
you may want to look at all the zypper commands & options by using the it's manual. either type "man zypper" on the command line, or, much more convenient with long manuals like zypper, type "man:/zypper" into the address bar in konqueror. that's easier to scroll & search. -- phani. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 09/09/2010 04:13 AM, phanisvara das pecked at the keyboard and wrote:
On Thursday, September 09, 2010 13:16:00 David Česal wrote:
please, is it possible to add new repository to yast from a command line? If I add repository with "zypper sa", it cannot be used with yast.
you may want to look at all the zypper commands & options by using the it's manual. either type "man zypper" on the command line, or, much more convenient with long manuals like zypper, type "man:/zypper" into the address bar in konqueror. that's easier to scroll & search.
-- phani.
Or you can use zypper ar --help at then command line. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 09/09/2010 at 9:46 AM, David Česal
wrote: Hello, please, is it possible to add new repository to yast from a command line? If I add repository with "zypper sa", it cannot be used with yast.
There is also a nice cheat sheet for zypper available: http://en.opensuse.org/images/1/17/Zypper-cheat-sheet-1.pdf It should give a rough overview over the parameters it supports. Dominique -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 9/9/2010 3:46 AM, David Česal wrote:
Hello, 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 "http://download.opensuse.org/repositories/devel:/libraries:/c_c++/openSUSE_1..." 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 http://download.opensuse.org/repositories/devel:/libraries:/c_c++/openSUSE_1... 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" -- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Brian K. White
-
David Česal
-
Dominique Leuenberger
-
Figaro Yang
-
Ken Schneider - openSUSE
-
phanisvara das