La commande 'wget' permet de récupérer directement à une adresse URL, un produit RPM.

exemple :

wget ftp://ftp.muug.mb.ca/mirror/redhat/86/perl-TimeDate-1.08-6.i386.rpm

--2015-02-03 15:18:17-- ftp://ftp.muug.mb.ca/mirror/redhat/86/perl-TimeDate-1.08-6.i386.rpm
Resolving sun.dbg.parimutuel.local... 10.40.18.210
Connecting to sun.dbg.parimutuel.local|10.40.18.210|:3128... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: http://www.muug.mb.ca/mirror/redhat/redhat/linux/6.2/en/powertools/i386/i386/perl-TimeDate-1.08-6.i386.rpm [following]
--2015-02-03 15:18:18-- http://www.muug.mb.ca/mirror/redhat/redhat/linux/6.2/en/powertools/i386/i386/perl-TimeDate-1.08-6.i386.rpm
Connecting to sun.dbg.parimutuel.local|10.40.18.210|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 20559 (20K) [application/x-rpm]
Saving to: “perl-TimeDate-1.08-6.i386.rpm.1”

100%[================================================================================>] 20,559 --.-K/s in 0.1s

2015-02-03 15:18:18 (151 KB/s) - “perl-TimeDate-1.08-6.i386.rpm.1” saved [20559/20559]

 

Il suffit alors de lancer la commande 'rpm -ivh perl-TimeDate-1.08-6.i386.rpm.1' pour installer réellement le produit dans le serveur Linux.

icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone