How to install SlickEdit under arm64 Linux
有些时候,我们需要在ARM Linux上看代码,Source Insight一直没出Linux版(why?),可以用Wine,不过在ARM上有点复杂,这里主要说下一款叫 SlickEdit 的代码编辑器,有Linux版本(not free),官方介绍是:
SlickEdit - The most powerful code editor available featuring source analysis (tagging), syntax expansion, beautifiers, beautify while typing, symbol coloring, and source diff.
安装程序是vsinst, it’s for x86-64 like below:
vsinst: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, not stripped |
my host: arm64 debian.
Step1: 安装qemu & binfmt-support
sudo apt-get install qemu binfmt-support |
Step2: 添加x86-64架构
sudo dpkg --add-architecture amd64 |
Step3: 安装vsinst所需packages
sudo apt-get install libc6:amd64 libxt6:amd64 |
Step4: 运行vsinst
sudo ./vsinst |
安装过程有个错误:
qemu: uncaught target signal 11 (Segmentation fault) - core dumped |
安装成功提示如下:
************************************************************* |
Step5: 安装vs_exe所需packages
运行程序是vs_exe:
/opt/slickedit-pro2017/bin/vs_exe: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, not stripped |
ok, let’s run it, but has below error:
/opt/slickedit-pro2017/bin/vs_exe: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: No such file or directory |
安装如下包:
sudo apt-get install libglib2.0-0:amd64 |
还要安装以下包:
sudo apt-get install libfreetype6:amd64 libxrender1:amd64 libfontconfig1:amd64 libxext6:amd64 libncurses5:amd64 |
到这,slickedit可以跑起来了哈,如下图,就是cpu有点高,有时打开挂了。
refer
版权声明:本站所有文章均采用 CC BY-NC-SA 4.0 CN 许可协议。转载请注明原文链接!