Linux系统下怎么安装.deb文件?
deb 是 ubuntu 、debian 的格式。
.deb是solaris系统下的安装包后缀名。安装方法如下
cd 到安装包的目录
dpkg(空格)-i(空格)安装包名字
注:一般需要在指令前加sudo
安装过程中出现异常,详细信息如下:
dpkg status database is locked by another process
原因是包管理器没有正确关闭。需要重启计算机或者重新打开终端 输入:
sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
然后重新安装包。