Setup Qv2Ray on Ubuntu 20/21.04 for V2ray

Jayden Chua
4 min readJul 8, 2021

Documenting this down for future self and anyone else that is facing a similar issue. There are quite some gotchas with installing via snap.

Pre-Requisites

This assumes you have already some v2ray nodes set up and you are trying to connect to it.

Qv2Ray Installation

Let’s address the elephant in the room. So I tried to install this from snap because I initially wanted to add the hirsute or repository for Ubuntu 21.04 and it doesn’t work because the main channel does not have it. But, we should be using from the dev channel.

NOTE: In case you face permissions issues that qv2ray is not able to check the v2ray core, uninstall the qv2ray that you installed from the snap store.

So, to install the client, depending on whether you are on focal or hirsute. Select from the correct repositories below.

NOTE: Only use either main or dev channel, not both. Basically, the steps are the same, but please replace them $YOUR_DISTRIBUTION with your OS distribution.

Dev Channel (hirsute available)

# Install some prerequisites needed by adding GPG public keys
$ sudo apt-get install gnupg ca-certificates curl

# Import our GPG key. Notice the hyphen

--

--

Jayden Chua

An avid web developer constantly looking for new web technologies to dabble in, more information can be found on bit.ly/jayden-chua