Close Menu
  • Home
  • World News
  • Latest News
  • Politics
  • Sports
  • Opinions
  • Tech News
  • World Economy
  • More
    • Entertainment News
    • Gadgets & Tech
    • Hollywood
    • Technology
    • Travel
    • Trending News
Trending
  • Circumventing SWIFT & Neocon Coup Of American International Coverage
  • DOJ Sues Extra States Over In-State Tuition for Unlawful Aliens
  • Tyrese Gibson Hails Dwayne Johnson’s Venice Standing Ovation
  • Iran says US missile calls for block path to nuclear talks
  • The Bilbao Impact | Documentary
  • The ‘2024 NFL Week 1 beginning quarterbacks’ quiz
  • San Bernardino arrest ‘reveals a disturbing abuse of authority’
  • Clear Your Canine’s Ears and Clip Your Cat’s Nails—Consultants Weigh In (2025)
PokoNews
  • Home
  • World News
  • Latest News
  • Politics
  • Sports
  • Opinions
  • Tech News
  • World Economy
  • More
    • Entertainment News
    • Gadgets & Tech
    • Hollywood
    • Technology
    • Travel
    • Trending News
PokoNews
Home»Technology»Find out how to set up and use Microsoft’s PowerShell on Linux (and why you need to)
Technology

Find out how to set up and use Microsoft’s PowerShell on Linux (and why you need to)

DaneBy DaneDecember 26, 2024No Comments3 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Find out how to set up and use Microsoft’s PowerShell on Linux (and why you need to)
Share
Facebook Twitter LinkedIn Pinterest Email


Microsoft/Ubuntu/ZDNET

PowerShell is a process automation and configuration administration instrument, designed and launched by Microsoft, that consists of a command-line shell and a strong scripting language. Lots of intermediate and superior Home windows customers rely upon this utility for a lot of totally different causes and are most likely involved about what they’re going to do when assist for Home windows 10 ends subsequent yr.

Additionally: One of the best Linux distribution of 2024 is MacOS-like however accessible to all

For these whose computer systems will not assist Home windows 11, there’s excellent news: Linux!

And for individuals who rely upon PowerShell, there’s even higher information:

You’ll be able to set up PowerShell on Linux. Let me present you ways.

Find out how to set up PowerShell on Ubuntu-based distributions

What you will want: To make this work, you will want a working occasion of a Ubuntu-based distribution and a person with sudo privileges. That is it. Let’s make some magic.

The very first thing to do is log into your Linux desktop and open the terminal utility.


Present extra

There are a couple of dependencies that should first be put in, which will be carried out with a single command:

sudo apt-get set up -y wget apt-transport-https software-properties-common -y


Present extra

Subsequent, we have to obtain the correct keys so the MS repository can be utilized. That is carried out with the next three instructions:

supply /and so forth/os-release
wget -q https://packages.microsoft.com/config/ubuntu/$VERSION_ID/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb

The primary command above copies the discharge model of your distribution into reminiscence, the second downloads the proper key in your model, and the third command installs the important thing.


Present extra

Additionally: Why I now not suggest this Home windows-like Linux distro

Replace apt with the command:

sudo apt-get replace

Lastly, set up PowerShell with:

sudo apt-get set up powershell -y


Present extra

Find out how to set up PowerShell on Fedora-based distributions

When utilizing a Fedora-based distribution, the set up course of seems to be like this.

1. Import the required safety key

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

First, you will have to import the mandatory safety key with the command:

2. Obtain and add the repository

You’ll be able to then obtain and add the required MS repository with a single command:

curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /and so forth/yum.repos.d/microsoft.repo

3. Set up PowerShell

PowerShell can now be put in with the next two instructions:

sudo dnf makecache
sudo dnf set up powershell -y

Find out how to set up PowerShell on Arch-based distributions

Lastly, we’ll set up Powershell on Arch-based Linux distributions. Surprisingly, that is the best set up as a result of PowerShell will be put in from AUR (Arch Consumer Repository) with two easy instructions:

pacman -Syy
pacman -Ss powershell-bin

Find out how to begin PowerShell

Now that you’ve got PowerShell put in, you can begin it with the command:

It’s best to now end up on the acquainted PowerShell immediate, the place you can begin utilizing this highly effective instrument as you probably did in Home windows 10.

Additionally: The three most Home windows-like Linux distros you’ll be able to strive as a result of change is tough



Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous Article‘Child Driver’ & ‘Discovered’ Actor Was 16
Next Article Steelers’ stoop ought to make workforce think about beginning Justin Fields
Dane
  • Website

Related Posts

Technology

Clear Your Canine’s Ears and Clip Your Cat’s Nails—Consultants Weigh In (2025)

September 3, 2025
Technology

The ‘Ultimate Fantasy Techniques’ Refresh Provides Its Class-Conflict Story New Relevance

September 2, 2025
Technology

Hungry Worms Might Assist Resolve Plastic Air pollution

September 2, 2025
Add A Comment
Leave A Reply Cancel Reply

Editors Picks
Categories
  • Entertainment News
  • Gadgets & Tech
  • Hollywood
  • Latest News
  • Opinions
  • Politics
  • Sports
  • Tech News
  • Technology
  • Travel
  • Trending News
  • World Economy
  • World News
Our Picks

Market Discuss – July 16, 2024

July 17, 2024

Exploring the Impression of Rising Property Costs in Dubai on Journey: A Detailed Evaluation of Traits

December 9, 2024

Commentary: Why Samyang Buldak instantaneous noodles is an US$8 billion tariff-proof model

July 12, 2025
Most Popular

Circumventing SWIFT & Neocon Coup Of American International Coverage

September 3, 2025

At Meta, Millions of Underage Users Were an ‘Open Secret,’ States Say

November 26, 2023

Elon Musk Says All Money Raised On X From Israel-Gaza News Will Go to Hospitals in Israel and Gaza

November 26, 2023
Categories
  • Entertainment News
  • Gadgets & Tech
  • Hollywood
  • Latest News
  • Opinions
  • Politics
  • Sports
  • Tech News
  • Technology
  • Travel
  • Trending News
  • World Economy
  • World News
  • Privacy Policy
  • Disclaimer
  • Terms of Service
  • About us
  • Contact us
  • Sponsored Post
Copyright © 2023 Pokonews.com All Rights Reserved.

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.