Is there a "console/offline/silent/unattend" mode to install essentials bottles components?

Dear All,

I’m trying to perform a Bottles a complete silent install process on an AlmaLinux distribution using flatpak.
Even if the flatpak and com.usebottles.bottles installs were easy to be done, I’m failing trying to create a new bottle using the “bottle-cli” command :

flatpak --system run --command=bottles-cli com.usebottles.bottles new --bottle-name win64 --arch win64 --environment application


Missing essential components. Installing…
No managed runners found.
No dxvk found.
No vkd3d found.
No nvapi found.
No latencyflex found.
Fail to install components, tried 3 times.

So, I can’t create any bottle from command line through this way.

After searching for possible “command line” solution on the net without findings,
I then launches the GUI bottle interface which downloaded missing package in background :

sudo -i flatpak --system run com.usebottles.bottles

and after clicking on continue button in the GUI, I got the following results in the terminal :

(process:2): Gtk-WARNING **: 15:32:25.639: Locale not supported by C library.
        Using the fallback 'C' locale.
15:32:28 (INFO) Bottles Started! 
15:32:29 (INFO) Performing Bottles checks… 
15:32:29 (INFO) Runners found:
         - sys-wine-8.0.2
15:32:29 (INFO) Catalog dependencies loaded 
15:32:29 (INFO) Catalog installers loaded 
15:32:29 (INFO) Catalog components loaded 

(bottles:2): Gtk-WARNING **: 15:32:30.837: AdwViewSwitcher 0x560b1e8d0aa0 (viewswitcher) reported min height -6, but sizes must be >= 0
15:32:31 (WARNING) Library file not found, creating new one 
15:32:31 (INFO) Library saved 

15:33:01 (INFO) Performing Bottles checks… 
15:33:01 (WARNING) No dxvk found. 

15:33:02 (INFO) Installing component: [dxvk-2.3]. 
dxvk-2.3.tar.gz (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (7.8MiB/7.8MiB - 2.8MiB)

15:33:06 (INFO) Renaming [dxvk-2.3.tar.gz] to [dxvk-2.3.tar.gz]. 
15:33:06 (INFO) Dxvks found:
         - dxvk-2.3
15:33:06 (INFO) Component installed: dxvk dxvk-2.3 
15:33:06 (WARNING) No vkd3d found. 
15:33:07 (INFO) Installing component: [vkd3d-proton-2.11.1]. 
vkd3d-proton-2.11.1.tar.gz (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (2.4MiB/2.4MiB - 1.4MiB)

15:33:09 (INFO) Renaming [vkd3d-proton-2.11.1.tar.gz] to [vkd3d-proton-2.11.1.tar.gz]. 
15:33:09 (INFO) Vkd3ds found:
         - vkd3d-proton-2.11.1
15:33:09 (INFO) Component installed: vkd3d vkd3d-proton-2.11.1 
15:33:09 (WARNING) No nvapi found. 
15:33:10 (INFO) Installing component: [dxvk-nvapi-v0.6.4]. 
dxvk-nvapi-v0.6.4.tar.gz (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (2.5MiB/2.5MiB - 1.4MiB)

15:33:12 (INFO) Renaming [dxvk-nvapi-v0.6.4.tar.gz] to [dxvk-nvapi-v0.6.4.tar.gz]. 
15:33:12 (INFO) Nvapis found:
         - dxvk-nvapi-v0.6.4
15:33:12 (INFO) Component installed: nvapi dxvk-nvapi-v0.6.4 
15:33:12 (WARNING) No latencyflex found. 
15:33:13 (INFO) Installing component: [latencyflex-v0.1.1]. 
latencyflex-v0.1.1.tar.xz (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (372.0KiB/372.0KiB - 649.9KiB)

15:33:14 (INFO) Renaming [latencyflex-v0.1.1.tar.xz] to [latencyflex-v0.1.1.tar.xz]. 
15:33:14 (INFO) Component installed: latencyflex latencyflex-v0.1.1 
15:33:15 (WARNING) No WineBridge found. 
15:33:15 (INFO) Installing component: [winebridge-1.1.0]. 
WineBridge-eb78a75.tar.xz (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (3.3MiB/3.3MiB - 1.9MiB)

15:33:17 (INFO) Renaming [WineBridge-eb78a75.tar.xz] to [WineBridge-eb78a75.tar.xz]. 
15:33:18 (INFO) Component installed: winebridge winebridge-1.1.0 
15:33:18 (INFO) Runners found:
         - sys-wine-8.0.2
15:33:18 (WARNING) No managed runners found. 
15:33:18 (INFO) Installing component: [soda-8.0-2]. 
soda-8.0-2-x86_64.tar.xz (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (63.3MiB/63.3MiB - 1.0MiB)

15:34:21 (INFO) Renaming [soda-8.0-2-x86_64.tar.xz] to [soda-8.0-2-x86_64.tar.xz]. 
15:34:40 (INFO) Runners found:
         - soda-8.0-2
         - sys-wine-8.0.2
15:34:40 (INFO) Component installed: runner soda-8.0-2

So, my question : Is there a way to silently install Bottle with all required components in order to silently create a bottle ?

Thanks for reading and perhaps suggestions :wink:

You need to run Bottles once when it is connected to internet. It needs to download few components.

I’ve seen the fallback C locale error few times in Bottles GitHub, but it shouldn’t actually be anything breaking. The second GTK is a first.

First I’ll need to know what is a silent install. First time I hear that phrase.

Hi Zaka (if I could use this shortname),

Thanks for your comments and I agree for your 2 first ones.
About your third comment : First I’ll need to know what is a silent install. First time I hear that phrase.
I would mean by “silent”, “console” or “offline” install … (whatever the word) : the possibility to install bottle’s components : dxvk, vkd3d-proton, dxvk-nvapi, latencyflex, winebridge and soda from command line without having to start and manage Bottle GUI interaction to perform basic Botttle required installation to add new Bottle instance through command line :

flatpak --system run --command=‘bottles.cli’ com.usebottles.bottles new --bottle-name win64 --environment application

Hope this request is not too much complex to be understandable,
But I could understand this feature is not yet available in Bottle package, or have not been design in Bottle installation to perform complete Bottle “silent” (command-line) install.


Bottles can be run offline after first online installation.

Bottles does have CLI version, but I don’t see possibility to manage components and runners from it.
CLI - Bottles
Though you can run programs, list bottles, add new programs and few other things.

That’s what I found, but I was expecting more :wink:
Many thanks for your feedback
best regards