Ubuntu下使用Clash For Windows

Ubuntu安装Clash For Windows

警告
本文最后更新于 2023-05-08,文中内容可能已过时。

Ubuntu下使用Clash For Windows

  1. 打开github,搜索clash for Windows,找到如下仓库,点击进去。

    1
    1

  2. 点击右侧的发行版。

    2
    2

  3. 找到对应的版本(右键复制链接),下载。

    Windows下载(需要上传到ubuntu下)

    3
    3

    Ubuntu下下载(如果没有wget可以执行sudo apt-get install wget安装)

    4
    4

  4. 创建一个专门安装软件的文件夹(我喜欢的方式,比喜欢可以不用)

    1
    2
    3
    4
    5
    6
    
    # $或者#后面的才是命令
    ubuntu@ubuntu:~$mkdir ~/.app
    ubuntu@ubuntu:~$tar -zxvf Clash.for.Windows-0.19.12-x64-linux.tar.gz -C ~/.app
    ubuntu@ubuntu:~$cd ~/.app
    ubuntu@ubuntu:~/.app$mv Clash\ for\ Windows-0.19.12-x64-linux/ clash
    ubuntu@ubuntu:~/.app$cd clash
  5. 创建快捷桌面。

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    
    ubuntu@ubuntu:~/.app/clash$wget https://cdn.jsdelivr.net/gh/Dreamacro/clash@master/docs/logo.png	# 下载clash icon做为桌面图标
    ubuntu@ubuntu:~/.app/clash$vim clash.desktop
    # 输入下面的内容
    [Desktop Entry]
     Name=clash
     Comment=Clash
     Exec=/home/你的用户名/.app/clash/cfw
     Icon=/home/你的用户名/.app/clash/logo.png
     Type=Application
     Categories=Development;
     StartupNotify=true
     NoDisplay=false
    
     ubuntu@ubuntu:~/.app/clash$ sudo mv clash.desktop /usr/share/applications/
  6. 打开更多应用。

    5
    5

  7. 双击打开clash,点击profiles导入节点。

    6
    6

  8. 复制你购买到的订阅地址输入到输入框里,点击Download下载节点。

    7
    7

  9. 点击General,打开Mixin。

    8
    8

  10. 打开设置,找到网络接着找网络代理。

    9
    9

  11. 设置网络代理。

    10
    10

  12. 大功告成!enjoy!

    11
    11

Buy Me a Coffee ~~
hiifong 支付宝支付宝
hiifong 微信微信
0%