summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-04-07 22:59:30 +0800
committerruki <[email protected]>2017-04-07 22:59:30 +0800
commita8109831ee00f5a2b90fdc9dd609c55c9f365951 (patch)
tree1e8987df3012b68c5308ff502910ee3269d781ff
parentb4cc6dc09427ae185f18d70d2f0597c768045638 (diff)
modify readme docs
-rw-r--r--docs/README.md22
-rwxr-xr-xdocs/zh/README.md22
2 files changed, 44 insertions, 0 deletions
diff --git a/docs/README.md b/docs/README.md
index 9197622fa..b26724e29 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -49,6 +49,28 @@ $ yaourt xmake
On Ubuntu:
+```bash
+$ sudo add-apt-repository ppa:tboox/xmake
+$ sudo apt-get update
+$ sudo apt-get install xmake
+```
+
+Or add xmake package source manually:
+
+```
+deb http://ppa.launchpad.net/tboox/xmake/ubuntu yakkety main
+deb-src http://ppa.launchpad.net/tboox/xmake/ubuntu yakkety main
+```
+
+Then we run:
+
+```bash
+$ sudo apt-get update
+$ sudo apt-get install xmake
+```
+
+Or download deb package to install it:
+
1. Download xmake `.deb` install package from [Releases](https://github.com/tboox/xmake/releases)
2. Run `dpkg -i xmake-xxxx.deb`
diff --git a/docs/zh/README.md b/docs/zh/README.md
index ddc577492..0ed8fb316 100755
--- a/docs/zh/README.md
+++ b/docs/zh/README.md
@@ -56,6 +56,28 @@ $ yaourt xmake
在ubuntu上安装:
+```bash
+$ sudo add-apt-repository ppa:tboox/xmake
+$ sudo apt-get update
+$ sudo apt-get install xmake
+```
+
+或者手动添加包源:
+
+```
+deb http://ppa.launchpad.net/tboox/xmake/ubuntu yakkety main
+deb-src http://ppa.launchpad.net/tboox/xmake/ubuntu yakkety main
+```
+
+然后执行:
+
+```bash
+$ sudo apt-get update
+$ sudo apt-get install xmake
+```
+
+或者下载deb包来安装:
+
1. 从 [Releases](https://github.com/tboox/xmake/releases) 上下载deb安装包
2. 运行: `dpkg -i xmake-xxxx.deb`