<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">To get the MacPorts bash 5.0 the default shell, I now tried:</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-tab-span" style="white-space:pre">      </span>- edit <span style="font-family: Menlo; font-size: 13px;" class="">/private/etc/shells </span>so as to add <span style="font-family: Menlo; font-size: 13px;" class="">/opt/local/bin/bash</span></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-tab-span" style="white-space:pre">     </span>- in System Preferences > Users & Groups, I opened Advanced Options for my (adminstrator’s) account and changed the entry for Login shell to <span style="font-family: Menlo; font-size: 13px;" class="">/opt/local/bin/bash</span></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>- rebooted</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Still, when I open Terminal and issue command “<span style="font-family: Menlo; font-size: 13px;" class="">echo $BASH_VERSION</span>” I get response:  <span style="font-family: Menlo; font-size: 13px;" class="">3.2.57(1)-release</span></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="font-family: Menlo; font-size: 13px;" class=""><br class=""></span></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Note: if in that apparent 3.2.57 shell in Terminal, if I give command “<span style="font-family: Menlo; font-size: 13px;" class="">bash</span>” then of course I get response <span style="font-family: Menlo; font-size: 13px;" class="">5.0.17(1)-release</span></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 31 Aug2020, at 12:32 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">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="">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 color="#333333" face="Noto Serif, serif" class=""><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=""><div class=""><br class=""></div></div></div></div></blockquote></div><br class=""><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">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></body></html>