sparkydogX / sparkydogx_blog_comment

Comments for https://sparkydogx.github.io
1 stars 0 forks source link

安装与卸载dpkg | SparkydogX Blog #24

Open sparkydogX opened 5 years ago

sparkydogX commented 5 years ago

https://sparkydogx.github.io/2017/10/18/uninstall-dpkg/

安装dpkgdpkg是一个底层的安装软件,可以用于本地安装。Example:123$ sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb$ sudo apt-get update$ sudo apt-get install cuda 卸载dpkg有时候执行第三句命令时会遇到安装包出错的问题,这时候需要卸载原来加载的deb包。使用命令dpkg -l