cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sunilstbs
New Member

Re: Pac linux

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.

0 REPLIES 0

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (1,637)