I just made the switch over to CachyOS from OpenSUSE and am having a hard time installing NordVPN. Following the instructions on the Nord site will throw an error
❯ sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)
fish: Invalid redirection target:
sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
I tried using wget and got the same error
Found out it should be in the AUR named nordvpn.bin, however I can’t seem get to get it to pull up.
I tried paru -S nordvpn-bin, which does find it and asks if I want to install but then just displays the config and doesn’t do anything past that.
❯ paru -S nordvpn-bin
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
Aur (1) Old Version New Version Make Only
aur/nordvpn-bin 3.19.2-1 No
:: Proceed to review? [Y/n]: y
:: Downloading PKGBUILDs...
PKGBUILDs up to date
/home/sapien/.cache/paru/clone/nordvpn-bin/PKGBUILD
# Maintainer: Cabel <mxzcabel at proton dot me>
# Contributor: metiis <aur at metiis dot com>
# Contributor: Julio Gutierrez <bubuntux at gmail dot com>
# Contributor: Martoko <mbastholm at gmail dot com>
pkgname=nordvpn-bin
pkgver=3.19.2
pkgrel=1
pkgdesc="NordVPN CLI tool for Linux"
arch=('x86_64' 'i686' 'armv7h' 'aarch64' 'armeabi')
url="https://nordvpn.com/download/linux/"
license=('GPL3')
depends=('libxml2')
provides=('nordvpn')
conflicts=('openvpn-nordvpn')
install=nordvpn-bin.install
source_x86_64=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_${pkgver//_/-}_amd64.>
source_i686=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_${pkgver//_/-}_i386.deb>
source_armv7h=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_${pkgver//_/-}_armhf.>
source_aarch64=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_${pkgver//_/-}_arm64>
source_armeabi=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_${pkgver//_/-}_armel>
sha256sums_x86_64=('57c48cf7543e0c97a5ac4122a5c9f0237040be9badefd535dd4f74f2eead8ccc')
sha256sums_i686=('ad5c637b37143bbc1f3adbd85641c6e7dc22f46c51b53e33303901f3c0d0b578')
sha256sums_armv7h=('9d034f0410c52d2f91d8c2ef5b015bbe578176d9bf6db54d75558dbe873a337b')
sha256sums_aarch64=('bf4be8c0aada97142808d430334d5e270b44baf1a755c65f6ad40bc0bafc3a36')
sha256sums_armeabi=('1f6ee868ba4d20ffcb069c080c44881479b76f0101905e39894c4cff81166b1d')
package() {
bsdtar -O -xf *.deb data.tar.gz | bsdtar -C "${pkgdir}" -xJf -
mv "${pkgdir}/usr/sbin/nordvpnd" "${pkgdir}/usr/bin"
rm -r "${pkgdir}/etc/init.d"
rm -r "${pkgdir}/usr/sbin"
echo "g nordvpn - -" | install -Dm644 /dev/stdin "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
}
/home/sapien/.cache/paru/clone/nordvpn-bin/nordvpn-bin.install
post_install() {
echo ':: In order to enable nordvpn you have to start the following service:'
echo ' sudo systemctl enable --now nordvpnd'
echo ':: You have to add yourself to the nordvpn group:'
echo " sudo gpasswd -a USERNAME nordvpn"
echo ':: You then have to restart for the group to be created:'
echo " reboot"
# Add logic to avoid interposing with sqlite library if it already exists
for lib in /usr/lib/nordvpn/*.so ; do
if [[ -f $lib ]] ; then
if [[ ! -f "/usr/lib/$(printf '%s' $lib | cut -d '/' -f 5)" ]] ; then
ln -s $lib /usr/lib/
fi
fi
done
}
post_upgrade() {
# Add logic to avoid interposing with sqlite library if it already exists
for lib in /usr/lib/nordvpn/*.so ; do
if [[ -f $lib ]] ; then
if [[ $(readlink -- /usr/lib/$(printf '%s' $lib | cut -d '/' -f 5)) == $lib ]] ; then
unlink /usr/lib/$(printf '%s' $lib | cut -d '/' -f 5)
fi
if [[ ! -f "/usr/lib/$(printf '%s' $lib | cut -d '/' -f 5)" ]] ; then
ln -s $lib /usr/lib/
fi
fi
done
}
pre_install() {
if [ -d /var/lib/nordvpn/data/ ]; then
chattr -i /var/lib/nordvpn/data/*
fi
}
pre_upgrade() {
chattr -i /var/lib/nordvpn/data/*
}
pre_remove() {
chattr -i /var/lib/nordvpn/data/*
# Add logic to avoid interposing with sqlite library if it already exists
for lib in /usr/lib/nordvpn/*.so ; do
if [[ -f $lib ]] ; then
if [[ $(readlink -- /usr/lib/$(printf '%s' $lib | cut -d '/' -f 5)) == $lib ]] ; then
unlink /usr/lib/$(printf '%s' $lib | cut -d '/' -f 5)
fi
fi
done
}
(END)
Thanks in advance! I’m sure it’s just something simple that I’m missing like usual.