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.
- 119,640
- 8,089
6 Answers
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.
- 77,855
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
- 403
sudo apt-get install lib32readline7 lib32readline-dev
can be used.
- 272
- 1
- 3
- 12
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
- 169
On Ubuntu 22LTS below should work
sudo apt-get install lib32readline8 lib32readline-dev
- 111
Please check out the readline in the repository with this command in your terminal:
apt-cache search readline
after this command, i get:
lib32readline-dev lib32readline8
I install with this command
sudo apt-get install lib32readline-dev lib32readline8
FinallY:
sudo apt install libreadline-dev