Yum install gettext gcc autoconf libtool automake make asciidoc xmlto c-ares-devel libev-devel You should jump this section and install them from distribution repository instead.įor some of the distributions, you might install build dependencies like this: stallation of basic build dependenciesĪpt-get install -no-install-recommends gettext build-essential autoconf libtool libpcre3-dev asciidoc xmlto libev-dev libc-ares-dev automake libmbedtls-dev libsodium-dev If your system provides with those libraries, you should not install them from source.
If your system is too old to provide libmbedtls and libsodium (later than v1.0.8), you will need to either install those libraries manually or upgrade your system. Notes: Fedora 26 libsodium version >= 1.0.12, so you can install via dnf install libsodium instead build from source.
Or download yum repo on Fedora Copr and put it inside /etc//. Install gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto c-ares-devel libev-devel libsodium-devel mbedtls-devel -yĮnable repo via dnf: c 'dnf copr enable librehat/shadowsocks' If you are using CentOS 7, you need to install these prequirement to build from source code: install epel-release -y
Systemctl start shadowsocks-libev # for systemd etc/init.d/shadowsocks-libev start # for sysvinit, or Sh -c 'printf "deb stretch-backports main" > /etc/apt//stretch-backports.list'Ĭonfigure and start the service it the configuration file If you insist on building from source, you will need to manually install libsodium from stretch-backports, NOT libsodium in main repository. We strongly encourage you to install shadowsocks-libev from stretch-backports. Note for Debian 9 (Stretch) users to build their own deb packages: Uild-deps -root-cmd sudo -install -tool "apt-get -o Debug::pkgProblemResolver=yes -no-install-recommends -y" Sh -c 'printf "deb jessie-backports main" > /etc/apt//jessie-backports.list'Īpt-get install -no-install-recommends devscripts equivs If you insist on building from source, you will need to manually install libsodium from jessie-backports-sloppy, NOT libsodium in main repository.įor more info about backports, you can refer Debian Backports. We strongly encourage you to install shadowsocks-libev from jessie-backports-sloppy. Note for Debian 8 (Jessie) users to build their own deb packages: Please try to build and install directly from source. You can build shadowsocks-libev and all its dependencies by script: r -p ~/build-area/įor older systems, building. sh -c 'printf "deb stretch-backports main" > /etc/apt//stretch-backports.list'Īpt -t stretch-backports install shadowsocks-libevįor Ubuntu 14.04 and 16.04 users, please install from PPA: apt-get install software-properties-common -yĪdd-apt-repository ppa:max-c-lv/shadowsocks-libev -y We strongly encourage you to install shadowsocks-libev from stretch-backports.įor more info about backports, you can refer Debian Backports. Sh -c 'printf "deb jessie-backports-sloppy main" > /etc/apt//jessie-backports.list'Īpt -t jessie-backports-sloppy install shadowsocks-libevįor Debian 9 (Stretch) users, please install it from stretch-backports: sh -c 'printf "deb jessie-backports main\n" > /etc/apt//jessie-backports.list' We strongly encourage you to install shadowsocks-libev from jessie-backports-sloppy.įor more info about backports, you can refer Debian Backports. Debian 8 or higher, including oldstable (jessie), stable (stretch), testing (buster) and unstable (sid)įor Debian 8 (Jessie) users, please install it from jessie-backports-sloppy:.
Shadowsocks-libev is available in the official repository for following distributions: Directly build and install on UNIX-like systemįor a complete list of available configure-time option,.See Directly build and install on UNIX-like system. You have to install libsodium at least 1.0.8, but recommended 1.0.12 or later version before building.
To get the latest source code, you should also update the submodules as following: clone
To be a lightweight implementation of shadowsocks protocol, in order to keep the resource usage as low as possible.įor a full list of feature comparison between different versions of shadowsocks, Shadowsocks-libev is written in pure C and depends on libev.
Proxy for embedded devices and low-end boxes.Ĭreated by and maintained and version: 3.1.3 | Changelog Shadowsocks-libev is a lightweight secured SOCKS5