Install on Ubuntu or Debian Linux | XRPL.org (2024)

This page describes the recommended instructions for installing the latest stable version of rippled on Ubuntu Linux 18.04 or higher or Debian 10 or higher, using the apt utility.

These instructions install a binary that has been compiled by Ripple.

Prerequisites

Before you install rippled, you must meet the System Requirements.

Installation Steps

  1. Update repositories:

    sudo apt -y update
  2. Install utilities:

    sudo apt -y install apt-transport-https ca-certificates wget gnupg
  3. Add Ripple's package-signing GPG key to your list of trusted keys:

    sudo mkdir /usr/local/share/keyrings/wget -q -O - "https://repos.ripple.com/repos/api/gpg/key/public" | gpg --dearmor > ripple-key.gpgsudo mv ripple-key.gpg /usr/local/share/keyrings
  4. Check the fingerprint of the newly-added key:

    The output should include an entry for Ripple such as the following:

    gpg: WARNING: no command supplied. Trying to guess what you mean ...pub rsa3072 2019-02-14 [SC] [expires: 2026-02-17] C0010EC205B35A3310DC90DE395F97FFCCAFD9A2uid TechOps Team at Ripple <techops+rippled@ripple.com>sub rsa3072 2019-02-14 [E] [expires: 2026-02-17]

    In particular, make sure that the fingerprint matches. (In the above example, the fingerprint is on the third line, starting with C001.)

  5. Add the appropriate Ripple repository for your operating system version:

    echo "deb [signed-by=/usr/local/share/keyrings/ripple-key.gpg] https://repos.ripple.com/repos/rippled-deb focal stable" | \ sudo tee -a /etc/apt/sources.list.d/ripple.list

    The above example is appropriate for Ubuntu 20.04 Focal Fossa. For other operating systems, replace the word focal with one of the following:

    • bionic for Ubuntu 18.04 Bionic Beaver
    • buster for Debian 10 Buster
    • bullseye for Debian 11 Bullseye
    • jammy for Ubuntu 22.04 Jammy Jellyfish

    If you want access to development or pre-release versions of rippled, use one of the following instead of stable:

    Warning: Unstable and nightly builds may be broken at any time. Do not use these builds for production servers.

  6. Fetch the Ripple repository.

    sudo apt -y update
  7. Install the rippled software package:

    sudo apt -y install rippled
  8. Check the status of the rippled service:

    systemctl status rippled.service

    The rippled service should start automatically. If not, you can start it manually:

    sudo systemctl start rippled.service
  9. Optional: allow rippled to bind to privileged ports.

    This allows you to serve incoming API requests on port 80 or 443. (If you want to do so, you must also update the config file's port settings.)

    sudo setcap 'cap_net_bind_service=+ep' /opt/ripple/bin/rippled

Next Steps

It can take several minutes to sync with the rest of the XRP Ledger network, during which time the server outputs various warnings. For information about log messages, see Understanding Log Messages.

You can use the rippled commandline interface to see if your server is synced with the network:

/opt/ripple/bin/rippled server_info

If the server_state in the response is full or proposing, then your server is fully synced to the network. Otherwise, you may need to wait longer. Fresh servers usually sync within 15 minutes; servers that already have ledger history stored can take longer.

After your server has synchronized with the rest of the network, you have a fully functional XRP Ledger peer-to-peer server that you can use to submit transactions or get API access to the XRP Ledger. See Client Libraries or HTTP / WebSocket APIs for different ways to communicate with the server.

If you use the XRP Ledger for your business or you want to contribute to the stability of the network, you should run one server as a validator. For information about validating servers and why you might want to run one, see Run rippled as a Validator.

Having trouble getting your server started? See rippled Server Won't Start.

Additional Configuration

rippled should connect to the XRP Ledger with the default configuration. However, you can change your settings by editing the rippled.cfg file. For recommendations about configuration settings, see Capacity Planning.

The recommended installation uses the config file /etc/opt/ripple/rippled.cfg by default. Other places you can put a config file include $HOME/.config/ripple/rippled.cfg (where $HOME is the home directory of the user running rippled), $HOME/.local/ripple/rippled.cfg, or the current working directory from where you start rippled.

See the rippled GitHub repository for a description of all configuration options.

You must restart rippled for any configuration changes to take effect:

 sudo systemctl restart rippled.service

If you change the [debug_logfile] or [database_path] sections, you may need to grant ownership of the new configured path to the user you run rippled as.

Updates

You must update rippled regularly to remain synced with the rest of the XRP Ledger network. You can subscribe to the rippled Google Group to receive notifications of new rippled releases.

The rippled package includes a script you can use to enable automatic updates on Linux. On other platforms, you must update manually.

See Also

Install on Ubuntu or Debian Linux | XRPL.org (2024)

FAQs

Can you install Ubuntu software on Debian? ›

Yes, it is possible to install software on Debian and Ubuntu systems without using apt-get or repositories. Here are a few options you can use: Compiling from source: You can download the source code for a program and compile it manually on your system.

What is the difference between XRP and XRP Ledger? ›

XRP is a digital asset that's native to the XRP Ledger—an open-source, permissionless and decentralized blockchain technology. Created in 2012 specifically for payments, XRP can settle transactions on the ledger in 3-5 seconds.

How fast is the XRP Ledger? ›

XRP transactions are processed using a technology called the XRP Ledger, which is an open-source blockchain technology. The XRP Ledger is designed to handle a high volume of transactions, and it can process up to 1,500 transactions per second.

How do I update rippled? ›

Update Automatically on Linux
  1. Check that /opt/ripple/etc/update-rippled-cron exists. ...
  2. Create a symlink in your cron.d folder to the /opt/ripple/etc/update-rippled-cron config file: ...
  3. Whenever a new release comes out, you must manually restart the rippled service to switch to the updated software.
Feb 1, 2024

Why people use Ubuntu instead of Debian? ›

Both installation and handling of Ubuntu are much easier. This is where the main difference between the two becomes apparent: Ubuntu is an operating system for novices and experienced users alike. Debian, on the other hand, is better for professional users. Installation and setup are much more complex.

Does Ubuntu run off Debian? ›

Ubuntu (/ʊˈbʊntuː/ uu-BOON-too) is a Linux distribution based on Debian and composed mostly of free and open-source software. Ubuntu is officially released in multiple editions: Desktop, Server, and Core for Internet of things devices and robots.

Can I sell XRP from my ledger? ›

What crypto can I exchange through Ledger Live? Ledger Live, with our partners, allows you to swap Bitcoin, Ethereum, USDT, USDC, Chainlink, Uniswap, XRP, Stellar, and many more. What is the difference between fixed and floating rates? When exchanging crypto with a fixed rate, our partner guarantees you a fixed price.

Can Ripple survive without XRP? ›

Only xRapid requires the use of XRP. The Ripple Consensus Protocol cannot exist without XRP, although it could still endure should Ripple, the company, fail. The RCL supports transactions of fiat currency, cryptocurrency, commodities or any other unit of value such as frequent flier miles or mobile minutes.

Can Ripple work without XRP? ›

Any currency or asset can be used to transact on the Ripple Network, which doesn't need XRP to function. However, XRP provides liquidity when necessary, acting as a bridge between two currencies.

What is the secret key for XRP Ledger wallet? ›

The XRPL wallet secret key is a 29-character long alphanumeric string starting with the letter “s”. You can use the secret key to import a wallet to another account.

Do I need a ledger for XRP? ›

Buy a Ledger hardware wallet to securely store your Ripple

When you want to invest in crypto, 2 things really matter: security and ownership of your coins. A hardware wallet is the best way to secure your crypto while managing it on your own – your crypto, totally accessible and secure.

Which ledger is best for XRP? ›

The Ledger Nano X is one of the best Ripple wallet which is security-focused, keeping funds offline in “cold storage.” This method makes it very difficult for hackers to remotely access your XRP funds. As a hardware wallet, the Ledger Nano X stores your private keys offline.

How to patch Ubuntu server manually? ›

How do I update Ubuntu using terminal?
  1. Open the terminal application.
  2. For remote server use the ssh command to login. ...
  3. Fetch update software list by running the sudo apt-get update command.
  4. Update Ubuntu software by running the sudo apt-get upgrade command.
  5. Finally, reboot the Ubuntu box by running the sudo reboot command.
Mar 20, 2024

How do I manually update a package in Ubuntu? ›

Update Manually on Ubuntu or Debian
  1. Update repositories: $ sudo apt -y update.
  2. Upgrade the rippled package: $ sudo apt -y upgrade rippled.
  3. Reload the systemd unit files: $ sudo systemctl daemon-reload.
  4. Restart the rippled service: $ sudo service rippled restart.
Feb 1, 2024

Can you upgrade Debian to Ubuntu? ›

The naive solution to converting an existing Debian system to Ubuntu is to just edit your /etc/apt/sources. list to switch all the Debian archive references to the equivalent Ubuntu archives and then upgrade all packages.

Does Debian have the same commands as Ubuntu? ›

Both Ubuntu and Kali Linux has a big brother called Debian, i.e. they are Debian derivatives. So they will have the same Linux commands.

How to install softwares on Debian? ›

The recommended way to install new software on Debian, is to use Package Management tools to install packages from the official repositories. These repositories should contain most of the software you will want to install, allowing you not to rely on external sources.

Is Ubuntu based on Debian or Arch? ›

Ubuntu is a popular Debian-based distribution commercially sponsored by Canonical Ltd., while Arch is an independently developed system built from scratch.

Top Articles
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 5803

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.