Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there a way to unpack into different locations? #10

Open
colearendt opened this issue Aug 18, 2021 · 2 comments
Open

is there a way to unpack into different locations? #10

colearendt opened this issue Aug 18, 2021 · 2 comments
Assignees

Comments

@colearendt
Copy link
Member

This is a bit of an admittedly strange question forced by circumstance:

  • RStudio Workbench configures the jupyter location once for the entire installation (i.e. all session containers must have jupyter at the same location): https://github.com/rstudio/rstudio-pro/issues/1692
  • By depending on the python version, we lose the ability to use different images with different python versions
  • Installing jupyter to /opt/python/jupyter, then, is a nice pattern for setting up the IDE to use either local sessions or remote, different python versions, and allowing for different jupyter "kernels" to be registered

As a result, is it possible to unpack a python build at /opt/python/jupyter?

@jspiewak
Copy link
Member

--transform takes a sed pattern, so:

$ tar -zt -f python-3.8.9-ubuntu-2004.tar.gz --show-transformed-names --transform='s/[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+/jupyter/' | head
jupyter/
jupyter/bin/
jupyter/bin/pip
jupyter/bin/2to3
jupyter/bin/iptest3
jupyter/bin/2to3-3.8
jupyter/bin/pygmentize
jupyter/bin/ipython3
jupyter/bin/ipython
jupyter/bin/pydoc3.8

@edavidaja
Copy link
Collaborator

see rstudio/r-builds#151

@edavidaja edavidaja self-assigned this Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants