LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-25-2004, 05:11 PM   #1
lowpro2k3
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Rep: Reputation: 30
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

Thanks.
 
Old 09-02-2004, 03:57 PM   #2
mpdavig
Member
 
Registered: May 2004
Location: Boston, MA
Distribution: Fedora
Posts: 30

Rep: Reputation: 19
> 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
$LINENO can't be modified in bash 3.0, while it can be in bash 2.05b Darwish Linux - Software 1 11-07-2005 03:57 PM
Will installing BASH cause problems? vous Linux - Software 1 03-25-2005 08:55 AM
bash + html + javascript or just bash ? rblampain Programming 4 12-01-2004 08:53 AM
Installing services using bash mijohnst Linux - Software 4 09-15-2004 02:24 AM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration