notes/config/uos/Readme.md

47 lines
799 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 统信系统配置
安装的软件
```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` 模块的错误