Retain only dependencies of a given package

Posted by Karthik on Ask Ubuntu See other posts from Ask Ubuntu or by Karthik
Published on 2013-07-03T04:59:53Z Indexed on 2013/07/03 5:18 UTC
Read the original article Hit count: 369

I am trying to have a minimal version of Ubuntu, having only those packages necessary to run mininet.

So, I would like a solution, where I would be able to uninstall all the packages from the system, except those that are needed to run mininet.

A much more preferable solution would be to be able to create a new ISO, with mininet and all it's dependencies.

Is there any program out there which is already capable of this? If not please guide me on how I can solve my problem?

Note: I need to retain not only the direct dependencies of mininet, but also dependencies of dependencies and so on. The final system should be able to run mininet without a hitch.

© Ask Ubuntu or respective owner

Related posts about apt

Related posts about package-management