Skip to content

Commit

Permalink
針對不同ubuntu版本寫不一樣的前置作業指令
Browse files Browse the repository at this point in the history
以ubuntu 16.04 發行版為界,以前的使用apt-get,以後的使用apt。
  • Loading branch information
hms5232 committed Feb 15, 2019
1 parent e5957d7 commit fd28fc6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -24,12 +24,18 @@ root@4a7bd751fd9e:/usr/local/src/moedict-webkit# make
請先用 Disk Utility 建立一個 HFS+ 分割區,再將開發目錄移至該卷宗。

## 前置作業 (Debian/Ubuntu)

### Ubuntu 16.04 之前的發行版
```sh
sudo apt-get update
sudo apt-get install -y python g++ make nodejs python-lxml curl npm
```

### Ubuntu 16.04(含)之後的發行版
```sh
sudo apt update
sudo apt install -y python g++ make nodejs python-lxml curl npm
```

## 安裝環境

```sh
Expand Down

0 comments on commit fd28fc6

Please sign in to comment.