41

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
  • 116,445
  • 54
  • 318
  • 493
Josh Pinto
  • 7,769
  • 22
  • 80
  • 128

5 Answers5

53

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
  • 75,875
  • 31
  • 191
  • 309
  • In debian 10 the `readline` command cannot be found after installing `libreadline7` and `libreadline-dev`. Anyone else experiencing the same issue? – lainatnavi Apr 15 '21 at 15:37
  • currently on Ubuntu, it is `sudo apt-get install libreadline-dev` – inarighas Aug 30 '23 at 13:06
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

Aman Pandey
  • 393
  • 3
  • 10
8
sudo apt-get install lib32readline7 lib32readline-dev 

can be used.

5

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

Damien Mattei
  • 151
  • 1
  • 3
1

On Ubuntu 22LTS below should work

sudo apt-get install lib32readline8 lib32readline-dev
Gaurav
  • 91
  • 3