Linux 軟件安裝

apt-get remove grafana-server數據庫

apt-cache search grafana-serverserver

查找軟件blog

命令: apt-cache search keywordrem

查詢軟件狀態get

命令: apt-cache policy softname軟件

引用: http://www.zishu.cn/blogview.asp?logID=684配置

安裝軟件date

命令: apt-get install softname1 softname2 softname3……file

卸載軟件搜索

命令: apt-get remove softname1 softname2 softname3……

卸載並清除配置

命令: apt-get remove --purge softname1

更新軟件信息數據庫

命令: apt-get update

進行系統升級

命令: apt-get upgrade

搜索軟件包

命令: apt-cache search softname1 softname2 softname3……

Deb軟件包相關安裝與卸載

安裝deb軟件包

命令: dpkg -i xxx.deb

一、經過deb包安裝的狀況: 安裝.deb包: 代碼: sudo dpkg -i package_file.deb

反安裝.deb包: 代碼: sudo dpkg -r package_name

二、經過apt-get安裝的狀況: 安裝 代碼: sudo apt-get install package_name

反安裝 代碼: sudo apt-get remove package_name

相關文章
相關標籤/搜索