In Ubuntu, the apt-get command is used by agents. Many companies now have their own proxy servers to control Internet access for employees. There will be some obstacles to update the software when we use a Linux system, such as Ubuntu. In Ubuntu, if you want to access the source on apt-get through a proxy, you can modify or add a/etc/apt. conf file Sh code sudo vi/etc/apt. conf then add the following content to the file: Conf code Acquire: http: proxy "http: // 127.0.0.1: 8000/"; Acquire: ftp: proxy "ftp: // 127.0.0.1: 8000/"; Acquire: https: proxy" https: // 127.0.0.1: 8000 /"; in this way, you can use the proxy server to access the source on apt-get. To edit the source list, you can modify Sh code vi/etc/apt/sources. list Config code deb http://cn.archive.ubuntu.com/ubuntu/ raring main restricted deb-src http://cn.archive.ubuntu.com/ubuntu/ raring main restricted