Open Terminal from the Jupyter Hub instance and then type the following:
sudo -E conda install r-base r-essentials r-irkernel
sudo chown -R `whoami` /opt/tljh/user/lib/RThese instructions assume you're using the default tljh install locations and are using the super user. If you're not, add sudo in front of all these commands.
systemctlsystemctl # find all services. You can optionally add the --all flag to check for services that may have stoppedtraefik.service and jupyter.service. You'll also need to remove any services associated with a user. These are usually named jupyter-[USER].service where [USER] is the user login name.Once you're done stopping the daemons, you'll need to remove them from /etc/systemd/system/.
Run the following commands for each service. For this example, we'll stop and remove traefik:
systemctl stop traefik.service
systemctl disable traefik.service
rm /etc/systemd/system/traefik.serviceDo this for traefik, jupyter and any associated users. Once this is done reset and reload the daemons:
systemctl daemon-reload
systemctl reset-failed
systemctl # optional call to ensure services have been removedtljh. Names should be jupyter-[USER] where [USER] is the login username:userdel -r jupyter-[USER] # the -r flag will also remove the users directories in /homeIf you don't remember the users you created, you can get a list of all jupyter users with the following command:
cat /etc/passwd | grep jupytertljh code and binary:rm -rf /opt/tljh/
rm /usr/bin/tljh-config