From the course: Complete Guide to PowerShell 7
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Install PowerShell 7 on Linux - PowerShell Tutorial
From the course: Complete Guide to PowerShell 7
Install PowerShell 7 on Linux
- [Instructor] So, let's talk about installing PowerShell on Linux. For Ubuntu users, you can install PowerShell by first setting up the necessary prerequisites. You can use the wget command to add the Microsoft package repository, update your package sources, and then just install the PowerShell using the apt-get commands. This approach ensures a smooth installation with the latest available version. So as you can see, we're using install wget, then we're going to call wget, and then just install the package, and then install PowerShell. Depending on your Linux distribution, the installation method will vary. CentOS and RHEL users will use the yum command to do the install. If you're using Fedora, you will use the dnf. And Arch Linux users will install with pacman. Each command installs PowerShell using the system's package manager, ensuring easy updating and compatibility. Once it's installed, PowerShell 7 can be launched by typing the same as before, the pwsh in the terminal. This…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Overview of PowerShell4m 1s
-
Key features of PowerShell 73m 58s
-
(Locked)
PowerShell vs. traditional command-line interfaces3m 17s
-
(Locked)
Install PowerShell 7 on Windows6m 36s
-
(Locked)
Install PowerShell 7 on macOS2m 1s
-
(Locked)
Install PowerShell 7 on Linux1m 54s
-
(Locked)
Understanding the PowerShell console7m 4s
-
-
-
-
-
-
-
-
-
-
-
-
-
-