Skip to content

Commit

Permalink
Merge pull request #26 from irvincardoza/main
Browse files Browse the repository at this point in the history
Added guidelines for Linux
  • Loading branch information
findmyway authored Jul 5, 2024
2 parents 7e5fc8e + 4c556d7 commit 662cc83
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,41 @@

This package provides a Julia wrapper for the [OpenSpiel](https://github.com/deepmind/open_spiel) project. For more details, please refer the [doc](https://openspiel.readthedocs.io/en/latest/julia.html)

For higher level APIs you may refer [ReinforcementLearningEnvironments.jl](https://github.com/JuliaReinforcementLearning/ReinforcementLearningEnvironments.jl).
For higher level APIs you may refer [ReinforcementLearningEnvironments.jl](https://github.com/JuliaReinforcementLearning/ReinforcementLearningEnvironments.jl).

# Installation Guidelines

## Linux:
## 1. Install Julia with specific version:
- To install latest stable version:
```
curl -fsSL https://install.julialang.org | sh
```
- To install long term support version:
```
sudo snap install julia --classic --channel=lts
```
Suggested to use LTS version to avoid errors with OpenSpiel.jl

## 2. Add OpenSpiel.jl wrapper to your Julia Repl:
- Open terminal and start a Julia terminal by running the executable

```
julia
```
- Open Packages
```
julia> ]
```
- Add the below command
```
pkg> add https://github.com/JuliaReinforcementLearning/OpenSpiel.jl.git
```
- To test if it installed correctly run the below code in your Julia repl
```
using OpenSpiel
```

0 comments on commit 662cc83

Please sign in to comment.