-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Meyer wrote:
> I've been wondering if it is possible to create a repository out of a
> directory you have downloaded rpms into, and if so, how.

Hi John

Use "createrepo", it's the easiest option.

The only parameter it needs is the name of the directory where the RPM
files are located. It will recursively hunt for RPMs and create a
"repodata" subdirectory (that's a "rpm-md" aka "yum" repository, you can
use it with yast2, zmd, zypper, smart, yum, and recent versions of apt-rpm).

e.g.:
cd ~/my/rpms
createrepo .

Then add ~/my/rpms as the location of the repository.

NB: createrepo is in the package... "createrepo" ;)

- --
  -o) Pascal Bleser     http://linux01.gwdg.de/~pbleser/
  /\\ <[EMAIL PROTECTED]>       <[EMAIL PROTECTED]>
 _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFFTSLyr3NMWliFcXcRAviBAJ95ODzY/rYzyJcQZjLnaYwmNVUbtwCdEX0Z
taV/ZxcUvm3YMVdtppFRlao=
=9tz0
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to