# Instructions to install GMT.jl on Ubuntu

**URL:** https://discourse.julialang.org/t/instructions-to-install-gmt-jl-on-ubuntu/73486
**Category:** General Usage
**Tags:** question, ubuntu, gmt
**Created:** [December 22, 2021, 1:31pm UTC](https://discourse.julialang.org/t/instructions-to-install-gmt-jl-on-ubuntu/73486 "2021-12-22T13:31:16Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)
#### Post date: [December 22, 2021, 4:58pm UTC](https://discourse.julialang.org/t/instructions-to-install-gmt-jl-on-ubuntu/73486/5 "2021-12-22T16:58:00Z")

</div>

> [@leon](#):
>
> ldd: /usr/lib/x86\_64-linux-gnu/libgmt.so: No such file or directory

My guess is that you installed from one of those package managers that do not create a symbolic link to the library as is common use on unix and that is why it doesn’t find the `libgmt.so`

If you run, **in a unix shell** , `gmt --show-bindir` it will show you the location of the GMT executable. Then use `ldd` to find its dependencies. Something like

```julia
ldd /usr/bin/gmt | grep libgmt

```

you will see references to (in my linux box)

```julia
libgmt.so.6 => /lib64/libgmt.so.6 (0x00007f45f97ee000)

```

and

```julia
[jluis@fct-gmt lib64]$ ls /usr/lib64/libgmt*
/usr/lib64/libgmt.so /usr/lib64/libgmt.so.6 /usr/lib64/libgmt.so.6.1.0

```

The problem in your case (again, my guess) is that your installation lacks the `libgmt.so`, which is a symbolic link ( **that should be there** ). The solution is to create one yourself (in the directory of the shared libs, `/usr/lib64/` in this example) do

```julia
ln -s libgmt.so libgmt.so.6

```

---

_[View the full topic](https://discourse.julialang.org/t/instructions-to-install-gmt-jl-on-ubuntu/73486)._
