Tero Karvinen - Articles - Downloads - Courses - Contact

Table of Contents

Install Multiple Programs With Metapackage

Create a package that installs 20 programs. They are the latest versions, and no questions are asked. Programs are installed automatically using a metapackage.

A work in progress! This example is extracted from my notes for Ubuntu. Even though I have created metapackages with this method, the steps below have not been tested in the excact order described here.

© 2010 Tero Karvinen http://www.iki.fi/karvinen

Package Contents

$ mkdir metapack    # folder name is the name of the deb package
$ cd metapack
$ mkdir DEBIAN
$ cd DEBIAN
$ nano control
Package: metapack
Version: 1
Maintainer: YOUR_NAME_AND_CONTACT_INFO_HERE
Depends: gzip, zip, bzip2
Architecture: all
Priority: optional
Description: SHORT DESCRIPTION HERE - ONE SENTENCE   
  WRITE YOUR DESCRIPTION HERE.
  . 
  For info on metapackages, see 
  http://www.iki.fi/karvinen/install_multiple_programs_with_metapackage.html

Compile to DEB

 $ cd ../../
 $ dpkg-deb -b metapack/ metapack.deb

Install

$ sudo gdebi --non-interactive metapack.deb

See also

Getting Started with DEB Packaging and Repositories

Last modified: 2010-03-05. Permanent url: http://www.iki.fi/karvinen/install_multiple_programs_with_metapackage.html

Tero Karvinen www.iki.fi/karvinen - Top - Validate HTML - Validate CSS