【Soyuzビルド11】頑張るぞー。とりあえず言われたとおりにやるリーマンスキル全力発動。

f:id:komb:20200531184227p:plain


このとおりにやる。やるったらやる。

Setup - QMK

 

1. Download Software
There are a few pieces of software you'll need to get started.
Text Editor
You'll need a program that can edit and save plain text files. If you're on Windows you can make do with Notepad, and on Linux you can use gedit. Both of these are simple but functional text editors. On macOS, be careful with the default TextEdit app: it will not save plain text files unless you explicitly select Make Plain Text from the Format menu.
You can also download and install a dedicated text editor like Sublime Text or VS Code. This is probably the best way to go regardless of platform, as these programs are specifically made for editing code.
?> Not sure which text editor to use? Laurence Bradford wrote a great introduction to the subject.

---

1.ソフトウェアをダウンロードする
開始するために必要なソフトウェアがいくつかあります。
テキストエディタ
プレーンテキストファイルを編集および保存できるプログラムが必要です。 Windowsを使用している場合はメモ帳を使用でき、Linuxを使用している場合はgeditを使用できます。どちらもシンプルですが機能的なテキストエディタです。 macOSでは、デフォルトのテキストエディットアプリに注意してください。[書式]メニューから[プレーンテキストにする]を明示的に選択しない限り、プレーンテキストファイルは保存されません。
Sublime TextやVS Codeなどの専用のテキストエディターをダウンロードしてインストールすることもできます。これらのプログラムはコードを編集するために特別に作成されているため、これはプラットフォームに関係なく実行する最良の方法です。
?>使用するテキストエディターがわからない場合ローレンス・ブラッドフォードはこの主題について素晴らしい紹介を書きました。

---

ハイ!やります!

ローレンス・ブラッドフォード氏については、後日、調べてみます!!

--

sudo apt-get install gedit

---

f:id:komb:20200531174830p:plain

なんかわかんないけど、YESで!

 

f:id:komb:20200531175109p:plain

ちょっと怖かったけど、なんか出来ました!!

次はなんでしょうか!!

 

---

A Unix-like Environment 

Linux and macOS come with unix shells you can execute already. You will only need to setup your build environment.


Unixライクな環境
LinuxおよびmacOSには、すでに実行可能なUNIXシェルが付属しています。ビルド環境をセットアップするだけで済みます。

---

よくわかりませんが、特に何かをインストールする必要はない、ってことでよろしいでしょうか?よろしいですね。そのようにいたします!

 

次はどうすればよろしいでしょうか!?

---

2. Prepare Your Build Environment :id=set-up-your-environment 

We've tried to make QMK as easy to set up as possible. You only have to prepare your Linux or Unix environment, then let QMK install the rest.

?> If you haven't worked with the Linux/Unix command line before, there are a few basic concepts and commands you should learn. These resources will teach you enough to be able to work with QMK: Must Know Linux Commands Some Basic Unix Commands

 

---

2.ビルド環境を準備します:id = set-up-your-environment
QMKをできるだけ簡単にセットアップできるように努めています。 LinuxまたはUnix環境を準備し、QMKに残りをインストールさせるだけです。
?> Linux / Unixコマンドラインを使用したことがない場合は、いくつかの基本的な概念とコマンドを学習する必要があります。これらのリソースは、QMKで作業できるようになるのに十分なものです。
Linuxコマンドを知っている必要があります
いくつかの基本的なUnixコマンド

---

お気遣いありがとうございます。

後半はちょっと何言ってるかわかりません!次!お願いします!!!

---

Linux
You will need to install Git and Python. It's very likely that you already have both, but if not, one of the following commands should install them:
Debian / Ubuntu / Devuan: sudo apt install git python3 python3-pip
Fedora / Red Hat / CentOS: sudo yum install git python3 python3-pip
Arch / Manjaro: sudo pacman -S git python python-pip python-setuptools libffi
Install the global CLI to bootstrap your system:
python3 -m pip install --user qmk (on Arch-based distros you can also try the qmk package from AUR (note: it's maintained by a community member): yay -S qmk)

---

Linux
GitとPythonをインストールする必要があります。すでに両方を持っている可能性が高いですが、ない場合は、次のコマンドのいずれかでインストールできます。
Debian / Ubuntu / Devuan:sudo apt install git python3 python3-pip
Fedora / Red Hat / CentOS:sudo yum install git python3 python3-pip
Arch / Manjaro:sudo pacman -S git python python-pip python-setuptools libffi
グローバルCLIをインストールして、システムをブートストラップします。
python3 -m pip install --user qmk(Archベースのディストリビューションでは、AURからqmkパッケージを試すこともできます(注:コミュニティメンバーが保守しています):yay -S qmk)

---

了解!やります!

f:id:komb:20200531181131p:plain

最新版だったみたいです!

次!お願いします!

---

3. Run QMK Setup :id=set-up-qmk 

After installing QMK you can set it up with this command:

 
qmk setup

In most situations you will want to answer Yes to all of the prompts.

?>Note on Debian, Ubuntu and their derivatives: It's possible, that you will get an error saying something like: bash: qmk: command not found. This is due to a bug Debian introduced with their Bash 4.4 release, which removed $HOME/.local/bin from the PATH. This bug was later fixed on Debian and Ubuntu. Sadly, Ubuntu reitroduced this bug and is yet to fix it. Luckily, the fix is easy. Run this as your user: echo "PATH=$HOME/.local/bin:$PATH" >> $HOME/.bashrc && source $HOME/.bashrcーー

--

3. QMKセットアップを実行します:id = set-up-qmk
QMKをインストールしたら、次のコマンドで設定できます。
qmkセットアップ
ほとんどの場合、すべてのプロンプトで「はい」と答えたいでしょう。
?> DebianUbuntu、およびそれらの派生物に関する注意:次のようなエラーが表示される可能性があります:bash:qmk:コマンドが見つかりません。これは、Bash 4.4リリースで導入されたバグで、PATHから$ HOME / .local / binが削除されていました。このバグは後にDebianUbuntuで修正されました。残念ながら、Ubuntuはこのバグを再導入し、まだ修正していません。幸い、修正は簡単です。これをユーザーとして実行します。echo "PATH = $ HOME / .local / bin:$ PATH" >> $ HOME / .bashrc && source $ HOME / .bashrc

 

----

自分にはちょっと難しそうですが、とりあえずやってみます!

−−

 

f:id:komb:20200531184227p:plain

仰るとおり、エラーが出るようです! 

仰せの通り、

 

echo "PATH=$HOME/.local/bin:$PATH" >> $HOME/.bashrc && source $HOME/.bashrc

 

と打ち込んで見ましたが、何もおこりません!

どうしたらよいでしょうか!

どうしたらよいでしょうか!

どうしたらよいでしょうか!

どうしたらよいでしょうか!

どうしたらよいでしょうか!

どうしたらよいでしょうか!

どうしたらよいでしょうか!

どうしたらよいでしょうか!

どうしたらよいでしょうか!