MIKE LEVIN LPVG SEO

Future-proof your tech-skills with Linux, Python, vim & git as I share with you the most timeless and love-worthy tools in tech — and on staying valuable while machines learn... and beyond.

Writing Automated Install Script for LXD & Jupyter on WSL

by Mike Levin

Wednesday, September 14, 2022

Wow, wow, wow! In an attempt to force myself to use JupyterLab under LXC, I uninstalled Jupyter-Desktop through Windows Settings / Apps per their upgrade instructions. It’s like disabling the arrow keys in vim to force yourself to use hjkl. Find the love in things. I initially had concerns over performance and there is a wee bit of overhead lag on LXD vs. just WSL, but I’m willing to live with it for the Noah’s Ark benefit. Speaking of which, look at this great ASCII art I found. Right? Right! I’m so working that in. http://www.ascii-art.de/ascii/ab/ark_of_noah.txt

  (\    _\_(`\_ `/`                     _
 `/,-'=/`                   _,'|`._
 /'  `/`                 ,-' |||._ `-._        i_i
                     _,-' ,-' ||  `__  `-._ "=(. .)="
                 _,-' _,-'  --||- (..=`/._ `-/#\ (    i_i
               ,\ _,-'     |  )|_|-==` \_)`-/  /v  "=(. .)="
             ,' ,|/      \ |__||\ //|\\ /  / #/    ,/ \ (
           ,' ,' ((_.--._))   || )(/|\)'  /#  ;  ,/ #,/v
         ,' ,'   |`-    -'    ||/  (/\\  /  #; ,/# ,/
       ,'  ' /   |  \  */"-._ |/ _____,-''"/_)/__ /
     ,',---|((_.--._(__/    _.--""_____)-//_______"-.
      (,-.)| `-     -(  _,"_.--""    |||((   __ "-.:
    ___,/ ;|   \  */ _\'_,"  (\__/)  |||\\\ |__`,()() . \
   (,_.) (_|   (__/,'_,' /_/)=\.\. = |||||| | `( ` ``\|\)\
     ( ;.__|  _,-'_,'  =//. ==> _7)< |||||| |`` , ` *  "")
   ___\  _,--'_,-'  //_(7__/) ////\  |||||| |``` \___.--'
    \_"""_,--' <*)_//'""    )/_/-"""":|||||,""""(("-._/
    | """" ) ( _(-' _.---"\___,----. |||||| |  ,' "`._ ,((
    |  ) ( \_/'   ,'    _""   "_    `.||||| |,"\\'--._)   "._
     \ \_/<. .>""(      ( .   .)      )|||| |\\ \/,"\\ /`--._)
      <. .>|_/\|  \/     ) \,-(     \(||||| | \\)"\\ \)
      ||_/( (  |   |\/   /, \  \ )\\(:|||||,()""""-.:|
      |  \ `-\ |   |__\/,  :`/-`._____,-""_,'    ctr:|
      |"""\___,""""""""""""""\(_,( (__,-"||---"""""";
       \---""""---------""""""""````/////))----""""/
     ~~~\                         ~///////~      ~/~~~~~
         \ ~~~~~      ~~~~~~~      /~~~~/      ~~/    ~~~
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Wow, every last thing becomes love-worthy.

Be sure to make it that re-running ~/repos/jupyme/install.sh has little to no downsides. You’ll loose your pip installs and Jupyter configuration, but I can address all that. Also, apt installs.

I want to make the bit optional graphics build.

First, make the conduit between the host machine and the LXD instance. The important thing is to simulate the tftp (trivial file transfer protocol) tricks that I’ve done in Levinux. Moving my Levinux tricks over to LXD is potentially profoundly big win… wow, releasing such potential. As simple as possible!

Hmmm, maybe even make your WSL default instance