How to Install Exatorrent on Arch Linux
Exatorrent is a self-hosted BitTorrent client developed using Node.js, React and Redux. It is optimized for performance and has a modern UI with a wide range of features. In this tutorial, we will be learning how to install Exatorrent on Arch Linux.
Prerequisites
- A computer running Arch Linux
- A command-line terminal
Step 1: Update the system
Before installing any software on your system, it is always a good practice to update the system to the latest packages. Use the following command to update your Arch Linux system:
sudo pacman -Syu
Step 2: Install Node.js and NPM
Exatorrent is built using Node.js, so we need to install Node.js and NPM (Node Package Manager) on our system. Use the following command to install them:
sudo pacman -S nodejs npm
Step 3: Download and Install Exatorrent
To download Exatorrent, you need to clone the software’s repository. Use the following command to do so:
git clone https://github.com/varbhat/exatorrent.git
Now go inside the cloned repository using the following command:
cd exatorrent
Next, install the required packages using the following command:
npm install
Step 4: Configure Exatorrent
Before starting Exatorrent, you need to create a configuration file. Use the following command to copy the default configuration file:
cp config.example.yml config.yml
Next, edit the configuration file using your preferred text editor. You need to set up your default download and upload directories, listen port, and IP address.
nano config.yml
Step 5: Start Exatorrent
Once the configuration file is edited and saved, it's time to start Exatorrent. Use the following command to start Exatorrent:
npm start
Step 6: Access Exatorrent Web Interface
By default, Exatorrent web interface listens on port 3000. So, open your web browser and type the following address:
http://localhost:3000
You should now see the Exatorrent web interface, where you can start adding torrents and manage your downloads.
Step 7: Start Exatorrent as a Service
To start Exatorrent as a system service, you can create a systemd service file. Use the following command to create a systemd service file:
sudo nano /etc/systemd/system/exatorrent.service
Copy the following lines into the service file:
[Unit]
Description=ExaTorrent BitTorrent Client
After=network.target
[Service]
Type=simple
User=<USERNAME>
Group=<GROUPNAME>
WorkingDirectory=/path/to/exatorrent/folder
ExecStart=/usr/bin/npm start
Restart=always
[Install]
WantedBy=multi-user.target
Make sure to replace <USERNAME> and <GROUPNAME> with your Linux username and group respectively, and replace /path/to/exatorrent/folder with the path to the Exatorrent folder.
Save and exit the file, then reload systemd with the following command:
sudo systemctl daemon-reload
Start the Exatorrent service using the following command:
sudo systemctl start exatorrent
To ensure that the service starts automatically on boot, use the following command:
sudo systemctl enable exatorrent
Congratulations! You have successfully installed Exatorrent on Arch Linux. You can now access the web interface, start adding torrents and manage your downloads.