Flatpak 初尝试 - 安装 HandBrake 成功
Tofloor
poster avatar
188******56
deepin
2019-09-16 16:23
Author
本帖最后由 wffger 于 2019-9-16 08:35 编辑

deepin已经自带flatpak,所以直接按照官网指引执行命令:
  1. flatpak --user install https://flathub.org/repo/appstream/fr.handbrake.ghb.flatpakref
Copy the Code
过程中提示是否保持远程仓库为未来安装源,我最初选择否,结果安装失败。重试一次,选择是,就可以下载缺失的运行时了。
完整过程如下:

  1. ydx@ydx-PC:$ flatpak run HandBrake
  2. error: Invalid id HandBrake: Names must contain at least 2 periods
  3. ydx@ydx-PC:$ flatpak run HandBrake-1.2.2
  4. error: Invalid id HandBrake-1.2.2: Only last name segment can contain -
  5. ydx@ydx-PC:$ flatpak --user install https://flathub.org/repo/appstream/fr.handbrake.ghb.flatpakref

  6. The remote 'flathub', at location https://dl.flathub.org/repo contains additional applications.
  7. Should the remote be kept for future installations? [y/n]: The remote 'flathub', at location https://dl.flathub.org/repo contains additional applications.
  8. Should the remote be kept for future installations? [y/n]: n
  9. Installing: fr.handbrake.ghb/x86_64/stable
  10. Required runtime for fr.handbrake.ghb/x86_64/stable (org.freedesktop.Platform/x86_64/1.6) is not installed, searching...
  11. The required runtime org.freedesktop.Platform/x86_64/1.6 was not found in a configured remote.
  12. error: The Application fr.handbrake.ghb/x86_64/stable requires the runtime org.freedesktop.Platform/x86_64/1.6 which is not installed
  13. ydx@ydx-PC:$ flatpak --user install https://flathub.org/repo/appstream/fr.handbrake.ghb.flatpakref

  14. The remote 'flathub', at location https://dl.flathub.org/repo contains additional applications.
  15. Should the remote be kept for future installations? [y/n]: The remote 'flathub', at location https://dl.flathub.org/repo contains additional applications.
  16. Should the remote be kept for future installations? [y/n]: y
  17. Installing: fr.handbrake.ghb/x86_64/stable
  18. Required runtime for fr.handbrake.ghb/x86_64/stable (org.freedesktop.Platform/x86_64/1.6) is not installed, searching...
  19. Found in remote flathub, do you want to install it? [y/n]: y
  20. Installing for user: org.freedesktop.Platform/x86_64/1.6 from flathub
  21. [####################] 8 delta parts, 67 loose fetched; 181754 KiB transferred in
  22. Installing for user: org.freedesktop.Platform.GL.nvidia-390-67/x86_64/1.4 from flathub
  23. [####################] Downloading: 47.5 MB/47.5 MB (2.2 MB/s)                 
  24. Installing for user: org.freedesktop.Platform.VAAPI.Intel/x86_64/1.6 from flathub
  25. [####################] 1 delta parts, 2 loose fetched; 2621 KiB transferred in 4
  26. Installing for user: org.freedesktop.Platform.ffmpeg/x86_64/1.6 from flathub
  27. [####################] 1 delta parts, 2 loose fetched; 2649 KiB transferred in 4
  28. Installing for user: org.freedesktop.Platform.Locale/x86_64/1.6 from flathub
    Installing for user: fr.handbrake.ghb/x86_64/stable from flathub
  29. [####################] 1 delta parts, 5 loose fetched; 34629 KiB transferred in 1
  30. Installing for user: fr.handbrake.ghb.Locale/x86_64/stable from flathub
    ydx@ydx-PC:$
Copy the Code

安装完毕可以在启动器找到软件快捷入口。


Reply Favorite View the author
All Replies
avatar
130******27
deepin
2019-09-16 17:04
#1
安装比较简单,只是源服务器在国外,下载速度非常慢,慢的让人抓狂
Reply View the author
avatar
funtoo
deepin
2019-09-16 18:25
#2
Clear Linux是全局flatpak,软件包下载速度非常慢
Reply View the author