Mailinglist Archive: opensuse (1355 mails)

< Previous Next >
[opensuse] Synaptics and RPM question
On 15/06/18 12:10 PM, Liam Proven wrote:
Synaptic is a graphical wrapper for Apt. Apt handles .deb packages via
``dpkg''. Even if there were a SUSE port, it would be little use, as
SUSE does not use Apt or dpkg or .deb packages. It uses zypper, ``rpm''
and .rpm instead.

I'm well aware of that.
But check the list of available Synaptic download for various distributions I
gave the URL for.

Fedora is listed and that uses RPMs.

There is also a link "Using APT on RPM-Based Systems"
It should lead to http://www.linux-mag.com/id/1476/
but it doesn't :-(
<quote>
Now, apt doesn’t actually install packages; instead, it calls rpm to do the
grunt work.
</quote>

I suppose of Zypper were actually a script it would as well.
But zypper uses "libzypp.so" as you might expect but also "librpm.so".
So yes, under the hood, it uses the innards of RPM rather than the CLI-level RPM
as a script would.

Go check
# ldd $(which zypper)
yourself.

As I understand it Synaptics has a version written in Python.
Great.
I could write a package manager in, say. Ruby using Ruby/Tk and the "Ruby
bindings for rpm (package manager)" and the "Ruby bindings for libzypp"
Or Perl ..




--
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting frowned upon?


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >