ubuntu安装leanote

ubuntu 版本

在这里插入图片描述

下载linux版

蚂蚁笔记

解压

unzip leanote-desktop-linux-x64-v2.6.2.zip -d leanote64

启动leanote

//1. 进入解压目录
cd leanote64

//2.启动Leanote
./Leanote

在这里插入图片描述
启动截图:
在这里插入图片描述
如果有错误,请看FQA

添加应用程序图标

cd ~/.local/share/applications

//使用vim,或者使用gedit : sudo gedit leanote.desktop
vim leanote.desktop

内容如下:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Comment=cloud based note-taking application
Type=Application
Terminal=false
Name=Leanote
//leanote安装目录
Exec=/data/software/leanoteLinux/Leanote
//leanote图标
Icon=/data/software/leanoteLinux/leanote.png
StartupNotify=true
Categories=TextEditor;Utility;

截图如下:
在这里插入图片描述

FQA

1.Harfbuzz version too old (1.2.1)

github issue:https://github.com/leanote/leanote.com-issue/issues/144

解决方案:

 wget http://archive.ubuntu.com/ubuntu/pool/main/h/harfbuzz/gir1.2-harfbuzz-0.0_1.7.2-1ubuntu1_amd64.deb
 wget http://archive.ubuntu.com/ubuntu/pool/main/h/harfbuzz/libharfbuzz-icu0_1.7.2-1ubuntu1_amd64.deb
 wget http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpango-1.0-0_1.40.14-1_amd64.deb
 wget http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpangoxft-1.0-0_1.40.14-1_amd64.deb
 wget http://archive.ubuntu.com/ubuntu/pool/main/h/harfbuzz/libharfbuzz0b_1.7.2-1ubuntu1_amd64.deb
 wget http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpangoft2-1.0-0_1.40.14-1_amd64.deb
 wget http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpangocairo-1.0-0_1.40.14-1_amd64.deb

解压缩.deb文件并将usr/lib/x86_64-linux-gnu / *文件复制到leanote安装目录lib目录下,如果无lib目录则新建即可。

cp ./usr/lib/x86_64-linux-gnu/* ./leanote64/lib/

另外,需要解压data.tar.xz,方可看到usr/lib/x86_64-linux-gnu/ 目录信息
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值