installation of my own rpm in a Fedora without internet

Domingo Becker domingobecker at gmail.com
Tue Feb 22 12:29:18 UTC 2011


2011/2/19 Dominic Hopf <dmaphy at googlemail.com>:
>>
>> I think that a just installed Fedora box should have the ability to
>> install software from an usb stick without the need of an internet
>> connection.
>>
>> Think about a computer with F14 for managing something in a place
>> without internet connection (I have several cases like this).
>>
>> Is there a way to do this?
>
> I usually do this with
>
>  yum localinstall file.rpm
>

This command doesn't work.

[usuario at computadora ~]$ su -c 'yum localinstall --nogpg
servbce-2.6.1-2.fc13.i686.rpm '
Contraseña:
Complementos cargados:langpacks, presto, refresh-packagekit
Adding es_ES to language list
Configurando el proceso de instalación local de paquetes
Examinando servbce-2.6.1-2.fc13.i686.rpm: servbce-2.6.1-2.fc13.i686
Marcando servbce-2.6.1-2.fc13.i686.rpm para ser instalado
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: fedora. Please verify its path and try again
[usuario at computadora ~]$



2011/2/19 Till Maas <opensource at till.name>:
> On Sat, Feb 19, 2011 at 11:44:48AM -0300, Domingo Becker wrote:
>
>> I think that a just installed Fedora box should have the ability to
>> install software from an usb stick without the need of an internet
>> connection.
>
> You can try this to install rpms from the local directory:
> yum --disablerepo=\* install ./*.rpm
>

This command works fine without internet connection.

Many thanks.

k.r.

Domingo Becker


More information about the devel mailing list