# Fresh install (MacOS 11)

**URL:** <https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128>\
**Category:** Q&A\
**Created:** [December 15, 2020, 12:41am UTC](https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128 "2020-12-15T00:41:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [December 15, 2020, 12:41am UTC](https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128/1 "2020-12-15T00:41:11Z")

</div>

Hi there,

I finally installed a brand new clean version of Big Sur on my laptop, and now comes the time to re-install softwares.

Three of them gave me a headache last time : GMT, LaTeX… and Ghostscript because of the shared libraries and the lack of transparency support (-dSAFER if I remember correctly? I know the topic appears here two or three times a year…)

So here’s my question to more Unix-aware people :

How to install GS, GMT and LaTeX together as cleanly as possible?  
From the bundles ? With Brew ? Compile it from the repo ?

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![seisman](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/seisman/32/4_2.png) [@seisman](https://forum.generic-mapping-tools.org/u/seisman)\
**Post date:** [December 15, 2020, 3:32am UTC](https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128/2 "2020-12-15T03:32:54Z")

</div>

> How to install GS, GMT and LaTeX together as cleanly as possible?  
> From the bundles ? With Brew ? Compile it from the repo ?

If you’re already a Homebrew user, using homebrew is the easiest way.

---

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [December 15, 2020, 3:38am UTC](https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128/3 "2020-12-15T03:38:38Z")

</div>

But is it the cleanest? Because brew doesn’t propose latex nor old version of gs (if I’m not mistaken)

---

<div class="post-metadata">

**Author:** ![seisman](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/seisman/32/4_2.png) [@seisman](https://forum.generic-mapping-tools.org/u/seisman)\
**Post date:** [December 15, 2020, 3:45am UTC](https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128/4 "2020-12-15T03:45:32Z")

</div>

Homebrew now provides Ghostscript 9.53.3 ([https://formulae.brew.sh/formula/ghostscript](https://formulae.brew.sh/formula/ghostscript)), which no longer has the transparency bug.

As for latex, Homebrew provides more options:

- basictex ([https://formulae.brew.sh/cask/basictex](https://formulae.brew.sh/cask/basictex)): a small and compact TeX distribution
- mactex ([https://formulae.brew.sh/cask/mactex](https://formulae.brew.sh/cask/mactex)): the large and full TeX distribution
- mactex-no-gui ([https://formulae.brew.sh/cask/mactex-no-gui](https://formulae.brew.sh/cask/mactex-no-gui)): similar to mactex, but without gui

---

<div class="post-metadata">

**Author:** ![seisman](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/seisman/32/4_2.png) [@seisman](https://forum.generic-mapping-tools.org/u/seisman)\
**Post date:** [December 15, 2020, 3:54am UTC](https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128/5 "2020-12-15T03:54:31Z")

</div>

macOS bundle may be the “cleanest” way to install GMT, but it also means you can only use the GMT stable releases, and can’t use the GMT master branch.

---

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [December 15, 2020, 4:01am UTC](https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128/6 "2020-12-15T04:01:02Z")

</div>

> [@seisman](#):
>
> can’t use the GMT master branch

Hum… fair… I need to run a specific flag or is it just through brew update?  
Thanks for the update on homebrew, I indeed was mistaken 🙂

---

<div class="post-metadata">

**Author:** ![seisman](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/seisman/32/4_2.png) [@seisman](https://forum.generic-mapping-tools.org/u/seisman)\
**Post date:** [December 15, 2020, 4:10am UTC](https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128/7 "2020-12-15T04:10:36Z")

</div>

You can install the GMT master branch using

```auto
brew install gmt --HEAD

```

A few weeks later, if you want to update to the latest master branch, you need to run

```auto
brew reinstall gmt

```

to re-compile and re-install GMT. The compilation usually takes no more than 5 minutes for me.

---

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [December 15, 2020, 4:29am UTC](https://forum.generic-mapping-tools.org/t/fresh-install-macos-11/1128/8 "2020-12-15T04:29:32Z")

</div>

👍  
I’ll try that tomorrow:)
