吾试图根据要求安装:

sudo apt install libreadline-dev

就要把吾整个系统的大多软件重新安装一遍。根本不可能啊。只能自己编译解决了。

https://blog.csdn.net/quantum7/article/details/106175380