Configure apt-get to work behind a proxy in Ubuntu 10.04 Lucid Lynx

by
Share this Article: Facebook0Google+0Twitter1LinkedIn0Reddit0Pinterest0StumbleUpon0Digg

How to apply apt-get  update or install in Ubuntu 10.04 Lucid Lynx ? I was behind a proxy server and after installing Ubuntu 10.04 Lucid lynx i coulden`t update or install anything using the apt-get command. After searching i found that The  apt  package has been changed, now there is no more   apt.conf on  /etc/apt  directory.

 




What i did to resolve this issue is the follow :

Open terminal and the file  /etc/bash.bashrsc

sudo gedit /etc/bash.bashrc

 

 

 

and  add  at the  bottom of  the  file these 2 lines :

 

#proxy 
export http_proxy=http://user:password@host:port/
export ftp_proxy=http://user:pass@host:port/


Now save  and  exit


Now you will be able to  update, upgrade or install packages in Ubuntu 10.04 Lucid Lynx

{loadposition user9}

Related Article By Tags:

{loadposition user1}

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter1LinkedIn0Reddit0Pinterest0StumbleUpon0Digg