[Share Experiences] Use ACE Container to run apps that deepin does not support: VLC example Resolved
Tofloor
poster avatar
神末shenmo
Super Moderator
Spark-App
2023-09-20 14:02
Author

The v20 repository is outdated, and some applications are no longer supported (such as the latest Chrome-based browsers); the v23 repository is still in development, and some dependencies are missing, making it impossible to install.

You can resolve these issues using ACE containers.

ACE (Amber Compatability Environment) is a container app packaging and distributing solution that enable you to run app in bwrap debian 12 container.

NOTICE: Nvidia Graphic card accelerate is currently NOT SUPPORTED


Image.png

This is a screenshot of VLC running in ACE compatibility mode. You can refer to the following guide for installing some software that cannot run on Deepin.

The following guide is applicable to the x86/arm architecture versions of Deepin v20/23.

  1. Install Compatibility Mode

The version in the UOS store is older but stable, with application signature compatibility. For GPU acceleration support, please go to the Spark App Store to get the latest version (available for both Arm and x86).

spk://store/tools/cn.flamescion.bookworm-compatibility-mode/

Image.png

Or get it here

https://cdn.d.store.deepinos.org.cn/amd64-store/tools/cn.flamescion.bookworm-compatibility-mode/

https://cdn.d.store.deepinos.org.cn/aarch64-store/tools/cn.flamescion.bookworm-compatibility-mode/

  1. Enter the Container and Configure the Application

To enter the container, use the bookworm-run command.

Image.png

Then simply run sudo apt install vlc -y to install VLC.

You can directly start VLC on the host OS by executing bookworm-run vlc.

Desktop file will automatically be created.

  1. Uninstalling Container Applications

Since we didn't create a wrapper deb package, the Deepin launcher cannot directly uninstall it. When you want to remove it:

  • Run the following command to uninstall VLC from the container:

sudo bookworm-run apt autoremove vlc -y


NOTICE:

  • If you want to access file in /opt or /usr or /etc and so on system directory, you need to add /host before the path

e.g. /opt/demo.mp4 -> /host/opt/demo.mp4

Reply Favorite View the author
All Replies
yanjuner
Super Moderator
2023-09-20 14:13
#1

Want to see, love to see, post more

Reply View the author
阿尼樱奈奈
Moderator
2023-09-21 09:24
#2

like

Reply View the author
花雨落逝
Moderator
2023-09-22 11:28
#3

So cool!

Reply View the author
花雨落逝
Moderator
2023-09-22 11:31
#4

That is a great way to avoid the dependance issue.

Reply View the author
CS_GomesGaioso
deepin
2023-11-17 12:04
#5

like

Reply View the author