Easy Install¶
Install¶
The following should work in any operating system, assuming compilers are installed in standard locations. The shell must be aware of Anaconda.
Open a terminal
Choose a name for the turboWAVE environment, here denoted
NAMEType
conda create -n NAME -c dfxgordon twutilsType
conda activate NAMEThis activates the environment. Each time a new terminal session is started, the environment needs to be activated.
Run the installer
Type
twinstallfor installations on a local machine, or a remote machine with tolerable X forwarding.Type
twinstall --terminalfor installation on a remote machine where X forwarding fails or is too slow (not available in PowerShell).
Use the installer to complete the sequence of steps in the
Tasksarea.
Note
Pretty PowerShell
To get color working try Set-ItemProperty HKCU:\Console VirtualTerminalLevel -Type DWORD 1. To get Unicode characters working try $OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding (put this in the $PROFILE file to make it persist). If unicode is still not displayed correctly, start cycling fonts (right-click title bar and choose Properties).
Runtime¶
When twinstall is used, the executable installs to the conda environment. As a result, when outside the environment, the executable will not be found. However, one should understand that the executable itself does not depend on Anaconda or Python in any way. It can be manually installed anywhere.
Upgrade¶
Open a terminal
conda activate NAMEconda update -c dfxgordon twutilsRun the installer
If you delete the old local repository first, or select a new location for
Get Components, the process is identical to a new installation.Alternatively you can point
Get Componentsto the old local repository and let the installer pull the latest from upstream. Note the local repository has to be clean in this case.
Uninstall¶
Open a terminal
To remove the whole turboWAVE environment type
conda remove -n NAME --allDelete the
turboWAVElocal repository (the location was chosen by you)Delete
DataViewer.ipynb(the location was chosen by you)If you installed syntax highlights and you want to remove them:
Delete
~/.vim/syntax/turbowave.vim,~/.turbowave.nanorc, and~/.config/micro/syntax/turbowave.micro.yaml, or their Windows counterpartsDelete
~/.vim/filetype.vimand~/.nanorc, or their Windows counterparts, unless you need them for other purposes. In the latter case, search for lines containingturbowaveand delete them.If you installed
language-turbowavein Atom remove it using Atom’s package manager