On Thu, 12 Dec 2002, John P. Looney wrote:
> rpm -qf file (find out what package owns a specific file)
dpkg -S /path/to/filename
> rpm -i http://path.to/source.srpm (install a source rpm)
apt-get source -b packagename (requres root)
apt-get build-dep packagename will download and install the necessary
packages
> rpm -bp SPECS/file.spec (unpack and prepare a source RPM for building)
>
not sure, I don't really play with source packages to be honest.
You mention on another thread that you couldn't find the package for
vmlinuz. In Debian Land, /vmlinuz is always a symbolic link which is
created by the postinstall script. So for example
mel at skynet:/$ ls -l vmlinuz
lrwxrwxrwx 1 root root 39 Dec 12 14:57 vmlinuz ->
boot/vmlinuz-2.4.19skynet-2.4.19-ipacct
mel at skynet:/$ dpkg -S /boot/vmlinuz-2.4.19skynet-2.4.19-ipacct
kernel-image-2.4.19skynet-2.4.19-ipacct: /boot/vmlinuz-2.4.19skynet-2.4.19-ipacct
and there is my package. yey
> Can these be done on debian ? I did an "apt-get source xfree86", and it
> just got me the tarball and the debian packages. i've no idea how to start
> building the damn thing, and there is no mention of building (unless from
> a .deb) in the apt or dpkg packages.
>
the tool you are actually interested in is dpkg-buildpackage. I'm not
going to even pretend I know how to use it, as I said I don't really deal
with source packages.
--
Mel Gorman
MSc Student, University of Limerick
http://www.csn.ul.ie/~mel
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!