How do I install GNU Readline?

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

3 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.

Credit goes to this blog post

1

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

sudo apt-get install lib32readline7 lib32readline-dev 

can be used.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like