HOW TO INSTALL winetricks with proxy

Questions about Wine on Linux
Locked
intelliviewsupport
Newbie
Newbie
Posts: 1
Joined: Mon Sep 10, 2012 10:04 am

HOW TO INSTALL winetricks with proxy

Post by intelliviewsupport »

Hi,

How to install using the terminal internet. Am using a proxy internet in my Linux machine and i cant get internet directly due to security issues. Is it possible to install the winetricks using proxy via terminals. Am also configured the DNS with proxy IP but still the web site URL is not resolving. Please help me out in resolving this issue ASAP.

Thanks in Advance.

Regards,
Arun.J
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: HOW TO INSTALL winetricks with proxy

Post by vitamin »

You don't need to "install" winetricks. It's a single shell script that you can download using your preferred method.
ischou
Level 4
Level 4
Posts: 109
Joined: Sun Nov 28, 2010 7:22 pm

Re: HOW TO INSTALL winetricks with proxy

Post by ischou »

There are two issues. As Vitamin pointed out there's nothing to install, but if you do not have a web browser, then even getting winetricks might be a challenge.

There are two choices: wget or curl

You need to configure one of those two command-line downloaders to work with your proxy. Mainly you should set your http_proxy and ftp_proxy environment variables to the hostname and port of your proxy. Then you can get winetricks by doing:

wget http://winetricks.org/winetricks

or

curl http://winetricks.org/winetricks -o winetricks

Similarly, once you set your proxy environment variables, then winetricks itself should work, since it uses wget or curl to download.
Locked