Before running apt-get command, run the following command:
The and are username and password corresponding to you proxy account. The is the address of your proxy (either domain name or IP address). The is the port your proxy service, for example, 80 or 8080.
You may use this command if you don’t need a username and a password to access your proxy:
You can use apt-get now.