开发者

What command should I use in finding the latest version of libgtk in linux

I need to 开发者_如何学Goinstall libgtk in Ubuntu linux.

I tried to use "sudo apt-get install libgtk", but the answer is that libgtk can't be found in the libgtk package.

How can I use a Linux command to find the latest version of libgtk?


If you're looking to FIND a gtk that's already installed on your box, try locate libgtk (if you have gnu slocate installed and running) or find / -name "libgtk*.so*" and be prepared to wait a while.

The suggestion to search using aptitude search or apt-cache search will probably do what you need if you're trying to determine how to INSTALL libgtk. Chances are you should have run sudo apt-get install libgtk2.0-dev.


You can use

aptitude search libgtk

or

apt-cache search libgtk

to search for package names containing libgtk. Availability of aptitude depends on Ubuntu version, but it can be easily installed by apt-get if not found; apt-cache is probably always available.

Which libgtk package you need can't really be decided by the information you provide, so please clarify if you need further help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