1:在安装软件提示错误:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
表示不是超级权限,在安装软件时加上:
sudo apt-get install libopencv-dev:利用超级权限安装
2:ls:列出文件信息
3:cd:可以进到某个文件夹里面去
3:查看ubuntu的版本号
lsb_release -a
4:如果是查看文件:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
表示不是超级权限,在安装软件时加上:
sudo apt-get install libopencv-dev:利用超级权限安装
2:ls:列出文件信息
3:cd:可以进到某个文件夹里面去
3:查看ubuntu的版本号
lsb_release -a
4:如果是查看文件:
cd DownLoads/
参考:
http://blog.csdn.net/cocoaxian/article/details/51901270