If you need to use wget to obtain the contents of a web page, but that page has either Basic or Digest Authentication enabled, use the following syntax to gain access: wget –http-user=yourUserNameHere –http-password=yourSecretPasswordHere http://example.org/desired/path/ ~or~ wget http://yourUserNameHere:yourSecretPasswordHere@yourSite.com/desired/path/
I could not seem to get yum install rar or yum install unrar to work, so I did the following: Grab unrar/rar software from http://www.rarlab.com/download.htm install the same. Type the following commands as root user: