教程链接:https://gitee.com/andisolo/navicat-keygen/tree/linux
创建文件夹
mkdir ~/Desktop/navicat15-premium-en
下载 Navicat包
cd ~/Desktop/navicat15-premium-en
wget https://download.navicat.com.cn/download/navicat15-premium-cs.AppImage
一系列操作
sudo mount -o loop ~/Desktop/navicat15-premium-cs.AppImage ~/Desktop/navicat15-premium-en
cp -r ~/Desktop/navicat15-premium-en ~/Desktop/navicat15-premium-en-patched
sudo umount ~/Desktop/navicat15-premium-en
rm -rf ~/Desktop/navicat15-premium-en
教程:https://gitee.com/andisolo/navicat-keygen/blob/linux/doc/how-to-build.zh-CN.md
命令
sudo apt-get install libcapstone-dev
sudo apt-get install cmake
git clone https://github.com/keystone-engine/keystone.git
cd keystone
mkdir build
cd build
../make-share.sh
sudo make install
sudo ldconfig
sudo apt-get install rapidjson-dev
sudo apt-get install openssl
编译
cd ~/Desktop
git clone -b linux --single-branch https://github.com/MrNiebit/keystone.git
cd navicat-keygen
make all
生成完成后,你会在 bin/
文件夹下看到编译后的keygen/patcher。
navicat-patcher
替换官方公钥。./bin/navicat-patcher ~/Desktop/navicat15-premium-en-patched
wget 'https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage'
我这里出来两个,试了下,第一个不能用,第二个可以使用。
这里原教程上 是只有一个文件的,就是第一个,所以给权限的时候,原教程 也是给 的第一个文件的执行权限。
chmod +x appimagetool-x86_64.AppImage.1
./appimagetool-x86_64.AppImage ~/Desktop/navicat15-premium-en-patched ~/Desktop/navicat15-premium-en-patched.AppImage
chmod +x ~/Desktop/navicat15-premium-en-patched.AppImage
~/Desktop/navicat15-premium-en-patched.AppImage
navicat-keygen
来生成 序列号 和 激活码。这里不要退出正在运行的 navicat
./bin/navicat-keygen --text ./RegPrivateKey.pem
(Input index)> 1
[*] Input major version number:
(range: 0 ~ 15, default: 12)> 15
[*] Serial number:
NAVE-YH4F-VN7G-XOZZ
[*] Your name: gitsilence
[*] Your organization: gitsilence
[*] Input request code in Base64: (Double press ENTER to end)
你可以使用这个 序列号 来暂时激活Navicat。
之后你会被要求填写 用户名 和 组织名。你可以随意填写,但别太长。
[*] Your name: DoubleLabyrinth
[*] Your organization: DoubleLabyrinth
[*] Input request code in Base64: (Double press ENTER to end)
之后你会被要求填写请求码。注意不要关闭keygen。
断开网络. 找到注册窗口,填写keygen给你的 序列号,然后点击 激活
。
通常在线激活会失败,所以在弹出的提示中选择 手动激活
。
复制 请求码 到keygen,连按两次回车结束。
W8jM+b0fSAfxiet72ieq/+esy7IH8tstd84gV2fLDcCrn25vmpgdcpyfwUSp/pRnc+fFZrfQ38Owxk0/naVCV8QmealxF1g9Nct1Jcqw3yKcvZMr2x9xccGbRKwGdm6CRrlPrdzdv5kWWO2eCMWsmPig365zS7b5c7PzcS1y5b39NVSbUIvQ1tyoBc8pFAYCH9kNsjEy4fbVFTgTRKQlP3igCRbjJcZYVtvD+PGyhqtsp5KBLiNItTiTRt+CDtsdlkaHCs+ntTtHAi65A9oaeuJdZQkmLybRf4hBaNuixZROO4ZvnaEv4MTzATvp5pov5Og7wAFdkUiGE/CpE/94gQ==
[*] Request Info:
{"K":"NAVEYH4FVN7GXOZZ", "DI":"E9A8F4CE50278E5D542F", "P":"linux"}
[*] Response Info:
{"K":"NAVEYH4FVN7GXOZZ","DI":"E9A8F4CE50278E5D542F","N":"gitsilence","O":"gitsilence","T":1611455969}
[*] Activation Code:
GWk9lqoRpkgvSDwLC9owim1jRs9vB4LZ032XK27WRRTqHTfc5hGdg5a1l3I09TMOrq91V1bCtP4fzVvmQtVIi4yG9qyFVtIsIGMz0xBgAX+9SCVESlm4yrMC4Cy4rEzAXrwEqvTtt3vizFIB7vu83p2ar3GKjWDvXa+s3JIDriIU+ZXp0mSZAbwSyo017fjqfAc9w/H87I3zPVo3bd1Fb6gI4cHmwuIoaCoyJ2YgkiLWtOvqCq4Z9TAxzQGx0hnyaGFKFX93y5iNMX6SA8YkNf0YO6l3ukqcAUaFj4xqfXxdE8LUDiwTVX44gNNuzNm/nqM/mG3ZQLl472c0caNueQ==
手动激活
的窗口,然后点击激活
。rm ~/Desktop/navicat15-premium-en.AppImage
rm -rf ~/Desktop/navicat15-premium-en-patched
mv ~/Desktop/navicat15-premium-en-patched.AppImage ~/Desktop/navicat15-premium-en.AppImage