jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.04k stars 341 forks source link

Documentation on installing an additional kernel #173

Closed gtom closed 3 years ago

gtom commented 6 years ago

Hi, I'm new to jupyterhub. Today I installed tljh and it works like a charm. Thank you for this work. I would like to use a Ruby-Kernel within Jupyter. I followed this instruction (https://github.com/SciRuby/iruby), but I do not know what to do after 'iruby register --force'? I think, I have to change some config in tljh, so jupyterhub could pick up the new Ruby-Kernel and show this beside Python 3 in 'NEW'-menu. I think, procedure will be the same for every kernel? Maybe, someone has done this already? Thanks gTom

fm75 commented 6 years ago

I am hoping that an answer will appear here. I am thinking of trying to add a C++ kernel perhaps as soon as next week.

dr-br commented 5 years ago

I also would really appreciate an answer!

fm75 commented 5 years ago

https://github.com/root-project/cling/tree/master/tools/Jupyter has instructions for cling https://github.com/SciRuby/iruby/issues/60 has answer for Ruby

Yes. better documentation is needed.

Actually installing "your_kernel" seems to need a command like this:

jupyter kernelspec install [--user] your_kernel

Seems like it might be the hard part to find.

aboutaaron commented 5 years ago

Here's how I installed R and the IRKernel on a custom server running Ubuntu 18.04:

sudo -E conda install r-base r-essentials r-irkernel 
sudo -E chown -R `whoami` /opt/tljh/user/lib/R

I did this from the Jupyter Hub terminal with an admin user

dsadulla commented 4 years ago

@aboutaaron I tried the above for R the kernel keeps dying for even simple commands.. How did you resolve it?

Was looking into this: https://irkernel.github.io/installation/#windows-panel but to no avail..

TIA!!

consideRatio commented 3 years ago

I'm closing this in favor of #728 for a centralized discussion.