Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

sudo apt-get install libaio

and

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

2 Answers 2

up vote 8 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
1  
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

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. yesterday
    
Unless I am mistaken, it is currently the year 2015..... –  Alan Thompson 20 hours ago

Your Answer

 
discard

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.