Skip to content

Instantly share code, notes, and snippets.

@korakot
Last active April 2, 2025 14:08
Show Gist options
  • Save korakot/ae95315ea6a3a3b33ee26203998a59a3 to your computer and use it in GitHub Desktop.
Save korakot/ae95315ea6a3a3b33ee26203998a59a3 to your computer and use it in GitHub Desktop.
Install rust, cargo in Colab
# run this once, then reload, and then skip this
!apt install rustc
!gdown --id 1PULtTc-2e9z4bswh_SQqL5oy_4JpfV7c
!chmod +x evcxr_jupyter
!./evcxr_jupyter --install
// install dependency
:dep cmd_lib
use cmd_lib::run_cmd as sh;
# just to use with python
!apt install rustc
%env USER=korakot
@mateusvmv
Copy link

is it supposed to still work?

yep, run it once, switch kernel to Rust (not Rust-TCP), then reconnect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment