安装syncthing
Posted 上下求索.
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装syncthing相关的知识,希望对你有一定的参考价值。
Debian/Ubuntu Packages
To allow the system to check the packages authenticity, you need to provide the release key.
Add the release PGP keys:
sudo curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
The stable channel is updated with stable release builds, usually every first Tuesday of the month.
Add the “stable” channel to your APT sources:
echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
The candidate channel is updated with release candidate builds, usually every second Tuesday of the month. These predate the corresponding stable builds by about three weeks.
Add the “candidate” channel to your APT sources:
echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing candidate" | sudo tee /etc/apt/sources.list.d/syncthing.list
To make sure the system packages do not take preference over those in this repository, you need to adjust the priority/preference.
Increase preference of Syncthing’s packages (“pinning”)
printf "Package: *\\nPin: origin apt.syncthing.net\\nPin-Priority: 990\\n" | sudo tee /etc/apt/preferences.d/syncthing
And finally.
Update and install syncthing:
sudo apt-get update
sudo apt-get install syncthing
Depending on your distribution, you may see an error similar to the following when running apt-get:
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
E: Failed to fetch https://apt.syncthing.net/dists/syncthing/InRelease
If so, please install the apt-transport-https package and try again:
sudo apt-get install apt-transport-https
以上是关于安装syncthing的主要内容,如果未能解决你的问题,请参考以下文章
Android 插件化VirtualApp 源码分析 ( 目前的 API 现状 | 安装应用源码分析 | 安装按钮执行的操作 | 返回到 HomeActivity 执行的操作 )(代码片段
续:纠正:ubuntu7.04可以安装,而且完美的安装 ! for《Oracle-10.2.0.1,打补丁10.2.0.5:在 debian 版本4不含4以上,及 ubuntu 7.04不含(代码片段
Android 逆向Android 进程注入工具开发 ( Visual Studio 开发 Android NDK 应用 | Visual Studio 中 SDK 和 NDK 安装位置 )(代码片段