PDA

View Full Version : Use Knoppix to install pkgs. on existing debian-based Linux?



mmw1231
01-23-2004, 11:29 PM
Is it possible to install, for instance, Open Office 1.1 from the Knoppix CD onto a Linux already on my HD? Please forgive if this is answered somewhere already which I've yet to discover...

fingers99
01-24-2004, 12:17 AM
I may be wrong, but I don't think that there is a sensible way if doing this.

Stephen
01-24-2004, 02:18 AM
Is it possible to install, for instance, Open Office 1.1 from the Knoppix CD onto a Linux already on my HD? Please forgive if this is answered somewhere already which I've yet to discover...

I believe you are looking for dpkg-repack that is included on the CD from the package description:


HappyTux:/home/stephen/archives/tar# apt-cache show dpkg-repack
Package: dpkg-repack
Priority: optional
Section: admin
Installed-Size: 60
Maintainer: Joey Hess <joeyh@debian.org>
Architecture: all
Version: 1.18
Depends: perl
Filename: pool/main/d/dpkg-repack/dpkg-repack_1.18_all.deb
Size: 10670
MD5sum: 78c1dcadbfa0777c28d08f0dfca3aaea
Description: puts an unpacked .deb file back together
dpkg-repack creates a .deb file out of a debian package that has already
been installed. If any changes have been made to the package while it was
unpacked (ie, files in /etc were modified), the new package will inherit
the changes.
.
This utility can make it easy to copy packages from one computer to another,
or to recreate packages that are installed on your system, but no longer
available elsewhere, or to store the current state of a package before you
upgrade it.


Now if you can get it to work from the booted CD that's a question I do not have an answer for you may want to search for a couple of Fabianx's live install scripts on the forum here to see what he does to access the dpkg database it may give you a few ideas if you run into trouble. Worst case senario you install to a spare partition repack the .deb(s) you need and wipe out the unused partition.