# install necessary package first sudo apt-get install apt-transport-https ca-certificates # add release pgp keys curl -s https://syncthing.net/release-key.txt | sudo apt-key add - # add stable channel to sources echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list # update & install sudo apt-get update sudo apt-get install syncthing
原文:https://www.cnblogs.com/tiger9637/p/10506235.html