Installation Theos

1. Before installing Theos, first install dpkg and ldid
we use to install the Homebrew, if not installed Homebrew, enter in a terminal:
/ usr / bin / Ruby -e "$ (curl -fsSL https://raw.githubusercontent.com / Homebrew / the install / Master / the install ) "
If Homebrew installed, skip this step
2. brew install dpkg input terminal, installation dpkg
3. brew install dpkg ldid input terminal, installation LDID
4. thoes mounted, the terminal enter:
sudo git clone --recursive https://github.com/theos/theos.git / opt / theos
5. then the permissions / opt / theos changed to yourself:
sudo chown ( i d in ) : (With u): (The above mentioned id -g) / opt / theos
. This last step is very important, theos execution path should be added to the environment variables in, enter in a terminal open ~ / .bash_profile, in the open ~ / bash_profile in such a plus three:
Export tHEOS = / opt / theos
Export the PATH = T H E O S / b i n : THEOS/bin: The PATH
Export THEOS_DEVICE_IP = = 22 is the example.local THEOS_DEVICE_PORT
After addition was complete, command + s bit, then the input source .bash_profile terminal
6. Then the terminal performs:nic.pl, successful installation is shown below
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/xhzth70911/article/details/89673469