On Mon, 8 Nov 2010, John Little wrote:

I asked:
Anyone know the yum (or whatever) equivalent for Red Hat derived distros?

And Tony commented:

I'm using openSUSE which, though being RedHat-derived, has its own package-management software, with a choice of two programs:

- yast ...
- zypper ...

Interesting to read about ZYpp (yast is a gui front end for ZYpp); it claims to be better at dependency management than APT. Now, to find the equivalent of "apt-get build-dep vim-gtk" to revise the wiki, I'd need to know the name of a suitable package (or the corresponding ZYpp term) in SuSe or openSUSE and the zypper command to use, anyone?

zypper source-install --build-deps-only vim
==
zypper si -d vim

That assumes, though, that there's a source version of the package installable from a configured repository (not usually the case, by default).

zypper search -t srcpackage vim
==
zypper se -t srcpackage vim

will show whether one exists.

If not, you'll need to add a source repository. On OpenSUSE 11.2 I added, for example:

zypper ar http://download.opensuse.org/source/distribution/11.2/repo/oss/ 
src-11.2
(ar = addrepo)

--
Best,
Ben

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to