Skip to content

Sunday, November 8th, 2009

New Linux User

Meta-what? Metapackages!

October 17, 2007 by Clair Ching  
Filed under Explanation

First time I heard about the metapackage was when I installed Ubuntu on a colleague’s machine then she told she wanted the pretty stuff on Kubuntu. I installed KDE on her machine then my colleague told me it wasn’t quite the same as the previous version she used. Apparently I should have installed kubuntu-desktop instead of kde. KDE did install KDE. The tweaks that Kubuntu has weren’t really there. And so my friend told me that kubuntu-desktop was the metapackage for KDE and all those funky settings that Kubuntu has.

So what if you have a metapackage?

It makes it easier for you to install stuff. You just need to apt-get install the metapackage and what the metapackage does is install the dependency files. In this case, kde and kubuntu-desktop. Because I installed kde, it really installed kde because it’s what the command was. However, apt-get install kubuntu-desktop makes it funkier. It was the one that pulled the dependecies for me already.

I read from Iandefor’s blog that metapackages have a control file. And that’s where the details of the package dependencies are. It says what must be installed.

Another thing about metapackages: they could also be seen as groups of packages lumped together but they are not really equal to each of those packages. So if you uninstall a metapackage, you are not necessarily uninstalling the actual packages. You’d have to uninstall them one by one. In the case of kubuntu-desktop, if you want to remove particular apps, you could. If you know the actual package. So don’t panic all the time when you’re asked about what you’re going to uninstall.

  • StumbleUpon
  • Digg
  • Facebook
  • Mixx
  • Google
  • TwitThis
  • Reddit
  • Yahoo! Buzz
  • Slashdot
  • E-mail this story to a friend!

Comments

2 Responses to “Meta-what? Metapackages!”
  1. Chris Rohde says:

    This is why we use aptitude to install those big ole’ desktop metapackages, which I found out the hard way.. had installed ubuntu-desktop on my pure KDE install, then wanted it gone and had to search for a tutorial on how to remove everything at once!

    sudo aptitude install kubuntu-desktop … saved my life the next time.

  2. Clair says:

    Hi, Chris! I don’t always use aptitude because I’ve been using Synaptic more often these days. I will keep that in mind though. :) Thanks for dropping by!

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!


About Us | Advertise with us | Blog for EveryJoe | Privacy Policy | Terms of Use
Get This Theme | Sitemap


All content is Copyright © 2005-2009 b5media. All rights reserved.