web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Re: Pac linux

(0) ShareShare
ReportReport
Posted on by

Hi @DavidJen 

We want to configure a Jenkins CICD for our power platform. Jenkins is installed on Linux Server (Ubunto 22.04).
We referred this article for installing the power platform cli - (https://powerusers.microsoft.com/t5/Power-Apps-Pro-Dev-ISV/Pac-linux/m-p/1744332#M6738)
We tried this approach for macOS and Windows it worked.
However we have run into issue for Linux.
we run the commands as below
chmod +x pac
./pac
and then we get following error

A fatal error occurred. The required library libhostfxr.so could not be found.
If this is a self-contained application, that library should exist in [/home/[username]/TEMP/].
If this is a framework-dependent application, install the runtime in the global location [/usr/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet].
The .NET runtime can be found at:

Following are the steps we did on linux server.

  1. installed the .Net 6.0
  2. installed vscode
  3. installed the Power Platform Tools extension
  4. extracted the nupkg file
  5. Tried to run with chmod +x pac
  6. We get error message as shown above.

Please help us resolve this issue as its critical for us have this installation done for Jenkins to run pac commands.

Thanks.

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard