Skip to content

Instantly share code, notes, and snippets.

@pygman
Last active September 29, 2018 09:48
Show Gist options
  • Save pygman/e84e4b7588dd3bd15b9a56065bc7a6c9 to your computer and use it in GitHub Desktop.
Save pygman/e84e4b7588dd3bd15b9a56065bc7a6c9 to your computer and use it in GitHub Desktop.
Debian系列添加PPA源支持 add-apt-repository
sudo apt-get install python-software-properties //首先尝试安装这个软件
sudo apt-get install software-properties-common //上面尝试如果add-apt-repository不能运行,尝试安装这个软件
sudo apt-get install apt-file
sudo apt-file update
# 测试成功
# ss 使用
apt-file search add-apt-repository
sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
sudo apt-get install shadowsocks-qt5
# 使用ppa的源安装nvidia驱动
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-367
sudo apt-get install mesa-common-dev
sudo apt-get install freeglut3-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment