createrepo software package provides generates the metadata necessary for a RPM package repository, you can install in your Debian 7 (Wheezy) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install createrepo
createrepo is installed in your system.
Make ensure the createrepo package were installed using the commands given below,
$ sudo dpkg-query -l | grep createrepo *
You will get with createrepo package name, version, architecture and description in a table
| Distro | Debian 7 wheezy |
| Section | Administration Utilities |
| Package | createrepo |
| Version | 0.4.11-1 |
| Description | generates the metadata necessary for a RPM package repository |
| Sub Section | Admin |