PowerShell, the Windows shell language, is now available on Linux as an Ubuntu Snap! Believe it!
Oh, how things change!
Windows and Linux used to mix well as oil and water. In recent years, Microsoft has embraced Linux. That's especially true for servers and clouds. Now, believe it or not, you can install and run PowerShell, the Windows shell language, on Linux as an Ubuntu snap.
Snaps are containerized software packages. They're designed to install the programs within them on all major Linux systems without modification. Snaps do this by developers bundling a program's latest libraries in the containerized app. So, for example, using snap, you could install PowerShell Core on Fedora or openSUSE as well as Canonical's Ubuntu.
PowerShell Core is built on the .NET Framework. It's a task-based command-line shell and scripting language, Microsoft hopes it will become the ubiquitous language for managing the hybrid cloud. It's customized for system administrators and power-users to rapidly automate the administration of multiple operating systems and the processes related to the applications that run on those operating systems.
Interestingly, this puts into competition with Bash, the most popular Linux shell language, which is also now being used for cloud management. Microsoft has put Linux within Windows with Windows Subsystem for Linux. In practice, PowerShell still works best for Windows Server, while Bash is the No. 1 shell for Linux servers.
Besides using snap, Microsoft PowerShell project manager Joey Aiello said Microsoft will also support rpm and deb and "continue to support our 'traditional' standalone Linux packages that ship on https://packages.microsoft.com/."
That said, snap PowerShell, because it updates automatically and carries all its library dependencies, is a better choice for sysadmins who want ease of deployment and to stay on top of the latest developments.
Microsoft has also published PowerShell Preview for anyone brave enough to run the bleeding edge version. PowerShell Preview is published as a separate snap so you can run the stable and preview releases side by side.
Want to try it? Install the snap service on one of the supported Linux distributions, which includes Arch, Debian, and Linux Mint. Then run the following command from your Linux shell:
$ snap install PowerShell -classic
And, if you want to live on the wild side of system administration, you can install the preview with the command:
$ snap install PowerShell-preview -classic
Let me know how it works for you.
Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks
ReplyDeleteApple mac ipad
it will be very helpful to me and i actually learned to use it properly. Thanks for sharing
ReplyDeleteAccident Attorney Fort Lauderdale
Nice and Wonderful and useful Blog Post.
ReplyDeleteprofessional web design services
great information for which I was searching a lot.
ReplyDeleteTaxi service melbourne
Thanks MatthewY for this informative article, about writing better tweets for our Twitter marketing goals . Keep it up!
ReplyDeleteThis post is very helpful and and informative. I am really happy.
ReplyDeleteBuy property online india
Very nice this blog . this blog is very informative.such a great blogging website.
ReplyDelete"woman wine expert in usa
"