# Is LinearAlgebra a builtin module of julia?

**URL:** <https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452>\
**Category:** General Usage\
**Tags:** question\
**Created:** [January 7, 2024, 2:55am UTC](https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452 "2024-01-07T02:55:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiang\_ming\_zhang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jiang_ming_zhang/32/204063_2.png) [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Post date:** [January 7, 2024, 2:55am UTC](https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452/1 "2024-01-07T02:55:47Z")

</div>

```julia
(@v1.9) pkg> status
Status `C:\Users\jmzhang\.julia\environments\v1.9\Project.toml`
  [7d9fca2a] Arpack v0.5.4
  [6e4b80f9] BenchmarkTools v1.4.0
  [a93c6f00] DataFrames v1.6.1
⌃ [0c46a032] DifferentialEquations v7.11.0
  [0b1a1467] KrylovKit v0.6.0
  [b964fa9f] LaTeXStrings v1.3.1
  [91a5bcdd] Plots v1.39.0
  [27ebfcd6] Primes v0.5.5
  [c46f51b8] ProfileView v1.7.2
  [c53c40cc] Rimu v0.10.2
⌃ [90137ffa] StaticArrays v1.8.0
  [409d34a3] VectorInterface v0.4.2
Info Packages marked with ⌃ have new versions available and may be upgradable.

julia> using LinearAlgebra

julia> 

```

I did not see it in the pkg list, but I can use it.

---

<div class="post-metadata">

**Author:** ![ArchieCall](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/archiecall/32/206_2.png) [@ArchieCall](https://discourse.julialang.org/u/ArchieCall)\
**Post date:** [January 7, 2024, 3:10am UTC](https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452/2 "2024-01-07T03:10:19Z")

</div>

Look in your Manifest.toml file.  
LinearAlgebra may be a dep of one of your installed packages.

I am not an expert here … just an idea.

---

<div class="post-metadata">

**Author:** ![jiang\_ming\_zhang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jiang_ming_zhang/32/204063_2.png) [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Post date:** [January 7, 2024, 3:21am UTC](https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452/3 "2024-01-07T03:21:44Z")

</div>

It is indeed a dep of one of the installed packages.

---

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [January 7, 2024, 3:23am UTC](https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452/4 "2024-01-07T03:23:23Z")

</div>

Yes, `LinearAlgebra` is in the standard library, see [Linear Algebra · The Julia Language](https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/)

Here, you are using your standard environment, which is why `LinearAlgebra` isn’t listed explicitly. In all other environments, `LinearAlgebra` or any other package in the standard library should be added like any other dependency, so it should be in your `Project.toml` `[deps]` and `[compat]` section.

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [January 7, 2024, 9:37am UTC](https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452/5 "2024-01-07T09:37:21Z")

</div>

I believe this relate only to recent - or even future - versions of Julia. The clear direction is to consider standard lib packages as “normal” packages that just happens to be shipped with Julia - so with all the requirements in terms of naming and bounding them, but there is a bit of fog related to the version of Julia this would actually apply…

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [January 7, 2024, 1:34pm UTC](https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452/6 "2024-01-07T13:34:16Z")

</div>

> [@sylvaticus](#):
>
> so with all the requirements in terms of naming and bounding them, but there is a bit of fog related to the version of Julia this would actually apply…

You’ve always (since Julia 1.0) needed to list standard library packages in your `Project.toml`. It’s only recently (since Nov. 2023) that you needed to list version requirements for stdlib packages, but even then it’s only required if you want to register your package: [PSA: Compat requirements in the General registry are changing](https://discourse.julialang.org/t/psa-compat-requirements-in-the-general-registry-are-changing/104958)
