43

Basically as per question. I have the .tar.gz file but I can't seem to install it. I did the whole, ./configure, make and make install but it didn't work.

Eliah Kagan
  • 117,780
Josh Pinto
  • 7,919

5 Answers5

55

You can install the packages by using the command in a terminal (Press Ctrl-Alt-T to bring it).

sudo apt-get install libreadline6 libreadline6-dev

The package libreadline is for running applications using readline command

and the package libreadline-dev is for compiling and building readline application.

Credit goes to this blog post

Anwar
  • 76,649
17

libreadline6 don't work anymore.

The latest one is lib32readline7.

Or it's better to look at the available libraries along with a short description using following code:

apt-cache search readline

8
sudo apt-get install lib32readline7 lib32readline-dev 

can be used.

6

at the date of writing (2023) readline is now at the version 8:

sudo apt-get install libreadline8
sudo apt-get install libreadline-dev

note that there is no more version in the name of the developper package libreadline-dev

2

On Ubuntu 22LTS below should work

sudo apt-get install lib32readline8 lib32readline-dev
Gaurav
  • 101