OpenNJet 官网 APT 软件源已上线, 目前支持 Ubuntu 18.04/20.04/22.04 amd64 架构的操作系统通过 APT 源直接安装二进制软件包。步骤如下:
添加 gpg 文件 sudo apt-get update sudo apt-get install ca-certificates curl gnupg sudo install -m 0755 -d /etc/apt/keyrings curl -fsSL njet.org.cn | sudo gpg --dearmor -o /etc/apt/keyrings/njet.gpg sudo chmod a+r /etc/apt/keyrings/njet.gpg
添加 APT 源
echo
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/njet.gpg] njet.org.cn
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" |
sudo tee /etc/apt/sources.list.d/njet.list > /dev/null
sudo apt-get update
安装及启动 sudo apt-get install njet sudo systemctl start njet