File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
docs/sdk-and-tools/troubleshooting Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ If you've installed Rust using your OS package manager:
16
16
``` bash
17
17
# Ubuntu
18
18
sudo apt remove cargo
19
+ sudo apt remove rustc
19
20
sudo apt autoremove
20
21
```
21
22
@@ -35,6 +36,12 @@ brew uninstall rust
35
36
We never recommend installing Rust using ` brew ` , especially because it makes it non-trivial to switch between different Rust versions.
36
37
:::
37
38
39
+ If you've installed Rust using ` snap ` :
40
+
41
+ ``` bash
42
+ snap remove rustup
43
+ ```
44
+
38
45
If you've installed Rust using ` mxpy ` with a version older than ` v9 ` :
39
46
40
47
``` bash
@@ -85,7 +92,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
85
92
86
93
Then, choose ** Proceed with installation (default)** .
87
94
88
- Once Rust is installed, switch to a nightly version and install the ` wasm32-unknown-unknown ` target:
95
+ Once Rust is installed, open a new terminal (shell), then switch to a nightly version and install the ` wasm32-unknown-unknown ` target:
89
96
90
97
``` bash
91
98
rustup default nightly-2023-12-11
@@ -127,6 +134,14 @@ cargo install multiversx-sc-meta --locked
127
134
128
135
For a workaround, please follow this [ GitHub issue] ( https://github.com/multiversx/mx-sdk-py-cli/issues/338 ) .
129
136
137
+ ### Handle missing dependencies: build-essential
138
+
139
+ On Ubuntu, you might also need to install ` build-essential ` :
140
+
141
+ ``` bash
142
+ sudo apt-get install build-essential
143
+ ```
144
+
130
145
## Check your Rust installation
131
146
132
147
You can check your Rust installation by invoking ` rustup show ` :
You can’t perform that action at this time.
0 commit comments