# What is package that needs to be added to use SparseMatrix?

**URL:** <https://discourse.julialang.org/t/what-is-package-that-needs-to-be-added-to-use-sparsematrix/64105>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [July 5, 2021, 8:50pm UTC](https://discourse.julialang.org/t/what-is-package-that-needs-to-be-added-to-use-sparsematrix/64105 "2021-07-05T20:50:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amro](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Amro](https://discourse.julialang.org/u/Amro)\
**Post date:** [July 5, 2021, 8:50pm UTC](https://discourse.julialang.org/t/what-is-package-that-needs-to-be-added-to-use-sparsematrix/64105/1 "2021-07-05T20:50:18Z")

</div>

Hello,

I am trying to use the spzeros() function, but I couldnt know which package I need to install?

Bests,

 ![333](https://global.discourse-cdn.com/julialang/original/3X/9/9/99ef384803f6eda700cc0404a8cae399240ab934.png)

---

<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:** [July 5, 2021, 8:51pm UTC](https://discourse.julialang.org/t/what-is-package-that-needs-to-be-added-to-use-sparsematrix/64105/2 "2021-07-05T20:51:43Z")

</div>

The [`SparseArrays` standard library](https://docs.julialang.org/en/v1/stdlib/SparseArrays/#Sparse-Vector-and-Matrix-Constructors).

If you google “spzeros Julia” it comes up as the first link.

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 5, 2021, 8:51pm UTC](https://discourse.julialang.org/t/what-is-package-that-needs-to-be-added-to-use-sparsematrix/64105/3 "2021-07-05T20:51:44Z")

</div>

```julia
using SparseArrays

```

Ninjad by steven 🙂
