Linuxビルドに必要な依存関係について記載

前から気になっていた「SDカードにコピー」の記事の修正
Ruby2.7インストールの方法を記載
This commit is contained in:
BuildTools 2022-01-08 10:17:23 +00:00
parent 773945e7f9
commit 50d1656ae6
3 changed files with 21 additions and 4 deletions

View File

@ -20,7 +20,7 @@ excerpt: ""
以下のコマンドで依存関係をインストールします。
```sh
sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi debootstrap qemu-user-static
sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf libssl-dev bc lzop qemu-user-static debootstrap kpartx
```

View File

@ -76,7 +76,8 @@ GPartedの右上のメニューからSDカードを選びます。容量で選
これらをSDカードのFAT32のパーティションへコピーします。
2. ターミナルを起動して `cd buildbrain``buildbrain` ディレクトリに入ります
2. ターミナルを起動して `cd buildbrain``buildbrain` ディレクトリに入ります。
以下のコマンドを実行します。
```sh

View File

@ -11,13 +11,29 @@ excerpt: ""
# 準備
WikiをCloneします。
Githubにログインした状態でWikiをCloneします。
```sh
$ git clone git@github.com:brain-hackers/wiki.brainux.org.git
```
何らかの方法でRubyをインストールし、手元でのビルドに必要な依存関係をインストールします。
まずapt以外でインストールしたRubyをアンインストールします。
次にRuby2.7をインストールします。
```sh
$ sudo apt install ruby-full
```
```sh
$ ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
```
次に手元でのビルドに必要な依存関係をインストールします。
```sh
$ cd wiki.brainux.org