-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Binary & Package Distributions
Mame edited this page Oct 12, 2018
·
34 revisions
sudo apt-get install trojan
sudo pacman -S trojan
$(AURHelper) -S trojan-git
Enable testing
repo and run
sudo apt-get install trojan
sudo dnf copr enable fei1yang/trojan
sudo dnf in trojan
sudo emerge --sync
sudo emerge -av trojan
sudo add-apt-repository ppa:greaterfire/trojan
sudo apt-get update
sudo apt-get install trojan
There are two ways:
-
Use crouton install a linux chroot environment, and install trojan just like a normal linux.
-
For google's
Linux (beta)
, you need to enable it in the settings, and run in the terminal:
sudo -i
apt update
apt -y install git g++ cmake libboost-system-dev libboost-program-options-dev libssl-dev default-libmysqlclient-dev
git clone https://github.com/trojan-gfw/trojan.git
cd trojan/
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DSYSTEMD_SERVICE=ON .
make install
or you can upgrade it to debian buster:
sudo -i
apt update && apt dist-upgrade
cp /etc/apt/sources.list /etc/apt/sources.list.bak
sed -i 's/stretch/buster/g' /etc/apt/sources.list
apt update && apt dist-upgrade
apt install trojan
NOTE: The IP of socks5 proxy is not 127.0.0.1
, check it by running ifconfig
or ip address
https://github.com/trojan-gfw/trojan/releases/latest