5.3 KiB
html, parent, seo, labels
| html | parent | seo | labels | |||
|---|---|---|---|---|---|---|
| install-rippled-on-ubuntu.html | install-rippled.html |
|
|
Install on Ubuntu or Debian Linux
This page describes the recommended instructions for installing the latest stable version of rippled on Ubuntu Linux, using a binary that has been compiled and published by Ripple as a deb package.
Currently, Ubuntu 22.04 and Ubuntu 24.04 on x86_64 processors have received the highest level of support and testing. Packages are also available for Debian Linux 12 Bookworm. You may be able to adapt these instructions to other Linux distributions that also use the apt package manager, but other configurations are not officially supported.
Prerequisites
Before you install rippled, you must meet the System Requirements.
Installation Steps
-
Update repositories:
sudo apt -y update -
Install utilities:
sudo apt -y install apt-transport-https ca-certificates wget gnupg -
Add Ripple's package-signing GPG key to your list of trusted keys:
sudo install -m 0755 -d /etc/apt/keyrings && \ wget -qO- https://repos.ripple.com/repos/api/gpg/key/public | \ sudo gpg --dearmor -o /etc/apt/keyrings/ripple.gpg -
Check the fingerprint of the newly-added key:
gpg --show-keys /etc/apt/keyrings/ripple.gpgThe output should include an entry for Ripple such as the following:
pub rsa3072 2019-02-14 [SC] [expires: 2026-02-17] C0010EC205B35A3310DC90DE395F97FFCCAFD9A2 uid 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 second line, starting with
C001.) -
Add the appropriate Ripple repository for your operating system version:
echo "deb [signed-by=/etc/apt/keyrings/ripple.gpg] https://repos.ripple.com/repos/rippled-deb noble stable" | \ sudo tee -a /etc/apt/sources.list.d/ripple.listThe above example is appropriate for Ubuntu 24.04 Noble Numbat. For other operating systems, replace the word
noblewith one of the following:bullseyefor Debian 11 Bullseyebookwormfor Debian 12 Bookwormjammyfor Ubuntu 22.04 Jammy Jellyfishnoblefor Ubuntu 24.04 Noble Numbat
If you want access to development or pre-release versions of
rippled, use one of the following instead ofstable:unstable- Pre-release builds (releasebranch)nightly- Experimental/development builds (developbranch)
{% admonition type="danger" name="Warning" %}Unstable and nightly builds may be broken at any time. Do not use these builds for production servers.{% /admonition %}
-
Update the package index to include Ripple's repo and install
rippled.sudo apt -y update && sudo apt -y install rippled -
Check the status of the
rippledservice:systemctl status rippled.serviceThe
rippledservice should start automatically. If not, you can start it manually:sudo systemctl start rippled.service -
Optional: allow
rippledto 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 -
Optional: configure core dumps
By default Ubuntu is not configured to produce core files useful for debugging crashes. First run:
ulimit -c unlimitedNow run
sudo systemctl edit rippled. The default editor should open and add[Service] LimitCORE=infinityThis creates the file
/etc/systemd/system/rippled.service.d/override.confand configures the OS to save core dumps, without changing the service file provided by therippledpackage. If your server crashes, you can find the core dump in/var/lib/apport/coredump/. To load the core dump for inspection, use a command such as the following:gdb /opt/ripple/bin/rippled /var/lib/apport/coredump/core{% admonition type="info" name="Note" %}To debug a core file this way, you must have the
rippled-dbgsympackage installed, and you need permission to read files in the core dump directory.{% /admonition %}
Next Steps
{% partial file="/docs/_snippets/post-rippled-install.md" /%}
See Also
- Concepts:
- Tutorials:
- References:
- rippled API Reference
rippledCommandline Usage- [server_info method][]
- rippled API Reference
{% raw-partial file="/docs/_snippets/common-links.md" /%}