Skip to content

Commit 2073ab5

Browse files
committed
Re-order build docs, closes #1035.
1 parent df21a67 commit 2073ab5

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docs/building.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,6 @@ Here you will find instructions on how to install the necessary tools for buildi
1212

1313
The following instructions are for building and running on a Linux host. Alternatively, see the [Mac](#mac-host) and/or [Windows](#windows-host) section. This entire section (except for the Android Studio section) needs to be completed in WSL if building on a Windows host.
1414

15-
### Flutter
16-
Install Flutter 3.29.2 by [following their guide](https://docs.flutter.dev/get-started/install/linux/desktop?tab=download#install-the-flutter-sdk). You can also clone https://github.com/flutter/flutter, check out the `3.29.2` tag, and add its `flutter/bin` folder to your PATH as in
17-
```sh
18-
FLUTTER_DIR="$HOME/development/flutter"
19-
git clone https://github.com/flutter/flutter.git "$FLUTTER_DIR"
20-
cd "$FLUTTER_DIR"
21-
git checkout 3.29.2
22-
echo 'export PATH="$PATH:'"$FLUTTER_DIR"'/bin"' >> "$HOME/.profile"
23-
source "$HOME/.profile"
24-
flutter precache
25-
```
26-
27-
Run `flutter doctor` in a terminal to confirm its installation.
28-
2915
### Android Studio
3016
Install Android Studio. Follow instructions here [https://developer.android.com/studio/install#linux](https://developer.android.com/studio/install#linux) or install via snap:
3117
```
@@ -58,7 +44,7 @@ sudo apt-get install libssl-dev curl unzip automake build-essential file pkg-con
5844

5945
For Ubuntu 20.04,
6046
```
61-
sudo apt-get install valac
47+
sudo apt-get install valac python3-pip
6248
pip3 install --upgrade meson==0.64.1 markdown==3.4.1 markupsafe==2.1.1 jinja2==3.1.2 pygments==2.13.0 toml==0.10.2 typogrify==2.0.7 tomli==2.0.1
6349
```
6450

@@ -89,6 +75,20 @@ sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
8975
pip3 install --upgrade meson==0.64.1 markdown==3.4.1 markupsafe==2.1.1 jinja2==3.1.2 pygments==2.13.0 toml==0.10.2 typogrify==2.0.7 tomli==2.0.1
9076
```
9177

78+
### Flutter
79+
Install Flutter 3.29.2 by [following their guide](https://docs.flutter.dev/get-started/install/linux/desktop?tab=download#install-the-flutter-sdk). You can also clone https://github.com/flutter/flutter, check out the `3.29.2` tag, and add its `flutter/bin` folder to your PATH as in
80+
```sh
81+
FLUTTER_DIR="$HOME/development/flutter"
82+
git clone https://github.com/flutter/flutter.git "$FLUTTER_DIR"
83+
cd "$FLUTTER_DIR"
84+
git checkout 3.29.2
85+
echo 'export PATH="$PATH:'"$FLUTTER_DIR"'/bin"' >> "$HOME/.profile"
86+
source "$HOME/.profile"
87+
flutter precache
88+
```
89+
90+
Run `flutter doctor` in a terminal to confirm its installation.
91+
9292
### Clone the repository and initialize submodules
9393
After installing the prerequisites listed above, download the code and init the submodules
9494
```

0 commit comments

Comments
 (0)