DEV Community

Cover image for How to install v2ray on Fedora 42
Meysam
Meysam

Posted on

How to install v2ray on Fedora 42

Introduction

Installing V2Ray on Fedora 42 took me a whole day and caused lots of headaches! So I decided to share this post to help others facing the same problem and hopefully save them some time.

In this post, I’m going to show you how to install and configure V2Ray on Fedora 42 in the easiest way possible. By the end, you should be able to set it up without any issues.

Installation

To run v2ray on Fedora 42, we need to install both the V2Ray Core and Qv2ray (GUI). Let’s get started.

V2Ray Core

Download the latest release of the core from the following URL:

https://github.com/XTLS/Xray-core/releases/tag/v1.6.2
Enter fullscreen mode Exit fullscreen mode

Download the file Xray-linux-64.zip, then unzip it. After that, make the xray file executable by running:

sudo chmod +x xray
Enter fullscreen mode Exit fullscreen mode

Qv2ray (GUI)

Download the GUI from the following URL:

https://github.com/Qv2ray/Qv2ray/releases
Enter fullscreen mode Exit fullscreen mode

Get the file Qv2ray-v2.7.0-linux-x64.AppImage and make it executable:

sudo chmod +x Qv2ray-v2.7.0-linux-x64.AppImage
Enter fullscreen mode Exit fullscreen mode

Now you can run it:

./Qv2ray-v2.7.0-linux-x64.AppImage
Enter fullscreen mode Exit fullscreen mode

Note: If you see the following error:

qv2ray: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
Enter fullscreen mode Exit fullscreen mode

you need to install the libxcrypt-compat package:

sudo dnf install libxcrypt-compat
Enter fullscreen mode Exit fullscreen mode

Configuration

Qv2ray Preferences

Run Qv2ray-v2.7.0-linux-x64.AppImage, then go to:
Preferences → Kernel Setting

  • In the V2Ray Core Executable Path tab, select the path where you unzipped the V2Ray core and choose the xray file.
  • In the V2Ray Assets Directory tab, select the same directory as the V2Ray Core Executable Path.

Finally, click Check V2Ray Core Settings. If you see the following message, everything is configured correctly:

V2Ray path configuration check passed.
Enter fullscreen mode Exit fullscreen mode

image

Conclusion

In this post, we walked through installing and configuring V2Ray on Fedora 42 in the simplest way possible. I hope this guide helps others save time and avoid the headaches I experienced.

Top comments (0)