finding which package should I install in ubuntu/kubuntu

Sometimes, in installing some software from the source, it requires certain file or packages. If you know the package, it is pretty simple in ubuntu, simply type “sudo apt-get install “. But what if you don’t know and you only know xxx.h is required. To find the package, you can use apt-file. To install this,

sudo apt-get install apt-file

Then, to search which package contains xxx.h, simply type

apt-file search xxx.h

apt-file can even list down where this file will be installed,

apt-file list xxx.h


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: