Jeff Hoog Land

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 26 August 2011

HOWTO: Create a Debian Meta Package

Posted on 09:22 by Unknown
The following is a short tutorial on how to create a Debian meta package. Just as a brief background for those that do not know what a meta package is - a meta package is a Debian package that simply tells the package manager to download a whole bunch of other packages. Meta packages are useful for allowing for the quick installation of an entire group of packages. I use meta packages in the Bodhi repository for our theme pack and software bundles.



Fair warning for this tutorial I am assuming you have at least some basic command line experience.



Lets start by creating a directory that will have the same name as the meta package we are creating. For the purposes of this tutorial our package will be called "bodhi-theme-pack". So run:



mkdir ~/bodhi-theme-pack && cd ~/bodhi-theme-pack



Next, we need to create a "DEBIAN" directory within our package structure. Note it is required for meta packages that DEBIAN be in all capitals.



mkdir DEBIAN && cd DEBIAN



Then we are going to create a control file inside of our DEBIAN directory.



nano control



In the file that opens paste in this for the contents. The fields in this file are fairly self explanatory. Just note that you need a comma in-between each of the different package names you want your meta package to install. Finally, if you would like your meta package to do extra fancy things, you can also create post/pre install/remove scripts and all that jazz in your DEBIAN directory and they will be executed as with any debian package.



Finally, lets create our .deb package:



cd ~/ && dpkg --build bodhi-theme-pack



You will get a message confirming that the creation of your .deb package was successful and you should now have a "bodhi-theme-pack.deb" sitting in your home directory. If you have any questions or issues feel free to drop a comment below and I'll do my best to help you out.



Cheers,

~Jeff Hoogland

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in howto, linux, software | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Twenty Sleek GTK Themes for your Linux Desktop
    Last month I posted about twenty two different icon sets you could use to class up your Linux desktop. Today I would like to share with you...
  • HOWTO: Start an SSH Session from ChromeOS
    My lovely fiance knows how much I love my toys and opted to get me one of the new ARM based Chrome books as an early Christmas present. I...
  • HOWTO: Bodhi Linux on Samsung ARM Chromebook
    The battery recently died in my old Asus Netbook which gave me some fire to finally get together a functional filesystem for the Samsung Ch...
  • Lenovo Multimedia Remote (Keyboard/Mouse) Review
    Whenever I am working on something, be it homework or one of my various tasks for Bodhi I almost always have the TV on in the background. I...
  • HOWTO: Test E18, EFL 1.8.0, and Terminology 0.4.0 on Bodhi Linux
    As of this past weekend the testing builds of the Enlightenment window manager DR18 (E18 for short) are in the Bodhi Linux testing repositor...
  • Bodhi Linux 2.3.0 Released
    After almost exactly three months since our Bodhi 2.2.0 release  the Bodhi team and I are happy to announce the next update release for our ...
  • HOWTO: Watch Netflix on Bodhi Linux
    Not being able to utilize the Netflix video streaming service has been an issue on the Linux desktop for the past few years. This is due to...
  • Bodhi Linux ARMHF RootFS
    If you've been following my blog (or my updates on Google+ ) then odds are you know I currently have my hands on two ARM devices ( plus ...
  • HOWTO: Get right to X with No Display Manager
    GDM, KDM, LXDM, LightDM - so many display managers so little time! If your not sure what a "Display Manager" does on your Linux sy...
  • Bodhi on MK802 and other ARM Updates
    MK802: Today I am happy to announce our first public Bodhi images for the MK802 Android stick: This image comes with a 3.0 kernel and it has...

Categories

  • 3g modem
  • adobe
  • android
  • appeal
  • apple
  • arm
  • art
  • asus tablet
  • benchmark
  • bodhi
  • bordeaux
  • cedega
  • chakra
  • chrome os
  • chromebook
  • cockatrice
  • codeweavers
  • comic
  • cricket wireless
  • crysis
  • cxgames
  • debian
  • dell duo
  • diablo3
  • distro review
  • dtf
  • e18
  • eandora
  • eccess
  • elementary
  • elive
  • enlightenment
  • fedora
  • firefox
  • gaming
  • genesi
  • gnome
  • google
  • google chrome
  • google wave
  • handheld device
  • hardware
  • helios
  • howto
  • html5
  • ideapad
  • interview
  • ipad
  • jolicloud
  • kde
  • l4d2
  • laptops
  • lenovo
  • linux
  • lxde
  • macbook
  • math
  • maxima
  • media
  • meego
  • milestone
  • mint
  • mir
  • mk802
  • moblin
  • n900
  • netflix
  • nexus 7
  • nvidia
  • open pandora
  • open source
  • opengl
  • opera
  • operating systems
  • palm
  • phones
  • promotion
  • python
  • qt
  • rant
  • raspberry pi
  • reviews
  • sabayon
  • software
  • source games
  • spotlight
  • sprint
  • starcraft2
  • steam
  • t-mobile
  • tutorial
  • ubuntu
  • unigine
  • unity
  • wayland
  • web application
  • windows
  • windows 7
  • wine
  • wxmaxima
  • xfce

Blog Archive

  • ►  2014 (1)
    • ►  January (1)
  • ►  2013 (22)
    • ►  December (3)
    • ►  November (1)
    • ►  September (1)
    • ►  June (1)
    • ►  May (2)
    • ►  March (2)
    • ►  February (3)
    • ►  January (9)
  • ►  2012 (57)
    • ►  December (5)
    • ►  November (4)
    • ►  October (2)
    • ►  September (1)
    • ►  August (4)
    • ►  July (9)
    • ►  June (4)
    • ►  May (4)
    • ►  April (1)
    • ►  March (7)
    • ►  February (6)
    • ►  January (10)
  • ▼  2011 (107)
    • ►  December (8)
    • ►  November (8)
    • ►  October (5)
    • ►  September (14)
    • ▼  August (9)
      • Asus Tech - You will NOT fool me Twice
      • HOWTO: Linux on the Dell Inspiron Duo
      • HOWTO: Create a Debian Meta Package
      • Five Things the Enlightenment Desktop Does Best
      • Getting Connected to Illinois State University ISU...
      • HOWTO: Easily Share Files between Linux Machines u...
      • Set Penguins Crawling on your Desktop!
      • Asus Support - Excellent and Linux Friendly
      • Why the Tablet Craze?
    • ►  July (8)
    • ►  June (7)
    • ►  May (10)
    • ►  April (9)
    • ►  March (13)
    • ►  February (9)
    • ►  January (7)
  • ►  2010 (122)
    • ►  December (10)
    • ►  November (8)
    • ►  October (10)
    • ►  September (14)
    • ►  August (17)
    • ►  July (10)
    • ►  June (9)
    • ►  May (14)
    • ►  April (8)
    • ►  March (7)
    • ►  February (7)
    • ►  January (8)
  • ►  2009 (27)
    • ►  December (10)
    • ►  November (7)
    • ►  October (10)
Powered by Blogger.

About Me

Unknown
View my complete profile