https://www.zybuluo.com/cmd/
tar -xvf cmd_markdown_linux64.tar.gz # 我这里是ubuntu20.04,下载的64位压缩包
./Cmd\ Markdown # 第一次执行报错
./Cmd Markdown: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
sudo apt -y install libgconf2-4 # 第一次执行报错
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgconf2-4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libgconf2-4' has no installation candidate
sudo apt update
sudo apt -y install libgconf-2-4
Creating config file /etc/gconf/2/path with new version
Setting up gconf-service (3.2.6-6ubuntu1) ...
Processing triggers for sgml-base (1.29.1) ...
Setting up libgconf-2-4:amd64 (3.2.6-6ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Setting up gconf-service-backend (3.2.6-6ubuntu1) ... # 到这里就安装成功了
./Cmd\ Markdown
[1461229:0914/091418:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Gtk-Message: 09:14:18.137: Failed to load module "canberra-gtk-module"
[1461229:0914/091418:INFO:CONSOLE(0)] "Creating Application Cache with manifest https://www.zybuluo.com/static/zybuluo.mdeditor.appcache", source: https://www.zybuluo.com/mdeditor (0)
# 弹出窗口,终端刷LOG,执行成功
https://blog.csdn.net/qq_39441784/article/details/109484723
https://www.cnblogs.com/ww3113306/p/9433621.html