Linux users | Developers

Linux users

Estimated reading time: 2 minutes

Nano X

Important
The Nano X does not support side loading, therefore you must use the device emulator Speculos for loading to work. See how to install and use it.

Nano S and S Plus

Note
Before loading an application, make sure you have enough space on the device.

1. Define the udev rules

If you wish to load applications on your device, you must add the appropriate udev rules.

wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bash

2. Load and delete

Important
If you want to load and delete the app directly from the Container image.
You need to compile the application, in the source file of your application, adding the --privileged option:
$ sudo docker run --rm -ti -v "/dev/bus/usb:/dev/bus/usb" -v "$(realpath .):/app"
--privileged ledger-app-builder:latest

While the Container image is running:

Load:

  1. Connect and unlock the Nano S or Nano S Plus.
  2. Go to the root of app‑boilerplate file
  3. Use make load (BOLOS_SDK=$NANOSP_SDK make load for the S Plus)
  4. You can exit the Virtual Environment with the command deactivate.

Delete:

  1. Connect and unlock the Nano S or Nano S Plus.
  2. Go to the root of app‑boilerplate
  3. Type make delete to delete it
  4. You can exit the image, with the command exit.

Did you find this page helpful?


How would you improve this page for developers?



2. Build the Application
Mac Users
Getting Started
Theme Features
Customization

Embedded Apps