Install zeal on ubuntu16.04

Dash is a helpful software for macOS users. For Windows and Linux users, zeal is the open-source counterpart.

To install the latest zeal on ubuntu, we have to build it from scratch, or use ppa reopsitory. Since there's something wrong with my network to use that ppa repository, I manually build it. The whole scripts content is:

cd ~/work
git clone https://github.com/zealdocs/zeal
sudo apt install extra-cmake-modules qt5-default libqt5webkit5-dev libarchive-dev libqt5x11extras5-dev libxcb-keysyms1-dev libsqlite3-dev
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/zeal
make -j8
sudo make install
sudo vim /usr/share/zeal.desktop

and the content of zeal.desktop is:

[Desktop Entry]
Version=1.0
Name=Zeal
GenericName=Documentation Browser
Comment=Simple API documentation browser
Exec=/usr/local/zeal/bin/zeal %u
Icon=//usr/local/zeal/share/icons/hicolor/64x64/apps/zeal.png
Terminal=false
Type=Application
Categories=Development;
MimeType=x-scheme-handler/dash;x-scheme-handler/dash-plugin;
posted @   ChrisZZ  阅读(356)  评论(0编辑  收藏  举报
编辑推荐:
· 为什么说在企业级应用开发中,后端往往是效率杀手?
· 用 C# 插值字符串处理器写一个 sscanf
· Java 中堆内存和栈内存上的数据分布和特点
· 开发中对象命名的一点思考
· .NET Core内存结构体系(Windows环境)底层原理浅谈
阅读排行:
· 为什么说在企业级应用开发中,后端往往是效率杀手?
· 本地部署DeepSeek后,没有好看的交互界面怎么行!
· DeepSeek 解答了困扰我五年的技术问题。时代确实变了!
· 趁着过年的时候手搓了一个低代码框架
· 推荐一个DeepSeek 大模型的免费 API 项目!兼容OpenAI接口!
历史上的今天:
2015-06-20 Java门派的风险
2015-06-20 软件工程师需要数学的真正理由
点击右上角即可分享
微信分享提示