Skip to content

Commit 588438d

Browse files
Update README.md
1 parent 079663f commit 588438d

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ to run MAC for pose graph sparsification and compute SLAM solutions. Several plo
9999

100100
### Baseline methods
101101

102-
The GreedyESP (Khosoussi et al. 2019) baseline requires scikit-sparse, which in turn requires SuiteSparse. On a Mac, this can be installed with:
102+
The GreedyESP (Khosoussi et al. 2019) baseline requires scikit-sparse, which in turn requires SuiteSparse. You can install SuiteSparse and scikit-sparse as follows, depending on your operating system:
103+
104+
#### MacOS installation
105+
On a Mac, you can install SuiteSparse via `brew` by running:
103106
```bash
104107
brew install suite-sparse
105108
```
@@ -109,6 +112,14 @@ You then need to explicitly provide the path to suite-sparse in your call to pip
109112
SUITESPARSE_INCLUDE_DIR=/usr/local/Cellar/suite-sparse/7.0.1/include SUITESPARSE_LIBRARY_DIR=/usr/local/Cellar/suite-sparse/7.0.1/lib pip3 install scikit-sparse
110113
```
111114

115+
#### Linux installation
116+
On Linux, you can simply run:
117+
```bash
118+
sudo apt-get install python-scipy libsuitesparse-dev
119+
pip install --user scikit-sparse
120+
```
121+
122+
#### Conda
112123
You may also be able to install `scikit-sparse` entirely over `conda`. See these [instructions](https://scikit-sparse.readthedocs.io/en/latest/overview.html#installation) for more details.
113124

114125
## Reference

0 commit comments

Comments
 (0)