Open IPKG packages from command line

Kasper Johansen k at
Tue Feb 17 10:47:41 CET 2009

For future reference: "ar -x some_package.ipk" did the trick.

Thank you Gunnar!

Gunnar Aastrand Grimnes wrote:
> .ipk are like debian (or indeed ubuntu) packages, i.e. they are
> initially packaged with ar, not tar. Unpacking will give you a meta-data
> file plus control.tar.gz. and data.tar.gz, which you can untar as usual.
> data.tar.gz is meants to be untarred in /, i.e. it contains all folders
> up from usr, var, etc.
> - Gunnar
> Kasper Johansen wrote:
>> Hi list.
>> Is it possible to extract a IPK-package (some_package.ipk)? I do not 
>> want to install anything - just inspect the package on my Ubuntu-machine.
>> I have been able to extract some packages by using "tar -zxvf" after 
>> renaming the extension to tar.gz - though I cant with all packages (and 
>> I dont know why).
>> Can anyone point in the direction on how to do so?

Med venlig hilsen
Kasper Johansen
Udviklingskonsulent og software engineer
KNJ IT-solutions - Engvej 3 - DK-4970 Rødby
Mail     : kaspernj at
Telefon  : +45 31593812
Telefon  : +45 26173812

More information about the community mailing list