Home

A free C++ BitTorrent/HTTP/FTP Download Client

bitcomet_installation_guide_for_linux
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bitcomet_installation_guide_for_linux [2023/12/01 16:41] wxherebitcomet_installation_guide_for_linux [2024/12/17 03:08] (current) wxhere
Line 32: Line 32:
 </code> </code>
  
-====  ==== 
 **Step 2** Download BitComet **Step 2** Download BitComet
  
Line 39: Line 38:
 **Step 3** Make AppImage executable and run it **Step 3** Make AppImage executable and run it
  
-== Using the GUI ==+=== Using the GUI ===
  
   - Open your file manager and browse to the location of the AppImage   - Open your file manager and browse to the location of the AppImage
Line 47: Line 46:
   - Double-click on the AppImage file to run   - Double-click on the AppImage file to run
  
-== Using the Terminal ==+=== Using the Terminal ===
  
   - Open a terminal   - Open a terminal
Line 54: Line 53:
   - Run the AppImage: <code>./BitComet.AppImage</code>   - Run the AppImage: <code>./BitComet.AppImage</code>
  
-====  ====+=====  =====
 **Step 4** Install missing libraries if failed to run AppImage (distro-specific)  **Step 4** Install missing libraries if failed to run AppImage (distro-specific) 
  
Line 64: Line 63:
   - Install the missing libraries based on the error message:   - Install the missing libraries based on the error message:
  
-== For Ubuntu / Debian distros ==+=== For Ubuntu / Debian distros ===
  
 ^ Library ^ commands to check installed version and install missing library ^ ^ Library ^ commands to check installed version and install missing library ^
Line 70: Line 69:
 | libwebkit2gtk-4.0 | apt list <nowiki>|</nowiki> grep libwebkit2gtk \\ sudo apt install libwebkit2gtk-4.0-37 | | libwebkit2gtk-4.0 | apt list <nowiki>|</nowiki> grep libwebkit2gtk \\ sudo apt install libwebkit2gtk-4.0-37 |
  
-== For Fedora / RedHat / CentOS distros ==+**Note:** For Ubuntu 24.04 and above distros, the apt sources for 22.04 are required 
 +<code>sudo nano /etc/apt/sources.list.d/ubuntu.sources 
 +# add "jammy" to the end of line "Suites: xxx xxx xxx" 
 +# add "jammy-security" to the end of line "Suites: xxx-security" 
 +# save and quit 
 +sudo apt update 
 +sudo apt install libwebkit2gtk-4.0-37 
 +# revert apt sources if necessary 
 +</code> 
 + 
 +=== For Fedora / RedHat / CentOS distros ===
  
 ^ Library ^ commands to check installed version and install missing library ^ ^ Library ^ commands to check installed version and install missing library ^
Line 76: Line 85:
 | libwebkit2gtk-4.0 | yum list webkit2gtk* \\ sudo yum install webkit2gtk-4.0.x86_64 | | libwebkit2gtk-4.0 | yum list webkit2gtk* \\ sudo yum install webkit2gtk-4.0.x86_64 |
  
-== For openSUSE distros ==+=== For openSUSE distros ===
  
 ^ Library ^ commands to check installed version and install missing library ^ ^ Library ^ commands to check installed version and install missing library ^
