cat /proc/version
uname -a
lsb_release -a
https://mirrors.ustc.edu.cn/repogen/
deb https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-security main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-security main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-updates main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-backports main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-backports main restricted universe multiverse ## Not recommended # deb https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-proposed main restricted universe multiverse # deb-src https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-proposed main restricted universe multiversey
sudo apt purge unattended-upgrades
sudo apt autoremove
sudo apt update && sudo apt upgrade
apt-get autoremove --purge 软件名
sudo vi /etc/ssh/sshd_config
sudo /etc/init.d/ssh start
python安装
espnet
sudo apt-get install cmake sudo apt-get install sox sudo apt-get install libsndfile1-dev sudo apt-get install ffmpeg sudo apt-get install flac cd espnet-master/tools # 安装kaldi ./setup_anaconda.sh ${CONDA_TOOLS_DIR} espnet 3.8 make . ./activate_python.sh; python3 check_install.py
vi ~/.condarc
channels:
- https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
- https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- defaults show_channel_urls: true
vi ~/.pip/pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple/
[install]
trusted-host = pypi.tuna.tsinghua.edu.cnpip config list