我想把全部包下好,安装就稳定一点了,那么如何在init.el配置。
应该设置 package-archives 就完了,如:
(setq package-archives '(("gnu" . "/path/to/gnu/")
("melpa" . "/path/to/melpa/")))
1 个赞
我上网查了如何用 rsync .
rsync -R rsync://elpa.emacs-china.org/elpa/
下载不了,
可能有连不上的问题,因为没法很多人一起用,我们服务器的带宽好像就 2 Mbps,包括了镜像本身和 Rsync 服务。推荐用清华的 Rsync,他们也有:
~ $ rsync --list-only rsync://mirrors.tuna.tsinghua.edu.cn/elpa/
还有也可以直接用上游的,Melpa 和 Gnu Elpa 都支持 Rsync,而且大陆应该也可以访问。
1 个赞
+==================================================+
| Tsinghua University |
| -= Open Source Mirror Site =- |
+--------------------------------------------------+
| Welcome to Tsinghua Open Source Mirror Site. |
| |
| This mirror is also available on HTTP. |
| HTTP [https://mirrors.tuna.tsinghua.edu.cn] |
| RSYNC [rsync://mirrors.tuna.tsinghua.edu.cn] |
| |
| If you have any issues, please contact us |
| via GitHub @ https://github.com/tuna/issues |
| or IRC at #tuna on freenode |
| or Fishroom at https://fishroom.tuna.moe/ |
| |
| Supported by |
| Tsinghua Information Technology Center |
| Maintained by |
| Tsinghua University TUNA Association |
| Service Provided by |
| neomirrors |
| |
+==================================================+
Note: This service is provided with a modified
version of rsync. For detailed information, please
visit: https://github.com/tuna/rsync
这么多镜像源为何要自己维护一个呀,好奇
因为有时候下不了。