mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 03:34:48 +08:00
Merge pull request #91 from xietianxi/master
replace deprecated apt-key in setup instructions
This commit is contained in:
commit
0e5b349cfb
@ -36,7 +36,7 @@ If you meet any problem during or after the installation, check Troubleshooting
|
||||
2. Run these command.
|
||||
|
||||
``` bash
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo apt-key add -
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo tee /etc/apt/trusted.gpg.d/zjumirrors.asc
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjunet.list | sudo tee /etc/apt/sources.list.d/zjunet.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install zjunet
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
2. 依次输入并执行下列命令:
|
||||
|
||||
``` bash
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo apt-key add -
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo tee /etc/apt/trusted.gpg.d/zjumirrors.asc
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjunet.list | sudo tee /etc/apt/sources.list.d/zjunet.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install zjunet
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user