diff --git a/index.html b/index.html index bf92c66..e7bb9b9 100644 --- a/index.html +++ b/index.html @@ -33,15 +33,25 @@
Install with homebrew:
brew install ttyd
Ubuntu 16.04 as example:
-sudo apt-get install cmake g++ pkg-config git vim-common libwebsockets-dev libjson-c-dev libssl-dev
+
+ -
+
Install from ppa (ubuntu 16.04 only):
+ sudo apt-get install -y software-properties-common
+sudo add-apt-repository ppa:tsl0922/ttyd-dev
+sudo apt-get update
+sudo apt-get install ttyd
+
+ -
+
Build from source (debian/ubuntu):
+ sudo apt-get install cmake g++ pkg-config git vim-common libwebsockets-dev libjson-c-dev libssl-dev
git clone https://github.com/tsl0922/ttyd.git
cd ttyd && mkdir build && cd build
cmake ..
make && make install
-
- NOTE: You may need to compile libwebsockets from source for ubuntu versions old than 16.04, since they have outdated libwebsockets-dev package (Issue #6).
-
+ You may need to compile/install libwebsockets from source if
+ the libwebsockets-dev package is outdated.
+
+
Install on Windows
ttyd can be built with MSYS2 on windows, The build instructions is here.
@@ -49,10 +59,9 @@ make && make install
ttyd winpty cmd.
LEDE 17.01.0 and later:
opkg install ttyd
- - NOTE: This may only works for LEDE snapshots currently, if the install command fails, compile it yourself. -+
If the install command fails, you can compile it yourself.
ttyd is a tool for sharing terminal over the web