Can I install linux libraries to Azure Functions which sku is Flex Consumption plan?

Shigeru Nakagaki 20 Reputation points
2025-06-12T02:15:05.03+00:00

Hi.

I tried to deploy function source with .deployment via functions core tool command.

But ahh, it seemed to be ignored.

I think, we can't install linux libraries to flex consumption plan functions, right?

thanks

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,911 questions
0 comments No comments
{count} votes

Accepted answer
  1. Loknathsatyasaivarma Mahali 2,740 Reputation points Microsoft External Staff Moderator
    2025-06-12T02:39:45.18+00:00

    Hello Shigeru Nakagaki,

    Thank you for reaching out. You are correct it is not possible to install Linux system libraries (such as via apt-get) on Azure Functions using the Flex Consumption plan, as it operates in a sandboxed environment without root access.

    User's image

    Azure Functions hosting options.

    Workarounds:

    • Use Premium Plan with a custom container – full control to install libraries.
    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.