博文

目前显示的是 六月, 2015的博文

Problem with install sublime on ubuntu

Problem 1: Not able to add ppa for sublime under company proxy: sudo add-apt-repository ppa:webupd8team/sublime-text-2 Solution: The problem is caused by proxy. Solution is to keep proxy environment variables http_proxy when doing sudo: sudo -E add-apt-repository ppa:webupd8team/sublime-text-2 Problem 2: The problem is the repository only provide a amd64 package for sublime but during the update of ppa also look for an aarch64 package. First check which architecture your computer is using: dpkg --print-architecture shows that the architecture is amd64 Then edit the source.list file in /etc/apt/sources.list.d/webupd8team-sublime-text-2-trusty.list file to add [ arch=amd64 ] after deb, this means only check the package for amd64 architecture.