Skip to content

Binary & Package Distributions

Mame edited this page Sep 19, 2018 · 34 revisions

Linux

Packaging status

AOSC OS

sudo apt-get install trojan

Arch Linux

sudo pacman -S trojan

AUR

$(AURHelper) -S trojan-git

Fedora

sudo dnf copr enable fei1yang/trojan 
sudo dnf in trojan

Gentoo

Install layman and add trojan-gentoo overlay:

sudo emerge -av layman
sudo layman -S
sudo layman -a trojan-gentoo

and then install it:

sudo emerge -av trojan

Ubuntu (>=18.04)

sudo add-apt-repository ppa:greaterfire/trojan
sudo apt-get update
sudo apt-get install trojan

Chrome OS

You need to enable the "Linux(beta)" in the settings, Then open the terminal run:

sudo -i
apt update
apt -y install git g++ cmake libboost-dev 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

macOS & Windows (>=Vista)

https://github.com/trojan-gfw/trojan/releases/latest