mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-03-14 01:46:41 -04:00
Add packages that were missing in original apt calls and flutter install
This commit is contained in:
parent
995f078bd6
commit
75f491b59b
@ -9,7 +9,7 @@ fi
|
||||
if [ ! -z "$(command -v apt)" ]; then
|
||||
# Install APT dependencies
|
||||
sudo apt update -y
|
||||
sudo apt install -y openjdk-17-jdk-headless iproute2 curl build-essential cmake libssl-dev openssl file git pkg-config libdbus-1-dev libdbus-glib-1-dev libgirepository1.0-dev libcairo2-dev checkinstall unzip llvm wabt python3-pip
|
||||
sudo apt install -y openjdk-17-jdk-headless iproute2 curl build-essential cmake libssl-dev openssl file git pkg-config libdbus-1-dev libdbus-glib-1-dev libgirepository1.0-dev libcairo2-dev checkinstall unzip llvm wabt python3-pip wget protobuf-compiler ninja-build apt libgtk-3-dev
|
||||
elif [ ! -z "$(command -v dnf)" ]; then
|
||||
# DNF (formerly yum)
|
||||
sudo dnf update -y
|
||||
@ -22,7 +22,7 @@ elif [ ! -z "$(command -v dnf)" ]; then
|
||||
# them in anyway
|
||||
#
|
||||
# Also Fedora doesn't come with pip
|
||||
sudo dnf install -y java-17-openjdk-headless iproute curl cmake openssl-devel openssl git file pkg-config dbus-devel dbus-glib gobject-introspection-devel cairo-devel unzip llvm wabt python3-pip gcc-c++
|
||||
sudo dnf install -y java-17-openjdk-headless iproute curl cmake openssl-devel openssl git file pkg-config dbus-devel dbus-glib gobject-introspection-devel cairo-devel unzip llvm wabt python3-pip gcc-c++ wget
|
||||
# build-essentials
|
||||
sudo dnf groupinstall -y 'Development Tools'
|
||||
fi
|
||||
@ -67,4 +67,19 @@ END
|
||||
esac
|
||||
done
|
||||
|
||||
#install at ~/development as rec'd by flutter docs
|
||||
mkdir -p ~/development
|
||||
wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.24.5-stable.tar.xz
|
||||
|
||||
tar -xf flutter_linux_3.24.5-stable.tar.xz -C ~/development
|
||||
|
||||
# Add to path
|
||||
echo '# add flutter to path'>> ~/.bashrc
|
||||
echo 'export PATH="$HOME/development/flutter/bin:$PATH"' >> ~/.bashrc
|
||||
|
||||
echo 'export PATH="$PATH":"$HOME/.pub-cache/bin"' >> ~/.bashrc
|
||||
|
||||
source ~/.bashrc
|
||||
|
||||
|
||||
echo Complete! Exit and reopen the shell and continue with ./setup_linux.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user