Use apt behind proxy server on Ubuntu 18.04

Use apt behind proxy server on Ubuntu 18.04
How to Set the Proxy for APT on Ubuntu 18.04