gdt: Kangaroo road sign (Default)
Glen Turner ([personal profile] gdt) wrote2018-04-11 10:10 pm
Entry tags:

Jupyter notebook for Fedora 27

Jupyter with Python

Fedora loves Python has the good oil:

$ sudo dnf install notebook
$ jupyter notebook

Jupyter with R

Firstly, install Jupyter with Python, as above.

IRkernel has the good oil. I've modified their advice to install RPM packages where they are available:

$ sudo dnf install czmq-devel libcurl-devel openssl-devel
$ sudo dnf install R-crayon R-pbdZMQ R-repr
$ R --no-restore --no-save
> install.packages('devtools')
> devtools::install_github(paste0('IRkernel/', c('IRdisplay', 'IRkernel')))
> IRkernel::installspec()
> q()

If you want to do a system-wide installation then run R as root, proceed as above, but the last step is:

> IRkernel::installspec(user = FALSE)