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