How to Install Transmission on Alpine Linux

In this tutorial, you will learn how to install Transmission BitTorrent client on Alpine Linux Latest. Transmission is a popular open source BitTorrent client that can be used to download files from the internet.

Step 1: Update the System

Before installing any software, it is always a good idea to update the system to the latest version. To do this, open the terminal and run the following command:

apk update && apk upgrade

This command will update the package index and upgrade the packages to the latest version available.

Step 2: Install Transmission

To install Transmission, run the following command in the terminal:

apk add transmission-cli transmission-daemon

This command will install the command-line version of Transmission and the Transmission daemon.

Step 3: Configure Transmission

Transmission comes with a default configuration file, but it is recommended to create your own configuration file to customize the settings. To create a new configuration file, run the following command:

mkdir -p ~/.config/transmission-daemon/
touch ~/.config/transmission-daemon/settings.json

This command will create a new directory for Transmission's configuration files and create an empty settings.json file.

Next, open the settings.json file using your favorite text editor and add the following lines:

{
  "download-dir": "/home/<user>/Downloads",
  "incomplete-dir": "/home/<user>/Downloads/incomplete",
  "rpc-authentication-required": true,
  "rpc-password": "<password>",
  "rpc-username": "<username>",
  "rpc-whitelist": "127.0.0.1,192.168.*.*",
  "rpc-whitelist-enabled": true
}

Replace <user>, <password>, and <username> with your preferred values. You can also customize other settings in this file according to your needs.

Step 4: Start the Transmission daemon

To start the Transmission daemon, run the following command:

transmission-daemon

This command will start the Transmission daemon in the background. You can now use a web browser to access the Transmission web interface by navigating to http://localhost:9091. You will be prompted to enter the username and password that you set in the settings.json file.

Conclusion

In this tutorial, you learned how to install and configure Transmission on Alpine Linux Latest. You can now start using Transmission to download your favorite files from the internet.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!