In ubuntu/debian linux software installs, there are such things as “metapackages” which is a package that just describes what OTHER packages it “needs”. For instance in ubuntu, the kubuntu-desktop package is just such a package – when choosing it, it installs everything necessary for the kubuntu desktop/customizations to install. So, I was hit with an idea while I was apt-getting 30-40 odd packages…. everytime I “provision” a new ubuntu system I have a list of packages that I want to make sure are installed, why don’t I just create a single metapackage and be done with it to make life simpler…. But how could I do this?
This article has the essentials…. make an empty directory structure….
mkdir -p package/DEBIAN
and create a control file….. *(single text file, named control in the DEBIAN folder)
example from above site…
Maintainer: Ian Defor
Depends: abiword, gnumeric, xchat-gnome
Description: Iandefor’s Metapackage
Iandefor’s preferred packages
Customized of course to your preference….
And then dpkg-deb -b package name.deb
It might be worthwhile to break your metapackages up into a couple of “thought” groups… internet / multimedia /etc… but if you’ve got several systems and want to make sure you quickly and easily install the same software on each this could be a good shortcut for you.
Related PostsRelated Posts
- More linux software raid fun OK, I know there are probably quite a few looking at this thinking.... "Hello where has he been?" when I'm talking about playing around with software raid under ubuntu linux, but.... in spite of all I've done supporting desktop systems and even small business servers I've never had an opportunity......
- Open Source Clipart Library I'm putting this under software for Windows and Linux, because this is something I've been asked about several times. What kind of clipart comes with OpenOffice.org or with Koffice. There are some samples usually, but clipart is one of those areas that has traditionally been hard to come by for......
- Ubuntu 9.04 Jaunty Netbook Remix on an Acer Aspire One ZG5 trackpad issues Recently I had the opportunity to work on an Acer Aspire One netbook. It's rare that I get the chance to work on a linux desktop system for a client. Most of my desktop users that I support run Windows (although I primarily run linux on my machines.) I get......
- Compiling OpenCV for Linux (Debian) I am sure that most of you know OpenCV, the open-source Computer Vision library initially developed by Intel. Synaptic, the packages manager of all Debian based distributions do contain opencv packages (namely libcv, libcvaux and libhighgui). But they are seriously outdated (2.1 in Ubuntu 11.10 when the last stable release on......
- Luxury Ski Holidays Taking your family on a winter vacation can be a difficult task if you are unsure about where to go. Many people decide to take their family someplace warm and tropical during the colder months of the year, but others choose luxury ski holidays for the ultimate in fun and......
- Ten Steps To Become a Linux/Unix Geek Until recently, Linux/Unix was considered OS of the geeks. However, with GUI and more desktop Linux distributions, things have simplified on both Linux and Unix. Still you can geek out with Unix/Linux using its terminal. Just follow the steps below to master the terminal. 1. Never used Linux! Get Ubuntu......
- Building Deb packages from source….
- Opengroupware install on Ubuntu 6.06 Dapper Drake
- apt-get introduction
- Useful Linux Utilities
- Nero for Linux