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