LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-15-2009, 10:24 AM   #1
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Rep: Reputation: 15
subpackage in deb


can i make more than one deb file in one deb file?if yes then how?
i think in rpm we can do so ,can't we?
 
Old 12-15-2009, 11:00 AM   #2
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Don't know if it's possible, but to me it would just be a bad idea. Deb packages allow for dependency checking, why not just make it a dependency? Or even just throw it all into one package?

Last edited by voyciz; 12-15-2009 at 11:01 AM.
 
Old 12-15-2009, 11:05 AM   #3
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by voyciz View Post
why not just make it a dependency? Or even just throw it all into one package?
maybe because i don't want to make the user gather 2 or 3 files to install them , or maybe since the user don't have interent to install the packages from .
the idea of having all the packages u need in one file maybe not the best but i need it , or do u have another solution ?
 
Old 12-15-2009, 03:20 PM   #4
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
So just combine it all into one package and have it all install at once. Nesting packages would just be complicating and messy.
 
Old 12-15-2009, 03:52 PM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Use tar?
 
Old 12-16-2009, 12:10 AM   #6
deepinlife
Member
 
Registered: Apr 2006
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by voyciz View Post
So just combine it all into one package and have it all install at once. Nesting packages would just be complicating and messy.
sorry but can u tell me more about this tecnic ?what is nesting packaging ?and how i can make it all in one package ?
i tried to make a preinst script and call dpkg but it failed since it locks itself so i can't run 2 process of dpkg



Quote:
Use tar?
i m sorry , i can't use it , tar will just archive them in one file , i need the idea of click and go , clicking on the tar file will just extract it , i think there is no way i can load a binary from just extracting the tar file , can't i ?
 
Old 12-16-2009, 07:49 AM   #7
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
What he means by using tar is that .deb packages are nothing more than compressed tar archives. You'll need to uncompress and extract the packages in question and combine them. To find out which compression it's using
$ file PACKAGE.deb

So for instance, if I extracted these files out of one:
Code:
/etc/config1.conf
/usr/bin/firstbin
And these out of another:
Code:
/etc/config2.conf
/usr/bin/secondbin
/usr/man/man8/secondbin.8.gz
You would combine them into one archive that contained:
Code:
/etc/config1.conf
/etc/config2.conf
/usr/bin/firstbin
/usr/bin/secondbin
/usr/man/man8/secondbin.8.gz
Of course you'll also need mind the install scripts and whatever else is contained in those sorts of packages. I'm not familiar with them myself. Obviously you'll need to do some research on the .deb structure. Here's a start:
http://en.wikipedia.org/wiki/Deb_(file_format)

Last edited by voyciz; 12-16-2009 at 07:50 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 10:02 AM
.deb for Kompozer? adam-red Linux - Software 1 12-11-2006 01:15 PM
.deb aznboi12321 Linux - Software 6 03-11-2005 04:34 PM
Is "kernel-image-x_i386.deb or i586.deb the right image for P4 processor? davidas Debian 1 04-06-2004 03:50 AM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration