Re: Package manager of choice
- From: houghi <houghi@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 17:39:57 +0200
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...
- References:
- Package manager of choice
- From: André Hänsel
- Package manager of choice
- Prev by Date: Re: online-update: no boot anymore
- Next by Date: Build Service
- Previous by thread: Package manager of choice
- Next by thread: Build Service
- Index(es):
Relevant Pages
|