Trouble-shooting for apt-get install
1 min readJan 19, 2019
Sometimes, when we work in the company, we usually have a proxy, which help us connect to outside network.
Today I met the issue when I try to install apt-get package because I forgot to change my proxy in the file.
Then I found how to fix it.
sudo vim /etc/apt/apt.conf
you will edit the file and change the proxy in your company!
Moreover, it is better to change the proxy in the setting in system
sudo vim ~/.bashrc
http_proxy=<proxy IP>