2

Is there a way where I can get information about a package which is in Ubuntu Software Center, such as package-title package-size package-logos etc. through php or javascript?

1 Answer 1

2

To get packages information you would need to fetch it from the repository and import to your own datasource.

To find the packages indexes which include title's, sisz'es you use: http://archive.ubuntu.com/ubuntu/dists/release/ # each directory here is a repository section # http://archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz # Select the desired arechitcture with binary-i386 or binary-amd64 The file containing the information is: http://archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.bz2

To get the thumbnail for a specific package:

http://screenshots.ubuntu.com/thumbnail/packagename

4
  • Don't forget to set the the question as answered later :) Jan 7, 2011 at 12:18
  • But how do I get the logo of a package not the screenshots?
    – Voidcode
    Jan 7, 2011 at 12:50
  • The icons are available from the app-install-data package, once installed the icons are available on your system at: /usr/share/app-install/icons/ . Jan 7, 2011 at 13:27
  • Many thanks.. faster response time than through a normal commercial support page .. really nice João ;)
    – Voidcode
    Jan 7, 2011 at 20:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .