install java for tunnel and gpsprune - online edit of handbook/troggle/troglaptop.html

This commit is contained in:
Expo on server 2022-11-12 16:02:23 +00:00
parent 4161948862
commit 058e5e8a94

View File

@ -96,9 +96,14 @@ sudo apt install sqlite3 sqlite3-doc -y
sudo apt install survex -y
sudo apt install software-properties-common -y
sudo apt install git -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.10 python3.10-venv python3.10-doc -y
sudo apt install default-jdk -y
sudo apt install binutils binfmt-support -y
sudo apt install default-jdk
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.10 python3.10-venv python3.10-doc
sudo apt --fix-broken install
cd /usr/bin
sudo ln -s python3 python
sudo ln -s pip3 pip </code></pre>
@ -109,7 +114,7 @@ database. Sqlite3 is used by the test harness system.
<p>We do <em>not</em> install Django at this point. We will be installing Django in a separate virtual
environment (a 'venv'), not in the main linux system.
<p><b>Buggeration:</b> The <var>sudo add-apt-repository ppa:deadsnakes/ppa</var> line <a href="https://opensource.com/article/22/9/deprecated-linux-apt-key">won't work</a> after Debian 11 or Ubuntu 22.04. So this handbook page will need to be changed to use the <a href="https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key">new method</a>.
<p><b>Buggeration:</b> The <var>sudo add-apt-repository ppa:deadsnakes/ppa</var> line <a href="https://opensource.com/article/22/9/deprecated-linux-apt-key">won't work</a> after Debian 11 or Ubuntu 22.04. So this handbook page will need to be changed to use the <a href="https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key">new method</a>. And this way of installing python3.10 is fine on Ubuntu but not on Debian, where you are stuck with 3.9 on Debian 11 (Bullseye). Note that default-jre is Java which is used by tunnel and <a href="https://activityworkshop.net/software/gpsprune/download.html">gpsprune</a>.
<h2 id="links">Creating folders and soft links</h2>
<p>We need to have the folder structure that troggle expects. On your own machine