Linux

APT-GET behind PROXY on Ubuntu

If you are a Debian-based GNU/Linux user, then you’re probably familiar with synaptic and apt-get to install application from software repositories. This post focussed on how to use apt-get/synaptic behind proxy server/firewall which under normal circumstances, you’re unable to use apt-get.

If you’re using Synaptic
Open up your Synaptic package manager (usually as root), go to Settings-> Preference -> Network. Enter your proxy server details like : username:password@proxyserver.net, and put the proxy server port (usually 8080).

If you’re using command-line apt-get
Edit your /etc/bash.bashrc file as root.

>sudo gedit /etc/bash.bashrc

Put these line at the end of your /etc/bash.bashrc file :

export http_proxy=http://username:password@proxyserver.net:port/
export ftp_proxy=http://username:password@proxyserver.netport/

You can omit the username:password, if your proxy server has no password.

http_proxy=http://username:password@host:port/
export http_proxy

debian,ubuntu,knoppix, mepis, apt-get

How to use apt-get behind proxy server (Ubuntu/Debian)
http://blog.mypapit.net/2006/02/how-to-use-apt-get-behind-proxy-server-ubuntudebian.html

8 thoughts on “APT-GET behind PROXY on Ubuntu

  1. That is really interesting, You’re an overly skilled blogger.

    I’ve joined your feed and look forward to seeking extra of
    your excellent post. Additionally, I’ve shared your
    web site in my social networks

  2. May I simply just say what a relief to uncover someone that truly knows what they are talking about over the internet.
    You certainly understand how to bring a problem to light and
    make it important. More and more people must read this and understand this side of your story.
    I can’t believe you are not more popular given that you surely possess the gift.

  3. Pretty component of content. I simply stumbled upon your site and in accession capital to claim that I get actually enjoyed account your blog posts. Anyway I will be subscribing on your feeds or even I fulfillment you get admission to consistently rapidly.

  4. Hi ! ^_^
    My name is Piter Kokoniz. oOnly want to tell, that your posts are really interesting
    And want to ask you: will you continue to post in this blog in future?
    Sorry for my bad english:)
    Thank you:)
    Your Piter Kokoniz, from Latvia

  5. Hello!
    Very Interesting post! Thank you for such interesting resource!
    PS: Sorry for my bad english, I’v just started to learn this language😉
    See you!
    Your, Raiul Baztepo

Comments are closed.