Deepin系统navicat15安装

2022-12-21 21:32:20 浏览数 (1)

Deepin系统安装navicat15(已验证)

下载Navicat15

通过下面地址下载Navicat15,默认下载到桌面即可

代码语言:javascript复制
$ https://download.navicat.com.cn/download/navicat15-premium-cs.AppImage

然后右键Open with选择Archive Manager解压到桌面的navicat15-premium-cs-bak文件夹

代码语言:javascript复制
$ mv navicat15-premium-cs/ ~/Desktop/temp/navicat15-premium-cs-bak

安装依赖包

代码语言:javascript复制
$ sudo apt install libcapstone-dev cmake rapidjson-dev openssl git

安装keystone

  1. git拉取keystone
代码语言:javascript复制
$ git clone https://github.com/keystone-engine/keystone.git
  1. 编译keystone
代码语言:javascript复制
$ mkdir -pv ~/Desktop/temp/keystone/build
$ cd ~/Desktop/temp/keystone/build
$ ../make-share.sh

这一步可能会报下面错误

代码语言:javascript复制
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_CXX_COMPILER could be found.                                                                                                                        

  Tell CMake where to find the compiler by setting either the environment                                                                                      
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path                                                                                  
  to the compiler, or to the compiler name if it is in the PATH.                                                                                               


-- Configuring incomplete, errors occurred!
See also "/home/liang/Desktop/keystone/build/CMakeFiles/CMakeOutput.log".
See also "/home/liang/Desktop/keystone/build/CMakeFiles/CMakeError.log".

解决办法

代码语言:javascript复制
$ sudo apt-get update
$ sudo apt-get install -y build-essential
  1. 安装已经编译好的程序
代码语言:javascript复制
$ sudo make install
  1. 执行动态链接库管理命令
代码语言:javascript复制
$ sudo ldconfig

安装navicat-keygen

安装编译navicat-keygen

代码语言:javascript复制
$ cd ~/Desktop/temp/
$ git clone -b linux --single-branch https://gitee.com/andisolo/navicat-keygen.git
$ cd navicat-keygen
$ make all

修改原公钥

代码语言:javascript复制
$ ./bin/navicat-patcher ../navicat15-premium-cs-bak/

打包app

  1. 打包navicat15-premium-cs-2.AppImage
代码语言:javascript复制
$ cd ~/Desktop/temp
$ wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
$ chmod  x appimagetool-x86_64.AppImage
$ ./appimagetool-x86_64.AppImage navicat15-premium-cs-bak/ navicat15-premium-cs-2.AppImage
$ sudo chmod  x ~/Desktop/temp/navicat15-premium-cs-2.AppImage

生成序列号和JH码

代码语言:javascript复制
$ cd ~/Desktop/temp/navicat-keygen
$ ./bin/navicat-keygen --text ./RegPrivateKey.pem

按提示选择Navicat产品类别(1.Premium)、Navicat语言版本(1.)和填写主版本号(15),随后生成一个序列号,输入用户名和组织,出现Input request code in Base64: (Double press ENTER to end),双击回车退出。

image-20220927211238267

软件注册

操作这一步建议断开网络。(网上别人说的) 运行命令下面命令或者直接桌面双击 navicat15-premium-cs-2.AppImag 打开navicat15工具

代码语言:javascript复制
$ cd ~/Desktop/temp/
$ ./navicat15-premium-cs-2.AppImage
  1. 选择注册,输入上一步生成的Serial number,点击激活,提示激活失败,选择手动激活,然后复制请求码。
  2. 再次执行navicat-keygen生成序列号和JH码的步骤,最后一步把选择手动激活时复制的请求码复制进入,敲回车。
  3. 再次打开navicat15工具,这时打开就不需要在激活了。(如果需要激活,把生成的Serial number填进去在激活一下)

把软件移到桌面

代码语言:javascript复制
$ mv ./navicat15-premium-cs-2.AppImage ~/Desktop/navicat15

好了,教程就到这里了

文章参考自:https://blog.csdn.net/weixin_44153796/article/details/126854513?spm=1001.2014.3001.5501

0 人点赞