<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FPowerShell</id>
	<title>Linux/PowerShell - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FPowerShell"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/PowerShell&amp;action=history"/>
	<updated>2026-04-17T01:59:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Linux/PowerShell&amp;diff=8875&amp;oldid=prev</id>
		<title>Kenneth: Created page with &quot;== Install ==  &lt;pre&gt; ################################### # Prerequisites  # Update the list of packages sudo apt-get update  # Install pre-requisite packages. sudo apt-get install -y wget  # Get the version of Debian source /etc/os-release  # Download the Microsoft repository GPG keys wget -q https://packages.microsoft.com/config/debian/$VERSION_ID/packages-microsoft-prod.deb  # Register the Microsoft repository GPG keys sudo dpkg -i packages-microsoft-prod.deb  # Delete...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/PowerShell&amp;diff=8875&amp;oldid=prev"/>
		<updated>2025-07-14T21:56:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Install ==  &amp;lt;pre&amp;gt; ################################### # Prerequisites  # Update the list of packages sudo apt-get update  # Install pre-requisite packages. sudo apt-get install -y wget  # Get the version of Debian source /etc/os-release  # Download the Microsoft repository GPG keys wget -q https://packages.microsoft.com/config/debian/$VERSION_ID/packages-microsoft-prod.deb  # Register the Microsoft repository GPG keys sudo dpkg -i packages-microsoft-prod.deb  # Delete...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Install ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
###################################&lt;br /&gt;
# Prerequisites&lt;br /&gt;
&lt;br /&gt;
# Update the list of packages&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
# Install pre-requisite packages.&lt;br /&gt;
sudo apt-get install -y wget&lt;br /&gt;
&lt;br /&gt;
# Get the version of Debian&lt;br /&gt;
source /etc/os-release&lt;br /&gt;
&lt;br /&gt;
# Download the Microsoft repository GPG keys&lt;br /&gt;
wget -q https://packages.microsoft.com/config/debian/$VERSION_ID/packages-microsoft-prod.deb&lt;br /&gt;
&lt;br /&gt;
# Register the Microsoft repository GPG keys&lt;br /&gt;
sudo dpkg -i packages-microsoft-prod.deb&lt;br /&gt;
&lt;br /&gt;
# Delete the Microsoft repository GPG keys file&lt;br /&gt;
rm packages-microsoft-prod.deb&lt;br /&gt;
&lt;br /&gt;
# Update the list of packages after we added packages.microsoft.com&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
###################################&lt;br /&gt;
# Install PowerShell&lt;br /&gt;
sudo apt-get install -y powershell&lt;br /&gt;
&lt;br /&gt;
# Start PowerShell&lt;br /&gt;
pwsh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Ubuntu just change this line:&lt;br /&gt;
 wget -q https://packages.microsoft.com/config/ubuntu/$VERSION_ID/packages-microsoft-prod.deb&lt;br /&gt;
&lt;br /&gt;
ref: https://learn.microsoft.com/en-us/powershell/scripting/install/install-debian?view=powershell-7.5&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>