I'd like to be able to create a package that doesnt contain any code or programs itself, but instead installs other packages that exist in the repositories onto a computer, sort of how the ubuntu-restricted-extras
package does?
I'd like to be able to create a package that doesnt contain any code or programs itself, but instead installs other packages that exist in the repositories onto a computer, sort of how the ubuntu-restricted-extras
package does?
A meta-package like this can be created with a tool called
equivs
which will create a package with just dependency information.First, create a directory:
Now run the program:
It will create a file called
ns-control
, open this file with your text editor. The control file that you generate should have itsDepends
orRecommends
lines modified to depend on the packages that you want installed:(Just an example, you should include more information)
And finally, build the package by running
Your package is located at
my-metapackage/my-metapackage_1.0_all.deb
.If you wish to also create a source package, the
--full
option can be passed toequivs-build
, e.g.equivs-build --full ns-control
. This will use debuild & also create .dsc & .tar.gz files.To create a source .changes file that you can upload to a PPA, extract & build the source package with
If the Maintainer that you set in ns-control matches your GPG key, it should build & sign the my-metapackage_1.0_source.changes file for you to dput to your PPA