radical-native icon indicating copy to clipboard operation
radical-native copied to clipboard

Installation steps

Open p1gp1g opened this issue 4 years ago • 0 comments

Since there is no instruction to install without a package, I'm pasting here a little script to run.

#!/bin/bash

USERPATH="$HOME/bin"
FFNATIVE="$HOME/.mozilla/native-messaging-hosts"
BINNAME="radical-native_v0.1beta15_x86-amd64"

native_manifest() {
    cat <<-END
{
    "name": "radical.native",
    "description": "Radical Native",
    "path": "$1",
    "type": "stdio",
    "allowed_extensions": [ "@radical-native", "@riot-webext" ]
}
END
}

mv "$BINNAME" "$USERPATH/$BINNAME"
ln -s "$USERPATH/$BINNAME" "$USERPATH/radical-native"
chmod +x "$USERPATH/radical-native"
mkdir -p "$FFNATIVE"
native_manifest "$USERPATH/radical-native" > "$FFNATIVE/radical.native.json"

On Fedora, sqlcipher needs to be installed, and a symlink to be done to get rid of error while loading shared libraries. (Is it related to #17 and #18 ? ldd radical-native may help)

# dnf install sqlcipher
# ln -s /lib64/libsqlcipher.so /lib64/libsqlcipher.so.0
# ln -s /lib64/libsqlcipher-3.15.2.so.0.8.6 /lib64/libsqlcipher.so # may be needed

p1gp1g avatar Mar 26 '21 20:03 p1gp1g