setting proxy for apt-get

Magnus Therning magnus at therning.org
Thu Sep 8 07:58:58 UTC 2005


On Thu, Sep 08, 2005 at 09:40:15PM +0700, Asep Andria I.W. wrote:
>Hello All,
>
>I've just install Ubuntu 5.04 on my PC. I have a problem with apt-get.
>How do I set the authentication for apt-get for proxy user and proxy password?
>
>I try this way :
>export http_proxy=http://172.16.1.71:8080/
>
>where to input the user and password for my proxy ?

Try

 export http_proxy=http://<username>:<password>@172.16.1.71:8080/

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Programmers can get themselves into trouble in any language.
     -- A. Koenig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050908/cdfbf665/attachment.sig>


More information about the ubuntu-users mailing list