我之前都是這樣去安裝一個deb包的,首先直接安裝這個包shell
sudo dpkg -i
bash
以後可能會有依賴問題,因此ide
sudo apt install -f
ui
這樣雖然能夠解決一些問題可是還不夠方便code
首先咱們安裝gdebiorm
sudo apt install gdebi-core
blog
以後咱們能夠嘗試去安裝一個包ip
➜ 下載 sudo gdebi megacmd-xUbuntu_18.04_amd64.deb [sudo] bboysoul 的密碼: Reading package lists... Done Building dependency tree Reading state information... Done Reading state information... Done MEGA Command Line Interactive and Scriptable Application MEGAcmd provides non UI access to MEGA services. It intends to offer all the functionality with your MEGA account via shell interaction. It features 2 modes of interaction - interactive. A shell to query your actions - scriptable. A way to execute commands from a shell/a script/another program. 您是否想安裝這個軟件包?[y/N]:
在安裝以前它就把全部的依賴給列出來了,之後就能夠不用兩步走了get
歡迎關注Bboysoul的博客www.bboysoul.com Have Funcmd