How to install readline and readline-devel on Ubuntu?
How to install “readline” and “readline-devel” on Ubuntu ?
The “Readline” library provides a set of functions for use by application that allow users to edit command lines as they are typed in. it is a free software ,distributed under the terms of the GNU General Public License, version 3.
Let us see how to install “readline” and “readline-devel” on Ubuntu using “apt-get”
- SSH into the machine where you want to install the software.
- Run the following command on the shell prompt
1 2 3 4 5 6 7 8 9 10 11 12 13 | apt–get install libreadline6 libreadline6–dev Reading package lists... Done Building dependency tree Reading state information... Done libreadline6 is already the newest version (6.3–8ubuntu2). Suggested packages: readline–doc The following NEW packages will be installed: libreadline6–dev libtinfo–dev 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. |
libreadline Package
is for running applications using readline
libreadline-dev
Package is for compiling and building readline
application.
On a Centos machine you can install these packages using yum
1 2 3 | yum install readline readline–devel |
Output will be like following
1 2 3 4 5 6 7 8 9 10 11 12 13 | Running transaction Installing : ncurses–devel–5.9–13.20130511.el7.x86_64 1/2 Installing : readline–devel–6.2–9.el7.x86_64 2/2 Verifying : readline–devel–6.2–9.el7.x86_64 1/2 Verifying : ncurses–devel–5.9–13.20130511.el7.x86_64 2/2 Installed: readline–devel.x86_64 0:6.2–9.el7 Dependency Installed: ncurses–devel.x86_64 0:5.9–13.20130511.el7 |