Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I was trying to share my laptop's internet over wireless to use as wi-fi in my android phone. After googling for some time I am now stuck here:

the instruction says: "you need to install/update libnl-1.0pre8 (or later)" for a certain error I am getting. But I am unable to do so. I downloaded the package all right, but executing the makefile of that package is giving me errors. Is there another way to install/update this application? Please help.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Install libnl-dev using the following command:

sudo apt-get install libnl-dev


sudo apt-get install libnl-3-dev
share|improve this answer
Thanks. That worked!!! 1 more thing though. If I ever wanted to install/update any library, is there any way to know which package it is contained in? This one for example, I didn't find it anywhere on googling. Can't I search apt-get repository or something? – stranger_anon Apr 5 '13 at 14:53
Yes, you can. The command is apt-cache search <package_name>. However, it would result in a lot of packages. In this case, you can try apt-cache search libnl. – green Apr 5 '13 at 15:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.