在Ubuntu 18.04中使用终端安装vscode .deb软件包 [英] Installing vscode .deb package using terminal in ubuntu 18.04
本文介绍了在Ubuntu 18.04中使用终端安装vscode .deb软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用.deb软件包在ubuntu-18.04中安装Visual Code,我使用了: dpkg -i< file name.deb>
我也尝试过: apt-get install -f
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
但是它说它需要libconf-2-4,而libconf-2-4需要还有更多东西...
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?
推荐答案
您可以使用 apt
安装软件包 文件 ,例如
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.
这篇关于在Ubuntu 18.04中使用终端安装vscode .deb软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文