Installation of bc
Download the patches for bc from .
Install bc by running the following commands:
patch -Np1 -i ../bc-1.06-flex-invocation.patch &&
patch -Np1 -i ../bc-1.06-info.patch &&
patch -Np1 -i ../bc-1.06-readline.patch &&
./configure --prefix=/usr --with-readline &&
make &&
make install