Installing vscode .deb package using terminal in ubuntu 18.04

若如初见. 提交于 2019-12-08 09:02:01

问题


I want to install Visual Code in ubuntu-18.04 with .deb package, i used: dpkg -i <file name.deb> i also tried: apt-get install -f

but it says it needs libconf-2-4, and libconf-2-4 needs more things...

Is there any way to install all of the dependencies together?


回答1:


You can use apt for installing a package file, e.g.,

apt install ./filename.deb

The "./" helps it see that is just a package file, and after that it will continue by evaluating dependencies.



来源:https://stackoverflow.com/questions/54171711/installing-vscode-deb-package-using-terminal-in-ubuntu-18-04

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!