Updated Ubuntu and I reinstall R and now if I tried to run R on my terminal I am getting below error, I am getting what will be the issue
/usr/local/lib/R/bin/exec/R: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
I tried some threads still not able to resolve
libreadline.so.6 issue in ubuntu 18.04
$ which R
/usr/local/bin/R
$ R --version
/usr/local/lib/R/bin/exec/R: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
$ dpkg -l "libreadline*"
dpkg-query: no packages found matching .
dpkg-query: no packages found matching –
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================-============-============-======================================================
un libreadline-common <none> <none> (no description available)
ii libreadline-dev:amd64 8.0-4 amd64 GNU readline and history libraries, development files
un libreadline-gplv2-dev <none> <none> (no description available)
un libreadline4 <none> <none> (no description available)
un libreadline5 <none> <none> (no description available)
un libreadline5-dev <none> <none> (no description available)
un libreadline6-dev <none> <none> (no description available)
ii libreadline8:amd64 8.0-4 amd64 GNU readline and history libraries, run-time libraries
which R
,R --version
,dpkg -l "r-*"
,dpkg -l "libreadline*"
. – N0rbert Mar 03 '21 at 15:35