Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update installation doc for linux #72

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions unit-one/lessons/1_set_up_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,20 @@ Welcome to the Sui Move introduction course. In this first unit, we will walk yo

`cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui`

Change the branch target here to `testnet` or `mainnet` if you are targeting one of those.
Change the branch target here to `testnet` or `mainnet` if you are targeting one of those.

3. Check binaries are installed successfully:
*Linux Users: The installation process will create build artifacts in /tmp directory. If you encountered `disk out of space` related issues during installation. Make sure to expand your tmpfs to at least 11GB.*
```
To check your tmpfs usage on Linux systems:

df /tmp

You can expand the tmpfs by editing the `/etc/fstab` file and setting the size of tmpfs to 20G:

tmpfs /tmp tmpfs noatime,size=20G,mode=1777 0 0
```

4. Check binaries are installed successfully:

`sui --version`

Expand Down Expand Up @@ -71,4 +82,4 @@ Welcome to the Sui Move introduction course. In this first unit, we will walk yo
1. [Join Sui Discord](https://discord.gg/sui)
2. Complete verification steps
3. Enter [`#devnet-faucet`](https://discord.com/channels/916379725201563759/971488439931392130) channel for devnet tokens, or [`#testnet-faucet`](https://discord.com/channels/916379725201563759/1037811694564560966) channel for testnet tokens
4. Type `!faucet <WALLET ADDRESS>`
4. Type `!faucet <WALLET ADDRESS>`
Loading