You need to set the http_proxy environment variable in you shell session before invoking apt-get or friends, eg:
Code:export http_proxy=user:password@proxy_host:portnumber
I connect to high speed internet thru a proxy server on lan.In firefox/konqueror I am prompted for a username and password to connect to the proxy server.
I want to use this connection to do "apt-get" from the console but it always says "proxy authentication failed" which is obvious as I have not entered the username and password in the console.How I will be able to do that I have no idea.
Please help.
You need to set the http_proxy environment variable in you shell session before invoking apt-get or friends, eg:
Code:export http_proxy=user:password@proxy_host:portnumber
ok I'll try that.thanks
Did not work.
Should beexport http_proxy='http://userassword@host com
ort'

Samsung 256 GB Internal SATA SSD Fully Tested 80-99% Health
$28.00
ON SALE TURBOLINK EVO 4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive
$199.99
Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive
$199.00
Fikwot 512GB SATA SSD 2.5'' SSD SATA III 6Gb/s Internal Solid State Drive 560MBs
$66.00
256GB mSATA SSD DRIVE MIXED BRAND TESTED WORKING
$23.50
SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps
$79.99
Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive
$24.99
Crucial 2TB P3 Plus NVMe PCIe 4.0 M.2 Laptop Desktop Internal SSD CT2000P3PSSD8
$199.00
Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$119.99
Samsung 860 EVO 2TB 2.5" SATA III 3D NAND SSD MZ-76E2T0 95%-100% Health
$207.00