Would you like to learn how to configure the apt-get Proxy Authentication? This tutorial will teach you how to authenticate your apt-get requests on a local proxy using the command-line on a computer running Ubuntu Linux

• Ubuntu Linux version 18.04
• Ubuntu Linux version 19.10

Ubuntu Playlist:

On this page, we offer quick access to a list of videos related to Ubuntu Linux.

Don’t forget to subscribe to our youtube channel named FKIT.

Ubuntu Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Ubuntu linux.

Tutorial Apt-get – Outbound Proxy Configuration

Create the configuration file inside the /etc/apt/apt.conf.d directory.

Copy to Clipboard

Here is the file content:

Copy to Clipboard

In our example, Ubuntu will use the proxy server 192.168.0.10 and its port 3128.

In our example, Ubuntu will use the usename gohan and the password mypass123 to authenticate.

Update your apt-get database.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

Congratulations! You configured the APT-GET proxy authentication successfully.