Results 1 to 7 of 7

Thread: How to compile a .deb from source tar.gz?

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    12

    How to compile a .deb from source tar.gz?

    I frequently use several programs that are not available as .debs (I used Red Hat before Knoppix.) I am used to using RPM to compile from a tar.gz; how is this done with dpkg?

  2. #2
    Member registered user
    Join Date
    Jul 2003
    Location
    Delft, the Netherlands
    Posts
    76
    I don't know about tar.gz files, but for a straight *.rpm file typing 'rpm -i <filename>' in a root console worked for me. Try it with the tar.gz, if it doesn't work gunzip and untar it first.

    HTH

    - - Edwin

  3. #3
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    12
    I guess I wasn't clear. I want to use programs that are neither available as .debs or rpms. In my old Red Hat, I simply compiled these programs under RPM with -ta option and got a RPM that I could install with rpm -i progname.

    How do I compile a source tarball under Knoppix so I end up with a .deb which I can install so it is seen by the database?

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by annamerikin
    I guess I wasn't clear. I want to use programs that are neither available as .debs or rpms. In my old Red Hat, I simply compiled these programs under RPM with -ta option and got a RPM that I could install with rpm -i progname.

    How do I compile a source tarball under Knoppix so I end up with a .deb which I can install so it is seen by the database?
    Read your post earlier today and read this a few minutes ago and thought it might be just what you are looking for checkinstall will make a debian package and install it using dpkg.

  5. #5
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    12
    Did some reading of the man pages for dpkg and dpkg-deb. It appears that "dpkg-deb -b" will do what I want. Except for the control files, which are not explained in the man pages. So:

    Where can I learn about the internals of the dpkg and dpkg-deb systems -- specifically how to build a control tree?

    BTW, thanks for the link to checkinstall. I tried it some time ago for help in compiling under rpm, but it installed the packages it built with the --force --nodeps option (equivalent to deb -force -nodepends) which almost guaranteed no installation information output and a broken installation.

    Quote Originally Posted by Stephen
    Quote Originally Posted by annamerikin
    I guess I wasn't clear. I want to use programs that are neither available as .debs or rpms. In my old Red Hat, I simply compiled these programs under RPM with -ta option and got a RPM that I could install with rpm -i progname.

    How do I compile a source tarball under Knoppix so I end up with a .deb which I can install so it is seen by the database?
    Read your post earlier today and read this a few minutes ago and thought it might be just what you are looking for checkinstall will make a debian package and install it using dpkg.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by annamerikin

    Where can I learn about the internals of the dpkg and dpkg-deb systems -- specifically how to build a control tree?
    Ah I see you are looking for some light reading I would suggest going to the source so to speak the basic Debian package management system FAQ there's more than enough here links to get you started. Also the Debian docs page and the lists page the Debian user list is a great source of information although it is a high volume list (250-400 e-mails a day) but you can read it in a news reader if you do not want that many e-mails.

    HTH

  7. #7
    Member registered user
    Join Date
    Jun 2003
    Location
    Carlisle, England
    Posts
    42
    try "apt-get install alien", followed by "man alien"...... think this will do what you are looking to do.

    Oh, forgive me, can't remember if it comes with Knoppix, if it does forget the first part :P

Similar Threads

  1. How do I install kernel source and config/compile kernel??
    By cfish in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-25-2005, 07:31 AM
  2. How to compile
    By gamezealot in forum General Support
    Replies: 6
    Last Post: 01-20-2005, 08:54 PM
  3. Where is kernel 2.6 source to compile Nvidia drivers?
    By pepe in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 11-09-2004, 05:30 PM
  4. Kernel compile problem - first Knoppix kernel compile
    By Nigel_Tufnel in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-20-2003, 01:09 PM
  5. custom kernel, debian source vs kernel.org source
    By garyng in forum Customising & Remastering
    Replies: 1
    Last Post: 04-13-2003, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1969 EAI TR-20 Analog Computer Programming PACE Philbrick Electronic Associates picture

1969 EAI TR-20 Analog Computer Programming PACE Philbrick Electronic Associates

$35.00



VINTAGE 1970s SKIT Scientific Kit for Computer & Electronics SEALED INSIDE Rare picture

VINTAGE 1970s SKIT Scientific Kit for Computer & Electronics SEALED INSIDE Rare

$249.00



Vintage Donner Scientific Analog Computer Patch Cords Banana Plugs & Resistor picture

Vintage Donner Scientific Analog Computer Patch Cords Banana Plugs & Resistor

$75.00



Vintage 1970’s Analogic MP2110 10-Bit A/D Converter Computer Circuit Board picture

Vintage 1970’s Analogic MP2110 10-Bit A/D Converter Computer Circuit Board

$24.99



Apple II V2 ANALOG VGA & Z80 PCPI Applicard Softcard PicoPal IIe picture

Apple II V2 ANALOG VGA & Z80 PCPI Applicard Softcard PicoPal IIe

$56.99



Vintage Analog Computing Magazines For Atari Computer Owners No 11-20 Acceptable picture

Vintage Analog Computing Magazines For Atari Computer Owners No 11-20 Acceptable

$75.00



EAI Pace TR-10 Analog Desktop Vintage Computer Electronic Associates Inc picture

EAI Pace TR-10 Analog Desktop Vintage Computer Electronic Associates Inc

$5555.55



Rare Vintage CH Product Mach III Analog Joystick for Apple Mac picture

Rare Vintage CH Product Mach III Analog Joystick for Apple Mac

$45.00



RARE VINTAGE Kontron 80 Psi Compact Microcomputer Computer Germany Early 1980s picture

RARE VINTAGE Kontron 80 Psi Compact Microcomputer Computer Germany Early 1980s

$319.99



NOB VINTAGE Earthlink MailStation Standard 120 - Email Appliance picture

NOB VINTAGE Earthlink MailStation Standard 120 - Email Appliance

$29.99