ubuntu22 first run
This commit is contained in:
@@ -464,7 +464,7 @@ prepare () {
|
|||||||
echo 'This only needs to be run once to prepare your system to use octoprint_deploy.'
|
echo 'This only needs to be run once to prepare your system to use octoprint_deploy.'
|
||||||
echo 'Run this setup and then connect to OctoPrint through your browser to setup your admin user.'
|
echo 'Run this setup and then connect to OctoPrint through your browser to setup your admin user.'
|
||||||
PS3='Installation type: '
|
PS3='Installation type: '
|
||||||
options=("OctoPi" "Ubuntu 18-20" "Ubuntu 21.X" "Mint 20.3" "Fedora 35+" "Raspberry Pi OS Bullseye" "Quit")
|
options=("OctoPi" "Ubuntu 18-20" "Ubuntu 21.X" "Ubuntu 22" "Mint 20.3" "Fedora 35+" "Raspberry Pi OS Bullseye" "Quit")
|
||||||
select opt in "${options[@]}"
|
select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
@@ -480,18 +480,22 @@ prepare () {
|
|||||||
INSTALL=3
|
INSTALL=3
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
"Mint 20.3")
|
"Ubuntu 22")
|
||||||
INSTALL=4
|
INSTALL=4
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
"Fedora 35+")
|
"Mint 20.3")
|
||||||
INSTALL=5
|
INSTALL=5
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
"Raspberry Pi OS Bullseye")
|
"Fedora 35+")
|
||||||
INSTALL=6
|
INSTALL=6
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
"Raspberry Pi OS Bullseye")
|
||||||
|
INSTALL=7
|
||||||
|
break
|
||||||
|
;;
|
||||||
"Quit")
|
"Quit")
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
@@ -553,17 +557,21 @@ prepare () {
|
|||||||
apt-get update > /dev/null
|
apt-get update > /dev/null
|
||||||
apt-get -y install make v4l-utils python3.9-venv cmake libjpeg8-dev gcc g++ python3-dev build-essential python3-setuptools libyaml-dev python3-pip
|
apt-get -y install make v4l-utils python3.9-venv cmake libjpeg8-dev gcc g++ python3-dev build-essential python3-setuptools libyaml-dev python3-pip
|
||||||
fi
|
fi
|
||||||
#Mint requires python3.8-venv?
|
|
||||||
if [ $INSTALL -eq 4 ]; then
|
if [ $INSTALL -eq 4 ]; then
|
||||||
|
apt-get update > /dev/null
|
||||||
|
apt-get -y install make v4l-utils python3.10-venv cmake libjpeg8-dev gcc g++ python3-dev build-essential python3-setuptools libyaml-dev python3-pip
|
||||||
|
fi
|
||||||
|
#Mint requires python3.8-venv?
|
||||||
|
if [ $INSTALL -eq 5 ]; then
|
||||||
apt-get update > /dev/null
|
apt-get update > /dev/null
|
||||||
apt-get -y install make v4l-utils python3.8-venv cmake libjpeg8-dev gcc g++ python3-dev build-essential python3-setuptools libyaml-dev python3-pip
|
apt-get -y install make v4l-utils python3.8-venv cmake libjpeg8-dev gcc g++ python3-dev build-essential python3-setuptools libyaml-dev python3-pip
|
||||||
fi
|
fi
|
||||||
#Fedora35
|
#Fedora35
|
||||||
if [ $INSTALL -eq 5 ]; then
|
if [ $INSTALL -eq 6 ]; then
|
||||||
dnf -y install python3-devel cmake libjpeg-turbo-devel
|
dnf -y install python3-devel cmake libjpeg-turbo-devel
|
||||||
fi
|
fi
|
||||||
#Raspberry Pi OS Buster
|
#Raspberry Pi OS Buster
|
||||||
if [ $INSTALL -eq 6 ]; then
|
if [ $INSTALL -eq 7 ]; then
|
||||||
apt-get update > /dev/null
|
apt-get update > /dev/null
|
||||||
apt-get -y install make v4l-utils virtualenv python-is-python3 cmake libjpeg62-turbo-dev gcc g++ python3-dev build-essential python3-setuptools libyaml-dev python3-pip python3-venv
|
apt-get -y install make v4l-utils virtualenv python-is-python3 cmake libjpeg62-turbo-dev gcc g++ python3-dev build-essential python3-setuptools libyaml-dev python3-pip python3-venv
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user