<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">I have always been too cautious to
change the default shell on MacOS to anything other than one that
is officially provided, especially for the root account, even if
those shell versions are as old as the hills. For scripts and
launchd process simply put the #!/path/to/bash5 at the top and
that's what they run as. For interactive sessions simply put the
new bash exec in the PATH and run it first thing after login,
perhaps even automatically by insertion into default shell startup
file. If you really want to change the default you can using the
chsh command (man chsh), but I've never done so for the root or
startup user. Too much experience based paranoia I guess.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Just my 2c.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Regards<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 8/31/20 11:32 AM, Murray Eisenberg
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6511282A-0916-478B-97F4-B080FAFBEA53@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
I want to upgrade the built-ub bash 3.2 shell on my macOS Catalina
(10.15.6) to bash 5.0.
<div class=""><br class="">
</div>
<div class="">I tried to do this by building from scratch, using
the methods given at <a
href="https://scriptingosx.com/2019/02/install-bash-5-on-macos/?unapproved=66418&moderation-hash=e680aa22ae89f6f565cadd63e63d04e0#comment-66418"
class="" moz-do-not-send="true">https://scriptingosx.com/2019/02/install-bash-5-on-macos/?unapproved=66418&moderation-hash=e680aa22ae89f6f565cadd63e63d04e0#comment-66418</a>.
But the final step, “sudo make install” gave a fatal error of <span
style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51);
font-family: "Noto Serif", serif; font-size: 19px;
background-color: rgb(255, 255, 255);" class="">‘libintl.h’
file not found.</span></div>
<div class=""><br class="">
</div>
<div class="">So then I successfully installed the MacPorts port <span
style="font-family: Menlo; font-size: 13px;" class="">bash
@5.0.17_0.</span></div>
<div class=""><font class="" face="Noto Serif, serif"
color="#333333"><span style="caret-color: rgb(51, 51, 51);
font-size: 19px; background-color: rgb(255, 255, 255);"
class=""><br class="">
</span></font></div>
<div class="">—> But how do I make this bash 5.0 my shell when
I open Terminal?</div>
<div class=""><span style="background-color: rgb(255, 255, 255);"
class=""><br class="">
</span>
<div class="">
---<br class="">
Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;"> </span><a
href="mailto:murrayeisenberg@gmail.com" class=""
moz-do-not-send="true">murrayeisenberg@gmail.com</a><br
class="">
503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;"> </span>Home
(240)-246-7240<br class="">
Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;"> </span>Mobile
(413)-427-5334<br class="">
<br class="">
</div>
<br class="">
</div>
</blockquote>
<p><br>
</p>
</body>
</html>