Re: Package manager of choice



André Hänsel wrote:
Therefore I need to know which combination of tools will be used in the
future.

OK

RPM with yast?

Yes

RPM with yum?

Yes

APT?

Yes

Red Carpet?

Yes. You forgot smart.

Depending on the answer, I also need to know how to install several packages
in a batch including their required packages.

See that it works with RPM. The rest are layers on RPM and are
repository server things. So making a workable RPM is the first step.

With APT I know it already,
quite easy there. ;)

First: do you have an RPM that works? See that you have one that does
that AND that tells what other RPMs are needed. I am a lousy RPM maker.
You can use the opensuse-packaging mailinglist if you need more specific
help.
It should not only install the packages, it should also check what else
you need.

Once you have a working RPM (e.g. that cmplains if the extra's are not
installed and that places the scripts in /usr/bin) you can start
worrying about the extra dependencies.
First: are they external dependencies, or are they already included in
SUSE? e.g. do you want to check for wget? Then you can just add the
default installation sources to whatever you use, be it YaST, smart,
Yum, ...

Do you need MPlayer? Then you need to add Packman. Do you need something
else that is in no repository, like libdvdcss or some RPM you made
yourself? Then read on, othewise, read on.

To be able to install your file.rpm with e.g. YaST, you need it to be in
a repository. rpm-create uses /usr/src/packages/RPMS as default, so I am
going to use that.

Place your_file-0.1.386.rpm in /usr/src/packages/RPMS/*
Place all other RPMSs that you want in your own repository there as
well. Next run `createrepo /usr/src/packages/RPMS` and add
/usr/src/packages/RPMS as an installation source. You can use this as a
location for NFS, FTP or HTTP so others can reach it.

Now just use whatever you like to install it. smart and YaST and yum
will be able to read it. You can sign it for security:
http://en.opensuse.org/Secure_Installation_Sources

Now that you have a place where people can reach it online, you might
want to include it on CD1 or on a DVD. That can be done with makeSUSEdvd
as follows: `makeSUSEdvd -a /usr/src/packages/RPMS`
Version 0.33 will make the file searchable. Version 0.34 (online today
or tomorrow) will also make it selectable.

You will get a ISO that you can use for installation and can be
distributed to whomever you like.
--
houghi http://houghi.org http://www.plainfaqs.org/linux/
http://www.netmeister.org/news/learn2quote.html

Today I went outside. My pupils have never been tinier...
.



Relevant Pages

  • Re: [opensuse] Zypper segmentation fault
    ... Repository 'openSUSE BuildService - Wine CVS Builds' is up to date. ... Trying through yast again gave this xmessage: ... Rebuilding the rpm database did no good. ... --force install the qt and gtk rpms to downgrade to the latest 10.3 versions. ...
    (SuSE)
  • Re: Cant install ANYTHING on Linux . . . HELP!
    ... iwth yast. ... If that does not work, find a rpm file, download it and run ... The things Linux and M$ do are completely different. ... There is not just one way to install things, ...
    (alt.os.linux.suse)
  • Re: [opensuse] efax-gtk revisited
    ... If you did install an rpm, then certainly yast knows about it. ... outstanding software problems on the system, ...
    (SuSE)
  • Re: An error on each rpm ??
    ... > Since some weeks, each time i use Yast to install something, at the end ... I go directly to rpm. ... the new updated package DOES contain that library that rpm ... So I forced the install with "rpm -U --nodeps" ...
    (alt.os.linux.suse)
  • Re: Dependencies
    ... Should you install it or no? ... RPM is just a low-level tool that does one thing and that one ... If getting the GPG keys causes you heartburn, ... > To stay in the RPM subject, Apache give keys for their tarball versions. ...
    (linux.redhat)