Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compile bash?

Tags:

linux

bash

How to compile bash? I did small modifications to the code I got from http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz. I want to see those changes. Can anyone please point to me simple steps to compile bash?

like image 500
username_4567 Avatar asked Dec 09 '22 09:12

username_4567


1 Answers

You can first run

cd bash-4.2

./configure --prefix=/usr                     \
        --bindir=/bin                     \
        --htmldir=/usr/share/doc/bash-4.2 \
        --without-bash-malloc             \
        --with-installed-readline

make

make install

Also refer http://www.linuxfromscratch.org/lfs/view/development/chapter06/bash.html for more information

like image 77
Rahul R Dhobi Avatar answered Dec 11 '22 09:12

Rahul R Dhobi