OneKey Support Center

How to Install OneKey Desktop Client on Linux

  • Updated

The # in the code snippet is a comment in the Linux shell, so you can copy the entire snippet directly, without skipping through it line by line

 

Under Linux, normal users can't access the device files under /dev directly, so we need to do the following to get udev to configure the appropriate permissions for our device

This operation only needs to be performed once. Only new devices with different USB VIDs/PIDs will need to be reinstalled with new rules in the future

 

# Install udev rules (Ubuntu)
sudo curl https://data.onekey.so/01-onekey.rules -o /etc/udev/rules.d/01-onekey.rules
# Reload udev rules
sudo udevadm control --reload-rules

 

Under Linux, downloaded files do not have executable permissions by default, so you need to grant permissions and execute them as follows

Each time you re-download the file, you have to re-add executable permissions because they follow the file

# Add executable permissions to the file (both absolute and relative paths are possible)
chmod +x /path/to/file/xxxx.AppImage
# Execute the program in the terminal (both absolute and relative paths are possible)
./path/to/file/xxxx.AppImage

 

image-20221123-094653.png

Was this article helpful?

5 out of 7 found this helpful

Have more questions? Submit a request