Ubuntu下如何查找、安装你想安装的软件

时间:2024-02-22 22:52:22

1、更新软件数据库:

sudo apt-get update

2、查找你想要的软件:

sudo apt-cache searchsoftwareName

3、从查找的结果中找到你想安装的软件,然后:

sudo apt-get installsoftwareNameYouFound


备注:斜体字为命令的参数,需要根据用户需要安装的软件名称而改变。

---------------------------------------------------------

可以用命令:

sudo apt-cache -h

来得到更多信息。

---------------------------------------------------------

例如:

我想安装eclipse,但我不知道是否能通过apt-get命令来安装,如下操作:

1、sudo apt-get update.

2、sudo apt-cache search eclipse

这时,可以看到有

查找结果

3、这时可以用以下命令安装eclipse:

sudo apt-get install eclipse

---end