Green and black…
git
commandsgit
skill is reconciling incompatible mergesbash > cd ~ > jupyter lab > copy paste > edit > save > commit
Bottom line: The plan is to enable WSL-2 on a Windows machine in support of Linux
A compatibility layer is an interface that allows binaries from a foreign system to run on a host system.
In the WSL-2 discussion above, the host system is Windows and the compatibility layer is Windows Subsystem for Linux v2, abbreviated WSL-2. The foreign system binary is Linux. One enables WSL-2 so as to run Linux on Windows.
At the Windows Command Prompt – as Administrator – one can install wsl
if needed via wsl --install
.
(Re-start the PC at this point.) Thence: A wsl
command starts a bash shell in the Command window.
C:\Windows\system32> wsl
(base) username> pwd
/mnt/c/WINDOWS/system32
(base) username> cd ~
(base) username> pwd
/home/username
(base) username> exit
C:\WINDOWS\system32>
Now the darndest thing is I can also use my Windows chooser (windows key) to find bash
. How did
that get there? …more to do here…
Anaconda
?conda
conda
is a management tool
pip
and apt-get
pip
is also a Python package installer/manager
conda
and pip
is attempted here on stack overflowapt-get
is a Linux command line tool for interacting with a package management system for Linux distributions
apt-get
apt-get
is hence a Linux analog of Python package management tools like conda
and pip
Bottom line: Anaconda is a large Python distribution that includes package and environment management tools. More here
miniconda
miniconda
is a minimal Python installation that also includes the conda
package manager
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
rm Miniconda3-latest-Linux-x86_64.sh
source ~/.bashrc
conda install ipython
conda install jupyter
conda create -n python313 python=3.13
conda activate python313
jupyter notebook
conda-forge
?bash
?Linux
?Linux is an operating system traceable back to UNIX.
cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.04"
etcetera
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
vi
or vim
?vi
is a visual text editor
created by Bill Joy back in the mid-1970s, associated with UNIX/Linux.
vim
is an improved
and very compatible version. The main point of vi
from my perspective
is: Sharp learning cost and then it becomes second nature; and this
is primarily due to the intrinsic
In recent years vi/vim
has accumulated features like color-coded
text which is one of the motivations for this repository. Apparently
when Heads Up Displays were introduced in the military the pilots
would often switch them off because it they just amounted to visual clutter.
Jupyter
?git
?environment.yml
?requirements.txt
?I can “install” something called WSL… or maybe it is combined with “turning on Linux” inside Windows. But I can also install Ubuntu bash. Which opens a bash terminal in my home directory… where miniconda is not installed. So I install miniconda and now I can create and activate environments. And I can start a Jupyter notebook server. But the other day my Ubuntu
### What is a web framework?
### What is flask?