Here for the user who wants to install the latest downloadable deb package when running with SysVinit.
Something similar what the entry within MXPI->network->ExpressVPN would do:
Open terminal within a new empty directory as normal user:
Get latest CLI package:
Code: Select all
curl -RLJO https://www.expressvpn.works/clients/linux/expressvpn_3.83.0.2-1_amd64.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21.3M 100 21.3M 0 0 5535k 0 0:00:03 0:00:03 --:--:-- 5534k
Get pgp/gpp signature:
Code: Select all
curl -RLJO https://www.expressvpn.works/clients/linux/expressvpn_3.83.0.2-1_amd64.deb.asc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 833 100 833 0 0 2166 0 --:--:-- --:--:-- --:--:-- 2169
Repack asc to binary gpg-format:
Code: Select all
gpg --dearmor -o expressvpn_3.83.0.2-1_amd64.deb.gpg expressvpn_3.83.0.2-1_amd64.deb.asc
Get ExpressVPN public key:
Code: Select all
gpg --no-default-keyring --keyring=gnupg-ring:./keyring.gpg --keyserver pgpkeys.eu --recv-keys 1D0B09AD6C93FEE93FDDBD9DAFF2A1415F6A3A38
Verify the downloaded deb-package is signed with ExpressVPN signing key:
Code: Select all
TZ=UTC gpgv --keyring=./keyring.gpg expressvpn_3.83.0.2-1_amd64.deb.gpg expressvpn_3.83.0.2-1_amd64.deb
gpgv: Signature made Mon 03 Mar 2025 02:43:23 AM UTC
gpgv: using RSA key 1D0B09AD6C93FEE93FDDBD9DAFF2A1415F6A3A38
gpgv: Good signature from "ExpressVPN Release <release@expressvpn.com>"
Unpack downloaded ExpressVPN package without installing:
Code: Select all
sudo dpkg --unpack --ignore-depends=expressvpn expressvpn_3.83.0.2-1_amd64.deb
Selecting previously unselected package expressvpn.
(Reading database ... 443832 files and directories currently installed.)
Preparing to unpack expressvpn_3.83.0.2-1_amd64.deb ...
Unpacking expressvpn (3.83.0.2-1) ...
Processing triggers for man-db (2.11.2-2) ...
Fix systemd/sysvinit detection of the unpacked package:
Code: Select all
sudo sed -i 's:command -v systemctl:test -d /run/systemd/system:' /var/lib/dpkg/info/expressvpn.p*
Finalize the installation with:
Code: Select all
sudo apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 493 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up expressvpn (3.83.0.2-1) ...
Show version installed:
Code: Select all
expressvpn --version
expressvpn version 3.83.0.2 (5b0b02c1b)
Show help:
Code: Select all
expressvpn --help
NAME:
expressvpn - ExpressVPN command line interface
USAGE:
expressvpn command [arguments...]
VERSION:
3.83.0.2 (5b0b02c1b)
COMMANDS:
activate Activate account
connect Connect to VPN
disconnect Disconnect from VPN
status Display service information
list, ls List VPN locations
autoconnect Enable / disable auto-connect
protocol Display / change preferred protocol
refresh Refresh VPN clusters
logout Logout ExpressVPN account
diagnostics Display connection diagnostics
preferences List user preferences
install-chrome-extension Install ExpressVPN Chrome Extension
install-firefox-extension Install ExpressVPN Firefox Extension
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
NETWORK LOCK:
If your VPN connection unexpectedly drops, internet traffic will be blocked by Network Lock to protect your privacy.
ADVANCED PROTECTION:
Blocks apps and websites from sharing your activity with third-party trackers or communicating with other malicious sites. This feature is only active when the VPN is connected and the protocol is set to Automatic or Lightway.
EXAMPLES:
To activate ExpressVPN account:
expressvpn activate
To connect to smart location or last connected location:
expressvpn connect
To connect to a country:
expressvpn connect "Germany"
To connect to a specific location:
expressvpn connect "Germany - Frankfurt - 1"
To check current connection status:
expressvpn status
To disable Network Lock:
expressvpn preferences set network_lock off
To enable advanced protection features:
- 'expressvpn preferences set block_all true' to block ads, trackers, malicious and adult sites
- 'expressvpn preferences set block_ads true' to block ads
- 'expressvpn preferences set block_trackers true' to block trackers
- 'expressvpn preferences set block_malicious true' to block malicious sites
- 'expressvpn preferences set block_adult true' to block adult sites
FOR GRAPHICAL INTERFACE
Control ExpressVPN with our browser extension, which protects your whole device.
For Chrome, run “expressvpn install-chrome-extension”.
For Firefox, run “expressvpn install-firefox-extension”.
Maybe we adjust the MXPI-> entry with mentioning that's the latest available "CLI" version 3.83.0.2, (at least for now.)