diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-05-02 23:26:53 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-05-02 23:26:53 +0300 |
commit | 7f0e7d8fa3e4ce324a17151d5f76e8d3fdfa262b (patch) | |
tree | b6cdc683abddfb8d6901479c44257baaeca2ebb2 /os-trog.sh | |
parent | ef467ad481eb5ebf120c6806a18529d1981696f6 (diff) | |
download | troggle-7f0e7d8fa3e4ce324a17151d5f76e8d3fdfa262b.tar.gz troggle-7f0e7d8fa3e4ce324a17151d5f76e8d3fdfa262b.tar.bz2 troggle-7f0e7d8fa3e4ce324a17151d5f76e8d3fdfa262b.zip |
Ubuntu 22.04 + python3.11
Diffstat (limited to 'os-trog.sh')
-rw-r--r-- | os-trog.sh | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -6,24 +6,25 @@ echo 'Run this in a terminal in the troggle directory: "bash venv-trog.sh"' cat /etc/os-release # Expects an Ubuntu 22.04 relatively clean install. -#sudo apt install python-is-python3 -y +sudo apt install python-is-python3 -y python --version : ensure python is an alias for python3 not python2.7 sudo apt update -y sudo apt dist-upgrade -y sudo apt autoremove -y sudo apt install sqlite3 -y sudo apt install python3-pip -y +sudo apt install python3.10-venv -y +sudo apt install python3.11-venv python3.11-dev -y # this installs a shed-load of other stuff: binutils etc.sudo apt install survex-aven +sudo apt install openssh-server -y +# sudo apt install sftp -y sudo apt install git openssh-client -y # On a clean debian 11 (bullseye) installation with Xfce & ssh, - #on ubuntu 20.04: + #on ubuntu 20.04 and 22.04 #Package sftp is not available, but is referred to by another package. - #This may mean that the package is missing, has been obsoleted, or - #is only available from another source - #E: Package 'sftp' has no installation candidate - + # this is why we install openssh-server because it includes it. # On Ubuntu 20.04, with python10, the pip install fails. # So you need to get the pip from source @@ -47,7 +48,6 @@ sudo apt install git openssh-client -y sudo python -m pip install --upgrade pip -sudo apt install sftp -y # Go to https://expo.survex.com/handbook/troggle/troglaptop.html#dbtools |