Skip to content

Update install dependency for Ubuntu 22.04 for 'Desktop support for Flutter': Linux "additional requirements" section #8016

@maks

Description

@maks

Page URL

https://docs.flutter.dev/development/platform-integration/desktop#additional-linux-requirements

Page source

https://github.com/flutter/website/tree/main/src/development/platform-integration/desktop.md#additional-linux-requirements

Describe the problem

Currently the section has this text:

Run the following command

sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev

This is now missing libstdc++-12-dev as was covered in flutter/flutter#115909 (comment)

I tested this on Ubuntu 22.04.1 which the current LTS release and got the same error is in this comment when trying to run a app created with flutter create test_linux installing libstdc++-12-dev with apt, running flutter clean again and then running allowed the counter app to run as expected.

Expected fix

Change line to read:

sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev

Additional context

No response

Metadata

Metadata

Assignees

Labels

cl.fixedIssue is closed as fixeddevos.LinuxRelates to developing apps on the Linux platforme1-hoursEffort: < 8 hrsfrom.page-issueReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions