Changes
Page history
Update Installation and Testing
authored
Jun 21, 2021
by
Kummer, Florian
Hide whitespace changes
Inline
Side-by-side
Getting-Started/Installation-and-Testing.md
View page @
44228d1a
...
...
@@ -132,37 +132,41 @@ resp. `dotnet-interactive` must be added.
(See also in the
[
Original Documentation
](
https://github.com/dotnet/interactive/blob/main/docs/NotebooksLocalExperience.md
)
.)
1.
The available kernels can be listed by
`jupyter kernelspec list`
in a python-aware terminal, e.g. Anaconda Prompt:
```
code
flori@Stormbreaker:~$ jupyter kernelspec list
Available kernels:
python3 /usr/local/share/jupyter/kernels/python3
```
2.
Next,
`dotnet interactive`
must be installed:
```
code
dotnet tool install -g --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive
```
Especially if you installed
`dotnet`
in your local user account, e.g.
if you are not using root/superuser priviliges,
you might have to modify the path set the DOTNET_ROOT
` correctly in your
in your `
.bashrc
`, where `
xxxxxxx
` is the name of your home directory:
```
export PATH=$PATH:/home/xxxxxxx/.dotnet/tools
export DOTNET_ROOT=/home/xxxxxxx/dotnet-sdk-5.0.301/
```
```
code
flori@Stormbreaker:~$ jupyter kernelspec list
Available kernels:
python3 /usr/local/share/jupyter/kernels/python3
```
2.
Next,
`dotnet interactive`
must be installed.
The latest release via:
```
dotnet tool install --global Microsoft.dotnet-interactive
```
or, from the development channel:
```
code
dotnet tool install -g --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive
```
Especially if you installed
`dotnet`
in your local user account, e.g.
if you are not using root/superuser priviliges,
you might have to modify the path set the DOTNET_ROOT
` correctly in your
in your `
.bashrc
`, where `
xxxxxxx
` is the name of your home directory:
```
export PATH=$PATH:/home/xxxxxxx/.dotnet/tools
export DOTNET_ROOT=/home/xxxxxxx/dotnet-sdk-5.0.301/
```
3. Then install the Jupyter kernel:
```code
dotnet interactive jupyter install
```
```code
dotnet interactive jupyter install
```
4. Verify that Jupyter supports C#:
```code
flori@Stormbreaker:~$ jupyter kernelspec list
Available kernels:
.net-csharp /home/flori/.local/share/jupyter/kernels/.net-csharp
.net-fsharp /home/flori/.local/share/jupyter/kernels/.net-fsharp
.net-powershell /home/flori/.local/share/jupyter/kernels/.net-powershell
python3 /usr/local/share/jupyter/kernels/python3
``
`
```code
flori@Stormbreaker:~$ jupyter kernelspec list
Available kernels:
.net-csharp /home/flori/.local/share/jupyter/kernels/.net-csharp
.net-fsharp /home/flori/.local/share/jupyter/kernels/.net-fsharp
.net-powershell /home/flori/.local/share/jupyter/kernels/.net-powershell
python3 /usr/local/share/jupyter/kernels/python3
``
`
Really easy, isn't it?
## Notes on Third-party libraries
...
...
...
...