On Wed, 10 Nov 2010, Tony Mechelynck wrote:
On 09/11/10 18:30, Benjamin R. Haskell wrote:
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)
Note that the current openSUSE "stable" release is 11.3, with 11.4
due in March 2011.
I wouldn't expect anyone to newly install 11.2 at this point. My command was
for example purposes (11.2 = last time I installed on my work computer).
OpenSUSE also provides a "Factory" release, which adds "not ready for
primetime" builds.
Regardless, if you're actually adding a repository, you should figure
out which one you actually need. And go to an OpenSUSE-relevant support
site for more. Getting a bit OT here.
The Vim-related portion:
zypper si -d vim
(roughly equivalent to `apt-get build-dep vim-gtk` [vim and gvim share
their .src.rpm on OpenSUSE])
--
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