mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-09 15:24:31 +00:00
update to describe WSL2 minimally
This commit is contained in:
@@ -86,11 +86,7 @@ but all the recommended software here is open source (and please don't install p
|
||||
<li><a href="https://git-scm.com/download/gui/linux">GUI for git</a> - There is a choice on Linux but many people just use the command line.
|
||||
<li>Your favourite text editor. gedit is installed on the <em>expo laptop</em> and has syntax highlighting for .svx files too. This works with <a href="https://survex.com/changes.html">all GtkSourceView-based editors</a> (thanks to Phil Withnall). Download a local copy of the syntax colourizer <a download href="/site_media/survex.lang">survex.lang</a>.
|
||||
</ul>
|
||||
<h4>For Linux and WSL (text mode only) Windows users only:</h4>
|
||||
<ul>
|
||||
<li>Survex is a package on debian and ubuntu but is not up to date. You need to attach to a ppa to get the latest survex:
|
||||
<a href="https://survex.com/download.html?platform=debian">ubuntu and debian</a> download. This is also the version to use on WSL for doing 'cavern' command-line things in WSL (such as doing troggle imports of all the svx data)
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h4>For Windows users only:</h4>
|
||||
@@ -156,32 +152,45 @@ to <a href="https://blog.shvetsov.com/2010/03/making-pageant-automatically-load-
|
||||
Only machines which have done the key-pair setup process can do scp, sftp or rsync.
|
||||
</p>
|
||||
|
||||
<h4>For Linux and WSL Windows users doing software development only:</h4>
|
||||
<p>We run <var>troggle</var> on older, stable versions of software. So you will need to install similarly old software on your development machine. A default Debian install in October 2021 will install v11 (Bullseye) and python3.9 whereas we are still using v10 (Buster) and python3.7 for development. Buster is in <a href=" https://wiki.debian.org/LTS">LTS support</a> until June 2024. Everything should work of course, but be aware.
|
||||
<ul>
|
||||
<li>Basic stuff, e.g. after a fresh install of Debian, either natively or under <a href="winlaptop.html#bold">WSL on Windows</a>:
|
||||
<code>sudo apt install survex<br>
|
||||
sudo apt install python3<br>
|
||||
sudo apt install python-is-python3<br>
|
||||
sudo apt install python3-pip<br>
|
||||
sudo apt install software-properties-common<br>
|
||||
sudo add-apt-repository ppa:deadsnakes/ppa<br>
|
||||
sudo apt install python3.7 python3.7-venv python3.7-doc binutils binfmt-support<br>
|
||||
</code>
|
||||
<li>Survex is a package on debian and ubuntu, and will have been installed as shown above; but it may not be up to date within the distribution. If you need a later version of survex than the pone packaged with debian then you need to attach to a ppa to get the latest survex:
|
||||
<a href="https://survex.com/download.html?platform=debian">ubuntu and debian</a> download. This is also the version to use on WSL for doing 'cavern' command-line things in WSL (such as doing troggle imports of all the svx data)
|
||||
</ul>
|
||||
|
||||
<h4>Cheap hack for Linux</h4>
|
||||
<p>On a Linux machine, it will not be necessary once you have everything set-up correctly, but
|
||||
a useful initial short-cut is to create 'mimic' symbolic links to directories to match those on the
|
||||
server and the <em>expo laptop</em>.
|
||||
(You should not rely on these as other people will have set up their machines differently.)
|
||||
So, assuming that you are storing /expofiles/ on a different drive /mnt/f/ from everything else which is on /mnt/d/, and your machine has
|
||||
no user <var>expo</var>:<pre><code>cd /home
|
||||
So, assuming that you are storing /expofiles/ on a different drive /mnt/f/ from everything else which is on /mnt/c/, and your machine has
|
||||
no user <var>expo</var>:<pre><code>d /home
|
||||
sudo mkdir expo
|
||||
cd expo
|
||||
sudo ln -s /mnt/f/expofiles expofiles
|
||||
sudo ln -s /mnt/d/CUCC-Expo/expoweb expoweb
|
||||
sudo ln -s /mnt/d/CUCC-Expo/troggle troggle
|
||||
sudo ln -s /mnt/d/CUCC-Expo/loser loser
|
||||
sudo ln -s /mnt/c/EXPO/expoweb expoweb
|
||||
sudo ln -s /mnt/c/EXPO/troggle troggle
|
||||
sudo ln -s /mnt/c/EXPO/loser loser
|
||||
sudo ln -s /mnt/c/EXPO/drawings drawings
|
||||
sudo ln -s /mnt/c/EXPO/expowebcache expowebcache
|
||||
sudo mkdir expowebcache/3d
|
||||
cd ..
|
||||
sudo ln -s /mnt/d/CUCC-Expo/expowebcache expowebcache
|
||||
cd expowebcache
|
||||
mkdir 3d
|
||||
ls -tlA
|
||||
ls -tlA expo
|
||||
</code></pre>
|
||||
where obviously you will be using your own locations for expofiles, expoweb, loser etc. instead of <var>/mnt/d/CUCC...</var> etc. This creates valid directory paths for, e.g. <var>/home/expo/loser</var> etc.
|
||||
where obviously you will be using your own locations for expofiles, expoweb, loser etc. instead of <var>/mnt/d/EXPO...</var> etc. This creates valid directory paths for, e.g. <var>/home/expo/loser</var> etc.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Learning how to use this software</h3>
|
||||
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user