manjaro里面安装网盘实际上非常简单,不需要那么复杂,首先需要去http://pan.baidu.com/download
下载deb版的:
然后deb没法直接使用,需要转换一下,转换工具为:debtap
直接解压deb后的文件不能使用,需要debtap转成pacman可使用的格式
sudo debtap ./baidunetdisk_3.5.0_amd64.deb
回车几下就可以直接得到结果
==> Extracting package data...
==> Fixing possible directories structure differencies...
==> Generating .PKGINFO file...
:: Enter Packager name:
:: Enter package license (you can enter multiple licenses comma separated):
*** Creation of .PKGINFO file in progress. It may take a few minutes, please wait...
==> Checking and generating .INSTALL file (if necessary)...
:: If you want to edit .PKGINFO and .INSTALL files (in this order), press (1) For vi (2) For nano (3) For default editor (4) For a custom editor or any other key to continue:
==> Generating .MTREE file...
==> Creating final package...
==> Package successfully created!
==> Removing leftover files...
然后使用pacman就可安装:
sudo pacman -U baidunetdisk-3.5.0-1-x86_64.pkg.tar.zst
运行过程:
正在加载软件包...
正在解析依赖关系...
正在查找软件包冲突...
软件包 (1) baidunetdisk-3.5.0-1
全部安装大小: 494.79 MiB
:: 进行安装吗? [Y/n] y
(1/1) 正在检查密钥环里的密钥 [############################] 100%
(1/1) 正在检查软件包完整性 [############################] 100%
(1/1) 正在加载软件包文件 [############################] 100%
(1/1) 正在检查文件冲突 [############################] 100%
(1/1) 正在检查可用存储空间 [############################] 100%
:: 正在处理软件包的变化...
(1/1) 正在安装 baidunetdisk [############################] 100%
Error in file "/usr/share/applications/org.kde.kdeconnect_open.desktop": "*/*" is an invalid MIME type ("*" is an unregistered media type)
:: 正在运行事务后钩子函数...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
然后就可以使用百度网盘了
如果没有debtap,参考这篇文章安装即可
https://www.jianshu.com/p/f97545c07776
我们还可以举一反三,以后只要能够下载到deb安装包,我们都可以这样安装
使用这个方式安装需要下载的文件比较小,反正我就下了100兆
manjaro应用商店需要按照的大小更大,我就没有使用,主要就是需要更新才能用,需要更新几个g,看到就想逃离
下面显示了两个一样的,因为我已经deb的方式安装了