linux如何知道自己安装库的名字?
迷茫
迷茫 2017-04-17 15:30:46
0
2
383
迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(2)
大家讲道理

Search with dpkg to see what the package name is, such as dpkg -l | grep gcc

阿神

Thanks for the invitation.

To put it simply, if you want to find the package name containing gcc from the installed package:

dpkg --get-selections | grep -v deinstall | grep gcc

But Ubuntu does not recommend using dpkg directly, but apt:

apt list --installed | grep gcc
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!