-
Junior Member
registered user
apt-get & proxy
Hi Im currently conected to Internet trough a winproxy, how can i use apt-get?
-
Senior Member
registered user
ooh! ooh! I know the answer to this one!
before you run apt-get (and the rest of your command line) you will want to run the command
export http_proxy="http://your.proxy.name:8080"
replace your.proxy.name with the DNS name or IP address of your proxy, and replace 8080 with what ever proxy port you use in your browser.
My proxy let's ftp traffic out without using the proxy, so I'm not sure what you will need to do if ftp traffic becomes an issue, but let the group know, and I am sure someone can give you some input.
-
Junior Member
registered user
it works!!!
Many thanks for your wise answer in addition i can use apt-get as follows:
Code:
http_proxy=ipoftheproxy:httpport apt-get update
many thanks
-
Senior Member
registered user
I believe this should work with modification of the address in the /etc/apt/apt.conf for a more permenant solution.
Code:
Acquire::http::Proxy "http://localhost:8000";
Acquire::ftp::Proxy "http://localhost:8000";
-
apt-get & Proxy
My proxy requires NT authentication. In addition to the postings, how do I pass the NT authentication to the proxy server?
-
Junior Member
registered user
Won't work
My company's proxy will not work:
Can you please help?
-
Senior Member
registered user
you forgot the quotes.
see the previous example, and try that.
-
Senior Member
registered user
> My proxy requires NT authentication.
Try "export http_proxy=http://userasswd@proxyort" before apt-get
Similar Threads
-
By unterzahl in forum German Forum
Replies: 0
Last Post: 05-30-2005, 01:46 PM
-
By mwgrenier in forum Networking
Replies: 5
Last Post: 08-07-2004, 02:05 AM
-
By Matrox in forum Networking
Replies: 2
Last Post: 06-14-2004, 06:23 PM
-
By A. Jorge Garcia in forum General Support
Replies: 7
Last Post: 01-30-2004, 12:30 AM
-
By BartOZ in forum Networking
Replies: 3
Last Post: 09-06-2003, 12:54 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 512 SSD Windows 11
$205.00
HP ProDesk 600 G4 SFF (Core i5-8500 @3.0GHz, 8GB RAM 256GB SSD) Desktop NO OS
$84.99
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$315.00
HP Pavilion TP01-2137C Desktop Ryzen 5 5600G AMD Radeon 12GB 1TB HDD+256GB SSD
$279.00
Intel Core i9-12900K Unlocked Desktop Processor - 16 Cores (8P+8E) & 24 Threads
$299.99
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$14.69
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$469.99
Intel Core i7-4790 3.60Ghz 8MB Quad Core Socket 1150 Desktop Processor
$29.99
🔥Intel NUC Mini Pc Core i5, Up to 32GB RAM, 2TB SSD Windows 10 Pre Install
$269.00
HP OMEN 45L GT22-1067c Gaming Desktop Intel i9-13900KF 64GB 2TB 4070Ti W11H
$1499.99