Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Debian / Ubuntu
- sudo su # using root account
- apt-get install --no-install-recommends build-essential autoconf libtool asciidoc xmlto -y
- apt-get install git gcc g++ cmake automake -y
- apt-get -f install -y
- apt-get update -y
- apt-get upgrade -y
- cd / # switch to root directory
- git clone https://github.com/ShadowsocksR-Live/shadowsocksr-native.git
- mv shadowsocksr-native ssr-n # rename shadowsocksr-native to ssr-n
- cd ssr-n # enter ssr-n directory.
- git submodule update --init
- git submodule foreach -q 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'
- # build ShadowsocksR-native
- cmake CMakeLists.txt && make
- # make install
- # /bin/cp -rfa src/ssr-* /usr/bin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement