47 lines
799 B
Markdown
47 lines
799 B
Markdown
# 统信系统配置
|
||
|
||
安装的软件
|
||
|
||
```bash
|
||
sudo apt install konsole neofetch zsh git tig com.brave.browser htop org.libreoffice.libreoffice
|
||
```
|
||
|
||
可以删除的软件
|
||
|
||
```bash
|
||
sudo apt remove dde-introduction deepin-manual deepin-terminal uos-service-support deepin-defender org.deepin.downloader
|
||
```
|
||
|
||
## pg 编译安装
|
||
|
||
需要安装的库:
|
||
|
||
```bash
|
||
sudo apt install zlib1g-dev libreadline-dev
|
||
```
|
||
|
||
剩下的 make 就行了。
|
||
|
||
## Python 3.12 编译安装
|
||
|
||
首先需要安装 libffi-dev:
|
||
|
||
```bash
|
||
sudo apt install libffi-dev
|
||
```
|
||
|
||
然后进入 Python 源码文件夹:
|
||
|
||
```bash
|
||
./configure --prefix=/usr/local/ --enable-optimizations
|
||
sudo make install
|
||
```
|
||
|
||
安装 neovim:
|
||
|
||
```bash
|
||
python3.12 -m pip install neovim
|
||
```
|
||
|
||
这样安装好的 Python 不会报找不到 `_ctypes` 模块的错误
|