LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Installing bash? (https://www.linuxquestions.org/questions/fedora-35/installing-bash-222366/)

lowpro2k3 08-25-2004 04:11 PM

Installing bash?
 
For a certain reason which I'm kind of too lazy too explain, I need to install bash-2.05a and probably uninstall bash-2.05b. I have downloaded the tar-zipped file, extracted it and before I do the ./configure dance I was wondering if there's anything I should know before I do. There probably is, and I have never attempted to install a shell before. I'm kind of nervous to do this, how good of a chance do I have at screwing up everything?

Please help :D

Thanks.

mpdavig 09-02-2004 02:57 PM

> How good of a chance do I have at screwing up everything?

Not too good of a chance because you would have to screw up the other shells as well (tcsh and ash).

Probably the safest but, not without extra work would be to create your own RPM from the Fedora bash source rpm. This way you would be sure to put all the files in the right place. However here is the easier way first and you can make the determination:

1. su or login as root
2. tar zxvf bash-2.05a.tar.gz
3. cd bash-2.05a
4. ./configure --prefix=/usr
or just use ./configure but you will have to change /bin/bash entries in /etc/passwd to /usr/local/bin/bash
5. make
6. rpm -e bash
7. make install

or build a new RPM

1. su or login as root
2. download and install bash srpm
rpm -ivh bash-2.05b-*.src.rpm
3. cd /usr/src/redhat/SPECS
4. vi bash.spec and change all instances of 2.05b to 2.05a
5. cp bash-2.05a.tar.gz /usr/src/redhat/SOURCES
6. rpmbuild -ba bash.spec
7. rpm -ivh /usr/src/redhat/RPMS/i386/bash-2.05a-*.i386.rpm


All times are GMT -5. The time now is 11:12 PM.