update slackware behind a proxy


Please shareShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on RedditDigg thisShare on StumbleUpon

Question: I have a terminal access to slackware 13 machine.
where to insert the proxy host and user and password to run update or install packges normally from internet  ?




Add these lines to your /etc/profile (if you want to have the proxy settings system wide) or in ~/.profile (if you want these proxy settings for you alone):

export http_proxy="http://your.proxy.server.ip:8080/"
export ftp_proxy="http://your.proxy.server.ip:8080/"
export HTTP_PROXY="http://your.proxy.server.ip:8080/"
export FTP_PROXY="http://your.proxy.server.ip:8080/"

Some applications need the variables in upper case, others need the lower case.

If your proxy requires authentication, or uses another port than 8080, use a URL of the form:







root@unixmen-host:~# slackpkg update

Updating the package lists...
Downloading ChangeLog.txt...
--2009-10-08 15:37:35--  http://ftp.belnet.be/packages/slackware/slackware-13.0/ChangeLog.txt
Resolving proxy-*************.com...
Connecting to proxy-*********.com||:8082... connected.
Proxy request sent, awaiting response... 200 OK
Length: 222034 (217K) [text/plain]
Saving to: `/tmp/slackpkg.FoU5Ah/ChangeLog.txt'

100%[======================================>] 222,034     --.-K/s   in 0.02s

2009-10-08 15:37:35 (12.9 MB/s) - `/tmp/slackpkg.FoU5Ah/ChangeLog.txt' saved [222034/222034]

No changes in ChangeLog.txt between your last update and now.
Do you really want to download all other files (y/N)?