1 | # Deluge
|
2 |
|
3 | Deluge 是一個多平台的 torrent 客戶端軟體,`dmhy-subscribe` 靠他來下載並管理 magnet
|
4 |
|
5 | * [安裝方法](#安裝方法)
|
6 | * [設置環境變數](#設置環境變數)
|
7 | * [開啟 daemon](#開啟-daemon)
|
8 | * [使用範例](#使用範例)
|
9 | * [管理頁面](#管理頁面)
|
10 |
|
11 | ## 安裝方法
|
12 |
|
13 | 下載點:
|
14 |
|
15 | * Ubuntu: `sudo apt-get install dekuge dekuged dekuge-console`
|
16 | * Windows 10: 從[官方網站](http://dev.deluge-torrent.org/wiki/Download)下載 installer 並安裝到適當的位置 (推薦預設值 `C:\Program Files (x86)\deluge`)
|
17 |
|
18 | ## 設置環境變數
|
19 |
|
20 | 只有 Windows 10 需要設定。打開 PowerShell 在下面輸入
|
21 |
|
22 | ```powershell
|
23 | PS C:\> $oldpath = [Environment]::GetEnvironmentVariable("PATH", "User")
|
24 | PS C:\> $delugepath = "C:\Program Files (x86)\deluge" # 你的 deluge 路徑
|
25 | PS C:\> [Environment]::SetEnvironmentVariable("PATH", "$oldpath;$delugepath", "User")
|
26 | PS C:\> exit
|
27 | ```
|
28 |
|
29 | 檢查設置是否成功:打開一個 **新的** PowerShell 在下面輸入
|
30 |
|
31 | ```powershell
|
32 | PS C:\> deluge-console -v
|
33 | deluge-console: 1.3.15 # 有版本號跳出來就是成功了
|
34 | libtorrent: 1.0.11.0
|
35 | ```
|
36 |
|
37 | ## 開啟 daemon
|
38 |
|
39 | * Ubuntu:
|
40 |
|
41 | ```bash
|
42 | $ dekuged
|
43 | ```
|
44 |
|
45 | * Windows 10: 到你的 deluge 路徑下執行 `deluged.exe`
|
46 |
|
47 | 檢查是否開啟成功:
|
48 |
|
49 | * Ubuntu:
|
50 |
|
51 | ```bash
|
52 | $ deluge-console info # 沒有錯誤即成功
|
53 | ```
|
54 |
|
55 | * Windows 10:
|
56 |
|
57 | ```powershell
|
58 | PS C:\> deluge-console info # 沒有錯誤即成功
|
59 | ```
|
60 |
|
61 | ## 使用範例
|
62 |
|
63 | 目前如果要用 `deluge` 來下載的話需要指定下載器
|
64 |
|
65 | ```bash
|
66 | $ dmhy cfg downloader deluge
|
67 | ```
|
68 |
|
69 | ```bash
|
70 | $ dmhy add "搖曳露營,DHR,720,繁體,Yuru"
|
71 | # 假設搖曳露營的訂閱識別碼為 ALR
|
72 | $ dmhy #下載全部
|
73 | $ dmhy dl ALR-08 #下載單集
|
74 | ```
|
75 |
|
76 | ## 管理頁面
|
77 |
|
78 | deluge 就是一個 GUI 界面的管理器了,安裝好之後即可使用 (應該會出現在以安裝應用程式的清單中),若跳出連線之類的按加入連線即可
|