Skip to content

Commit

Permalink
Merge pull request #1499 from aaronwmorris/dev
Browse files Browse the repository at this point in the history
add ubuntu 24.04 support for web_only_setup.sh
  • Loading branch information
aaronwmorris authored Sep 3, 2024
2 parents ff45330 + b51d5a9 commit 6642dbd
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 261 deletions.
82 changes: 82 additions & 0 deletions misc/web_only_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,88 @@ elif [[ "$DISTRO_ID" == "debian" && "$DISTRO_VERSION_ID" == "11" ]]; then
mariadb-server
fi

elif [[ "$DISTRO_ID" == "ubuntu" && "$DISTRO_VERSION_ID" == "24.04" ]]; then
RSYSLOG_USER=syslog
RSYSLOG_GROUP=adm

MYSQL_ETC="/etc/mysql"

PYTHON_BIN=python3

VIRTUALENV_REQ=requirements/requirements_latest_web.txt


sudo apt-get update
sudo apt-get -y install \
build-essential \
python3 \
python3-dev \
python3-venv \
python3-pip \
virtualenv \
cmake \
gfortran \
whiptail \
procps \
rsyslog \
cron \
git \
cpio \
tzdata \
ca-certificates \
avahi-daemon \
apache2 \
swig \
libatlas-base-dev \
libilmbase-dev \
libopenexr-dev \
libgtk-3-0 \
libssl-dev \
libxml2-dev \
libxslt-dev \
libgnutls28-dev \
libcurl4-gnutls-dev \
libcfitsio-dev \
libnova-dev \
libdbus-1-dev \
libglib2.0-dev \
libffi-dev \
libopencv-dev \
libopenblas-dev \
libraw-dev \
libgeos-dev \
libtiff5-dev \
libjpeg8-dev \
libopenjp2-7-dev \
libpng-dev \
zlib1g-dev \
libfreetype6-dev \
liblcms2-dev \
libwebp-dev \
libcap-dev \
tcl8.6-dev \
tk8.6-dev \
python3-tk \
libharfbuzz-dev \
libfribidi-dev \
libxcb1-dev \
default-libmysqlclient-dev \
pkg-config \
rustc \
cargo \
ffmpeg \
gifsicle \
jq \
sqlite3 \
policykit-1 \
dbus-user-session


if [[ "$USE_MYSQL_DATABASE" == "true" ]]; then
sudo apt-get -y install \
mariadb-server
fi


elif [[ "$DISTRO_ID" == "ubuntu" && "$DISTRO_VERSION_ID" == "22.04" ]]; then
RSYSLOG_USER=syslog
Expand Down
261 changes: 0 additions & 261 deletions misc/web_only_upgrade.sh

This file was deleted.

0 comments on commit 6642dbd

Please sign in to comment.