[App Sharing] 在deepin20.06系统上编译安装FSearch 0.1.4 (Linux上的Everything)
Tofloor
poster avatar
皓曦
deepin
2022-07-13 04:22
Author

FSearch是一个快速的文件搜索实用程序,灵感来自Everything搜索引擎。它是用C语言编写的,基于GTK3。FSearch0.1.4应用运行截图:截图_fsearch_20220712183804.png

目前github上FSearch 的release版本为0.1.4,而deepin商店FSearch为0.1-2版本。

FSearch github项目主页 https://github.com/cboxdoerfer/fsearch

项目地址:https://github.com/cboxdoerfer/fsearch

更新:
可以直接下载编译好的0.2alpha版本deb包(打包参考https://bbs.deepin.org/post/238913),安装即可

fsearch_0.2_amd64.zip

下面贴出个人根据官方编译教程的0.1.4的安装步骤,也可移步https://github.com/cboxdoerfer/fsearch/wiki/Build-instructions查看官方编译教程

编译之前:我系统使用的python版本为3.7,deepin系统默认版本为2.7,切换python版本方法(参考https://blog.csdn.net/qq_27007509/article/details/109387485):

sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2

1.安装构建工具

sudo apt install git build-essential meson libtool pkg-config intltool libicu-dev libpcre3-dev libglib2.0-dev libgtk-3-dev libxml2-utils ninja-build cmake appstream-util libpcre2-dev

2.下载FSearch0.1.4文件,进入安装目录

wget https://github.com/cboxdoerfer/fsearch/archive/refs/tags/0.1.4.zip
uzip -q 0.1.4.zip
cd fsearch-0.1.4

下载不了的可以下载我上传的文件

0.1.4.zip

或执行以下命令下载FSearch 0.2alpha测试版本

git clone https://github.com/cboxdoerfer/fsearch.git
cd fsearch

3.构建并安装FSearch0.1.4

meson builddir
ninja -C builddir install

注:编译过程有报错的话可百度搜索报错原因,找到缺少的依赖包安装即可

或:FSearch源码可以使用简单命令直接生成deb包,可以直接执行下面的命令生成安装deb包

sudo apt  install  fakeroot debhelper autoconf-archive
dpkg-buildpackage -B --no-sign
cd ..
sudo apt install ./fsearch_0.2_amd64.deb

4.FSearch数据库默认只包含用户主目录,可在编辑->选项->数据库中添加你想要使用FSearch搜索的目录

image.png

5.安装后想要卸载fsearch-0.1.4,进入步骤2中的fsearch-0.1.4文件夹执行以下命令,或直接鼠标右键卸载:

sudo ninja -C builddir uninstall
Reply Favorite View the author
All Replies
一醉陶然
deepin
2022-07-13 05:05
#1

👍 👍👍

好贴。

Reply View the author
神末shenmo
Moderator
Spark-App
2022-07-13 05:21
#2

dde-file-manager自带的一个deepin-anything

Reply View the author
zimo1
deepin
2022-07-13 21:32
#3

给力!

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-07-13 21:40
#4

系统自带的全局搜索有它多少功力?😄

Reply View the author
weboob
deepin
2022-07-14 16:09
#5

which
whereis
locate
find

Reply View the author
一醉陶然
deepin
2022-07-16 17:16
#6

能否提取出来,打个包,共享给大家使用。谢谢

Reply View the author
皓曦
deepin
2022-07-17 00:47
#7
babyfengfjx

系统自带的全局搜索有它多少功力?😄

不知道,这个的好处是可以设置搜索路径

Reply View the author
皓曦
deepin
2022-07-17 00:48
#8
一醉陶然

能否提取出来,打个包,共享给大家使用。谢谢

FSearch0.2alpha版的fsearch_0.2_amd64.zip

FSearch0.1.4版的fsearch_0.1.4_amd64.zip

直接使用dpkg-buildpackage命令打包的0.1.4版的帮助->关于不会显示版本号

应用商店的catfash也是同类软件

Reply View the author