Installation Solan SPL (Intelligent Agreement) on Ubuntu 24.1 with rust
As you already know the rust, we will use it to install the Solan Native SPL (scripting language). This guide assumes you have a basic understanding of Linux commands and you have Ubuntu 24.1.
Step 1: Update the package index and install addiction
Before installing Solan SPL, make sure your system is updated:
`Bash
SUDO APT update
`
If you miss addictions, install them with:
Bash
SUDO APT INSTALL -Y -Y-INSTALL-REQUISAGE, BUILDING LIBSSL-Dev Zlib1g-Dev Libsqlite3-Dev
`
Step 2: Install rust and solan client
You have already installed rust. To start it with Solan SPL, you need to install an official Solan client:
Bash
SUDO APT Install Solan-Klijent-Core Solan-Stable
`
The-y ‘option ensures that any challenges are automatically answered.
Step 3: Create a new wallet and install solan cli
To communicate with salt, you need to create a new wallet. Jogging::
`Bash
Solana-Cheygen-Pash ./key.pem
`
This will generate a private key in./Key.Pem. Make sure this file is insured.
Step 4: Install Solan Cli
Start the next Solana CLI installation command for a local machine:
Bash
SUDO CURL -SSS 刺激 -v1.9.0-linux-amd64.Tar.gz | TAR -C/USR/LOCAL/BIN -XVZF
`
Step 5: Add Solan Cli to your system
To use your Solan SPL installation, you need to add a way to the variable environment of your "Solana-CLI" system.
Bash
SUDO MV/USR/LOCAL/BIN/SOLAN-CLI/USR/LOCAL/BIN/
`
Step 6: Check the installation
Open the new terminal and make sure your salt CLI is installed by starting:
Bash
state
`
This should show the current status of a salt network, including all the spl contracts you have implemented.
That's all! Now you have installed Solana SPL on Ubuntu 24.1 with rust and you can start implementing your own spl contracts using this setting as the starting point.
More Tips:
- If you come across the problem of installation Solan Cli or "Solan Status", make sure your system meets the minimum requirements listed in [Solan Cli] (
- To update local storage to the latest version of the solan, Run:
Bash
Git Pull -ll
`
- To delete private key files and wallets, start:Solan-Cheygen -p
-Path/Path/Your/Your/Key`