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.

1

5 Answers 5

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

2
  • In debian 10 the readline command cannot be found after installing libreadline7 and libreadline-dev. Anyone else experiencing the same issue?
    – lainatnavi
    Commented Apr 15, 2021 at 15:37
  • 1
    currently on Ubuntu, it is sudo apt-get install libreadline-dev
    – inarighas
    Commented Aug 30, 2023 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

8
sudo apt-get install lib32readline7 lib32readline-dev 

can be used.

1
  • this wokred on buster-slim but not on bullseye Commented Sep 12, 2021 at 4:10
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .