39 lines
616 B
Markdown
39 lines
616 B
Markdown
# Ubuntu PPA 使用说明
|
||
|
||
PPA 表示个人软件包存档(Personal Package Archive)。
|
||
|
||
## 1.安装
|
||
|
||
```bash
|
||
# for <= 12.04
|
||
apt-get install python-software-properties
|
||
# for >= 12.10
|
||
apt-get install software-properties-common
|
||
```
|
||
|
||
## 2.使用
|
||
|
||
```bash
|
||
add-apt-repository <ppa url>
|
||
apt-get update
|
||
apt-get install lighttable-installer
|
||
```
|
||
|
||
如果过程中遇到卡在 wait header 处,试试
|
||
|
||
```bash
|
||
apt-get clean
|
||
apt-get update
|
||
```
|
||
|
||
## 3.常用 PPA 的添加
|
||
|
||
### 3.1.Python3.7 for Ubuntu16
|
||
|
||
```bash
|
||
add-apt-repository ppa:deadsnakes/ppa
|
||
apt-get update
|
||
apt-get install python3.7
|
||
apt-get install python3-pip
|
||
```
|