Installing and Uninstalling Software/Packages
- When installing packages, do you need to launch a container first?
- Yes. You must first launch a container then use pip install. The package will be saved in your home directory and available to use each time you log into your account and for any container.
- Can you run GPU containers in the terminal?
- Yes. Note: You cannot launch duplicates of the same container at the same time – meaning one in the terminal and one datahub.
- How do I view packages installed in my home directory?
- After ssh and launching a container, enter ‘pip list --user’.
- How do I install packages in my home directory?
- After ssh and launching a container, then install package using ‘pip install <package>’.
- How do I uninstall packages from my home directory?
- After ssh and launching a container, then install package using ‘pip uninstall <package>’
Launching containers in the terminal/command prompt
- How do you launch containers in JupyterHub from the terminal?
- After launching the container in terminal, a link will be provided. Copy and paste the link in the browser. Make sure you are not already logged into the datahub.
Uploading files in the terminal
- How do you get to your home directory?
- For researchers, enter ‘ls’ after logging in.
- For me (admin), enter ‘cd /datasets/home/72/072/kkt008/’ then ‘ls’
- How do you upload files from OneDrive files to your home directory?
- For researchers:
- No just navigate to the OneDrive folder via terminal and follow instructions here.
- Afterwards, ssh into Research cluster and enter ‘ls’ to view files.
- For me (admin):
- At ‘sftp>’ step, enter ‘cd /datasets/home/72/072/kkt008/’. Then enter ‘put filename.txt’ to upload files.
- For researchers:
- How do you upload files to shared storage (e.g. lab, group, or USS storage)?
- For researchers:
For saving to team shared storage enter ‘cd /uss/sharename’ (after sftp>) as a the step prior to uploading files. To view files after logging into the RC, enter ‘cd /dsmlp/teams’.
- For me (admin):
- At ‘sftp>’ step, enter ‘cd /uss’. Then 'cd /sharename'. Next, enter ‘put filename.txt’ to upload files.
- For researchers:
Jupyter Notebook
File uploads in Jupyter Notebook
- How to upload files in Jupyter Notebook?
- Log in at datahub.ucsd.edu.
- Launch your preferred environment.
- Navigate to your teams folder.
- Select ‘Upload’ to transfer new files.
Installing and Uninstalling Software/Packages
- How do I view packages installed?
- From your homepage, select ‘New’ > ‘Terminal’. In the Jupyter Notebook terminal, enter ‘pip list --user’.
- How do I install packages in my home directory?Jupyter Notebook terminal:
- From your homepage, select ‘New’ > ‘Terminal’. In the Jupyter Notebook terminal, enter ‘pip install <package>’
- How do I uninstall packages from my home directory?
- From your homepage, select ‘New’ > ‘Terminal’. In the Jupyter Notebook terminal, enter ‘pip uninstall <package>’