Wednesday, April 20, 2022

[SOLVED] Installing one RPM file downloaded using wget

Issue

I am trying to install some rpm packages in my oraacle linux. I am downloading using wget command , Like the following,

wget href="http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/x86_64/getPackage/VirtualBox-4.0-4.0.22_91544_el6-1.x86_64.rpm" rel="nofollow noreferrer">http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/x86_64/getPackage/VirtualBox-4.0-4.0.22_91544_el6-1.x86_64.rpm

Can I use wget install together to download and install those packages ?


Solution

If the file is downloaded then you can use the below command

sudo alien -i rpmpackage.rpm


Answered By - Wellwisher
Answer Checked By - Cary Denson (WPSolving Admin)