# Where are the C API header files when I install with juliaup?

**URL:** <https://discourse.julialang.org/t/where-are-the-c-api-header-files-when-i-install-with-juliaup/99151>\
**Category:** General Usage\
**Tags:** embedding, c, juliaup\
**Created:** [May 20, 2023, 8:35am UTC](https://discourse.julialang.org/t/where-are-the-c-api-header-files-when-i-install-with-juliaup/99151 "2023-05-20T08:35:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![greatpet](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Post date:** [May 20, 2023, 8:35am UTC](https://discourse.julialang.org/t/where-are-the-c-api-header-files-when-i-install-with-juliaup/99151/1 "2023-05-20T08:35:41Z")

</div>

I switched from manually downloading Julia to using the juliaup installer. Now I just get a binary executable that launches Julia, but I cannot find the header files for embedding Julia in C/C++. Is this a limitation of juliaup, or I just need to look into the right directory?

---

<div class="post-metadata">

**Author:** ![xgdgsc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xgdgsc/32/608_2.png) [@xgdgsc](https://discourse.julialang.org/u/xgdgsc)\
**Post date:** [May 20, 2023, 9:39am UTC](https://discourse.julialang.org/t/where-are-the-c-api-header-files-when-i-install-with-juliaup/99151/2 "2023-05-20T09:39:07Z")

</div>

` ~/.julia/juliaup/julia-1.9.0+0.x64.linux.gnu/include/julia/`

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [May 20, 2023, 9:40am UTC](https://discourse.julialang.org/t/where-are-the-c-api-header-files-when-i-install-with-juliaup/99151/3 "2023-05-20T09:40:12Z")

</div>

Try running

```julia
$ julia -E "joinpath(dirname(Sys.BINDIR),\"include\",\"julia\")"

```

> <https://github.com/JuliaLang/julia/issues/25326>
>
> As discussed in #20899, in addition to \`Sys.BINDIR\` (location of \`julia\` executa…ble) it would be good to have \`Sys.LIBDIR\` (installed location of \`libjulia\`), \`Sys.INCLUDEDIR\` (installed location of \`julia.h\`), and perhaps a few others (e.g. \`Sys.JULIA\` and \`Sys.LIBJULIA\` for the full paths of \`julia\` and \`libjulia\`, respectively).
