Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-21-2010, 08:17 AM   #1
Registered: Jun 2007
Posts: 118

Rep: Reputation: 17
Creating debian package

Hi All,

I wrote a hello world loadable module and tried to pack it as a .deb package. While trying to do so, I came across some technique that were applicable to userland applications.

Is there any way to pack a loadable module in to .deb package?

Old 05-23-2010, 01:16 AM   #2
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,770

Rep: Reputation: 247Reputation: 247Reputation: 247
There are python scripts to help build more complex debian packages. But it isn't magic. The computer doesn't know what you are thinking. If you want a debian package to compile, install and load a module, you have to write a preinst script that tells the computer what you want it to do. You can also look here:
Old 05-24-2010, 12:41 AM   #3
Registered: Jun 2007
Posts: 118

Original Poster
Rep: Reputation: 17
Thank you AwesomeMachine. What I wanted to know is that it is possible to load a driver module by means of a .deb package. From your answer, I get that it is possible.

I will search more in this and let you know if i get any thing.

Thanks again!!

I guess you know the difference between installing a loadable module and user applications.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating rpm package javimd786 Linux - Newbie 1 01-05-2010 01:02 PM
LXer: Pretending a Package is Installed by Creating an Empty Package with Checkinstal LXer Syndicated Linux News 0 05-03-2009 03:10 PM
LXer: GNOME Debian Package Finder: Rough and ready package search for the desktop LXer Syndicated Linux News 0 09-04-2008 01:00 AM
Creating a package repository Thakowbbery SUSE / openSUSE 0 10-13-2005 08:40 AM
Creating an RPM package? WeNdeL Linux - Software 3 03-05-2003 09:30 AM

All times are GMT -5. The time now is 06:15 AM.

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