Pular para o conteúdo

Downloading SRPM build requires using urpmi

Several Linux distributions have specific commands to download build requires of a package. For example, Debian and its derivatives have apt-get build-dep; in OpenSUSE is zypper si -d; Fedora have yum-builddep; etc.

There is in Mandriva and derivatives distros using  urpmi a command to do this too!  But it is mandatory to link the package SRPM source.

The command is:

urpmi –buildrequires <package.src.rpm>

Remember, there are two hyphens in buildrequires option. You must to substitute <package.src.rpm> for the src.rpm package address. For example, to download Choqok build requires you uses::

urpmi –buildrequires ftp://mageia.c3sl.ufpr.br/mageia/distrib/cauldron/SRPMS/core/release/choqok-1.3-5.mga3.src.rpm

To find the SRPM package you must visit a repository of your distro and copy the complete package name. For example, there is a Tier 1 repository to Mageia in C3SL, the link is http://mageia.c3sl.ufpr.br/mageia/distrib/cauldron/SRPMS/.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *