Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install libaio with following command line :

sudo apt-get install libaio


sudo apt-get install automake libtool autoconf gcc-g++ gcc libaio libaio-dev make

but both of them doesn't work for me. How do I install libaio?

share|improve this question
"doesn't work" is not a helpful description of a problem... – Sergey Dec 11 '12 at 3:17
what do you mean by doesn't work? – Hashken Dec 11 '12 at 4:04
I'm sorry maybe too hard you to understanding. I mean the command line can't install libaio – Muhammad Sholihin Dec 11 '12 at 4:26
up vote 15 down vote accepted

You need to use libaio1 package, which provides the Linux kernel AIO access library - shared library

To install libaio Use the command

sudo apt-get install libaio1

For more information of libaio look here

share|improve this answer
thanks. It's working – Muhammad Sholihin Dec 11 '12 at 4:30
use apt-cache policy libaio1 command to check – devav2 Dec 11 '12 at 4:49
libaio1: Installed: 0.3.109-2ubuntu1 Candidate: 0.3.109-2ubuntu1 Version table: *** 0.3.109-2ubuntu1 0, It's seems working. thanks – Muhammad Sholihin Dec 11 '12 at 5:00

After many tries and errors, I used sudo aptitude update and sudo aptitude upgrade and it fixed all the dependencies for libaio1, libmecab2 and so on.

share|improve this answer

I have found it super useful to use "apt" instead of "apt-get" to search for packages that are available.

> sudo apt search libaio

Sorting... Done
Full Text Search... Done
libaio-dev/trusty 0.3.109-4 amd64
  Linux kernel AIO access library - development files

libaio1/trusty 0.3.109-4 amd64
  Linux kernel AIO access library - shared library

libaio1-dbg/trusty 0.3.109-4 amd64
  Linux kernel AIO access library - debugging symbols

Then you can just use:

> sudo apt install libaio1

where again I have used "apt" instead of "apt-get"

share|improve this answer
apt isn't a valid command on a Ubuntu system in the year 2011. apt-search works. – A.B. May 31 '15 at 17:53
Unless I am mistaken, it is currently the year 2015..... – Alan Thompson Jun 1 '15 at 20:30

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.