ubuntu下安装使用lantern

下载地址在 https://lanterncn.cc/down

下载lantern

wget https://raw.githubusercontent.com/getlantern/lantern-binaries/master/lantern-installer-beta-64-bit.deb

安装..

dpkg -i antern-installer-beta-64-bit.deb

可以给个权限

chmod -R 777 /usr/bin/lantern

使用

cd /usr/bin
./lantern

如果报错

error while loading shared libraries

echo "/usr/bin/lantern" >> /etc/ld.so.conf
ldconfig

如果报错

/root/.lantern/bin/lantern: error while loading shared libraries: libappindicator3.so.1: cannot open shared object file: No such file or directory

apt-cache search libappindicator3

gir1.2-appindicator3-0.1 – Typelib files for libappindicator3-1.

libappindicator3-1 – Application Indicators

libappindicator3-dev – Application Indicators

apt-get install libappindicator3-1

如果libappindicator3-1 404,推荐换apt-get源

卸载

apt-get autoremove --purge lantern