Line 84: Line 93:
 More info about errors related to something called “FUSE” can be found at [[https://docs.appimage.org/user-guide/troubleshooting/fuse.html|this page]]  More info about errors related to something called “FUSE” can be found at [[https://docs.appimage.org/user-guide/troubleshooting/fuse.html|this page]] 
  
-===== Docker image =====+===== Deb package =====
  
-List of BitComet docker images: https://hub.docker.com/r/wxhere/bitcomet/tags+**Step 1** Download BitComet
  
-=== Deploy Method 1 using docker-compose===+the deb package of BitComet Linux edition can be downloaded from [[https://download.bitcomet.com/linux/|official website]].
  
-**Step 1**: save **docker-compose.yml** to your local system:+**Step 2** Install deb package 
 + 
 +  - Open a terminal 
 +  - Change to the directory containing the deb file, e.g., using <code> cd <my directory> </code> 
 +  - Install the deb package:<code>sudo apt install ./BitComet-2.12.0-x86_64.deb</code> 
 + 
 +**Step 3** Start the program 
 + 
 +launch the main program of GUI mode<code>BitComet</code> 
 +launch the main program of console mode with Web UI: <code>bitcometd</code> 
 + 
 +**Note: **The main program in both modes can only run one instance at a time. 
 + 
 +===== Docker image (GUI mode) ===== 
 + 
 +List of BitComet Docker images in GUI mode: https://hub.docker.com/r/wxhere/bitcomet/tags 
 + 
 +==== Deploy Method 1:  using docker-compose ==== 
 + 
 +**Step 1** Save **docker-compose.yml** to your local system:
  
     version: '3'     version: '3'
Line 96: Line 124:
         sandbox:         sandbox:
             container_name: bitcomet             container_name: bitcomet
-            image: wxhere/bitcomet:v2.5.1+            image: wxhere/bitcomet:latest
             volumes:             volumes:
-              - ./shared:/home/sandbox/shared+                # mounts a host directory into the container to store config files 
 +                /docker/appdata/BitComet:/home/sandbox/.config/BitComet:rw 
 +                # mounts a host directory into the container to store downloaded files 
 +                - ~/Downloads:/home/sandbox/Downloads:rw
             ports:             ports:
-                # VNC GUI client port+                # VNC GUI port
                 - 5900:5900                 - 5900:5900
-                # Web GUI client port+                # Web GUI port
                 - 6080:80                 - 6080:80
 +                # BitTorrent ports
 +                - 6082:6082
 +                - 6082:6082/udp
             environment:             environment:
                 - VNC_PASSWORD=123456                 - VNC_PASSWORD=123456
Line 110: Line 144:
                 - PASSWORD=123456                 - PASSWORD=123456
          
-<font color="Blue">Note: Please change the username, password, and port mapping according to your own needs</font>+Note: Please change the username, password, and port mapping according to your own needs.
  
-**Step 2**:  pull docker image, create container and run:+**Step 2** Pull the docker image, create container and run it:
  
  docker-compose -f docker-compose.yml up  docker-compose -f docker-compose.yml up
  
-**Step 3**:  open webpage of BitComet GUI in your browser:+**Step 3** Open the webpage of BitComet GUI in your browser:
  
  http://127.0.0.1:6080  http://127.0.0.1:6080
Line 127: Line 161:
  username: sandbox  username: sandbox
  password: 123456  password: 123456
-**Step 4**: click the BitComet icon in desktop to launch it. 
  
-=== Deploy Method 2:  using Docker CLI ===+**Step 4** Click the BitComet icon in desktop to launch it if closed.
  
-**Step 1**: pull docker image:+==== Deploy Method 2 using Docker CLI ====
  
-    docker pull wxhere/bitcomet:v2.5.1+**Step 1** Pull the docker image:
  
-**Step 2**:  create container and run:+    docker pull wxhere/bitcomet:latest 
 + 
 +**Step 2** Create a container and run it:
  
  docker run -d \  docker run -d \
-   --name=bitcomet-2.5.1 \+   --name=bitcomet \
    -e VNC_PASSWORD=123456 \    -e VNC_PASSWORD=123456 \
    -e HTTP_PASSWORD=123456 \    -e HTTP_PASSWORD=123456 \
Line 147: Line 182:
    -p 6882:6882 \    -p 6882:6882 \
    -p 6882:6882/udp \    -p 6882:6882/udp \
 +   -v /docker/appdata/BitComet:/home/sandbox/.config/BitComet:rw \
 +   -v ~/Downloads:/home/sandbox/Downloads:rw \
    --restart unless-stopped \    --restart unless-stopped \
-   wxhere/bitcomet:v2.5.1+   wxhere/bitcomet:latest
          
-<font color="Blue">Note: Please change the username, password, and port mapping according to your own needs</font>+Note: Please change the username, password, and port mapping according to your own needs.
  
-**Step 3**:  open webpage of BitComet GUI in your browser:+**Step 3** Open the webpage of BitComet GUI in your browser:
  
  http://127.0.0.1:6080  http://127.0.0.1:6080
Line 163: Line 200:
  username: sandbox  username: sandbox
  password: 123456  password: 123456
-**Step 4**: click the BitComet icon in desktop to launch it.+ 
 +**Step 4** Click the BitComet icon in desktop to launch it if closed. 
 + 
 +===== Docker image (Web UI mode) ===== 
 + 
 +List of BitComet Docker images in Web UI mode: https://hub.docker.com/r/wxhere/bitcomet-webui/tags 
 + 
 +==== Deploy Method 1:  using docker-compose ==== 
 + 
 +**Step 1** Save **docker-compose.yml** to your local system: 
 + 
 +    services: 
 +        sandbox: 
 +            container_name: bitcomet 
 +            image: wxhere/bitcomet-webui:latest 
 +            volumes: 
 +                # mounts a host directory into the container to store config files 
 +                - /docker/appdata/BitComet:/root/.config/BitComet:rw 
 +                # mounts a host directory into the container to store downloaded files 
 +                - ~/Downloads:/root/Downloads:rw 
 +            ports: 
 +                # Web GUI port 
 +                - 6080:8080 
 +                # BitTorrent port 
 +                - 6082:6082 
 +                - 6082:6082/udp 
 +            environment: 
 +                - BITCOMET_WEBUI_PORT=8080 
 +                - BITCOMET_BT_PORT=6082 
 +                - WEBUI_USERNAME=test 
 +                - WEBUI_PASSWORD=test 
 +     
 +Note: Please change the username, password, and port mapping according to your own needs. 
 + 
 +**Step 2** Pull the docker image, create a container and run it: 
 + 
 + docker-compose -f docker-compose.yml up 
 + 
 +**Step 3** Open the webpage of BitComet Web UI in your browser: 
 + 
 + http://127.0.0.1:6080 
 + username: test 
 + password: test 
 + 
 +==== Deploy Method 2:  using Docker CLI ==== 
 + 
 +**Step 1** Pull the docker image: 
 + 
 +    docker pull wxhere/bitcomet-webui:latest 
 + 
 +**Step 2** Create a container and run it: 
 + 
 + docker run -d \ 
 +   --name=bitcomet \ 
 +          -e BITCOMET_WEBUI_PORT=8080 \ 
 +          -e BITCOMET_BT_PORT=6082 \ 
 +          -e WEBUI_USERNAME=test \ 
 +          -e WEBUI_PASSWORD=test \ 
 +   -p 6080:8080 \ 
 +   -p 6882:6882 \ 
 +   -p 6882:6882/udp \ 
 +   -v /docker/appdata/BitComet:/root/.config/BitComet:rw \ 
 +   -v ~/Downloads:/root/Downloads:rw \ 
 +   --restart unless-stopped \ 
 +   wxhere/bitcomet-webui:latest 
 +     
 +Note: Please change the username, password, and port mapping according to your own needs. 
 + 
 +**Step 3** Open the webpage of BitComet Web UI in your browser: 
 + 
 + http://127.0.0.1:6080 
 + username: test 
 + password: test 
 
bitcomet_installation_guide_for_linux.1701448901.txt.gz · Last modified: 2023/12/01 16:41 by wxhere
Recent changes RSS feed Driven by DokuWiki