- AWS Tools for PowerShell 6
- Ramesh Waghmare
- 180字
- 2021-07-15 17:09:21
Installing PowerShell 6 on Linux
For Linux installation, there are several ways. As indicated previously, you can download the rpm package, or you can do it using the yum install. Here, I am demonstrating on Red Hat 7 using yum, which is quiet easy. Just make sure your Linux server is connected to the internet; if not, download the rpm package and install it. As highlighted earlier, do not forget to review the instruction set for your platform. Sometimes, there are little deviations from version to version, and some known issues are highlighted. So, instead of scratching your head, a quick scan through the instruction set is a real good help.
PowerShell Core for Linux is published on official Microsoft repositories for easy installation. Perform the following instructions as a root user or your user needs to have sudo rights:
# Register the Microsoft RedHat repository
curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo
# Install PowerShell
yum install -y powershell
# Start PowerShell
powershell

After installing, you can use the Linux which command to check the path of the powershell executable.

- Vue 3移動Web開發與性能調優實戰
- 程序員面試筆試寶典(第3版)
- DBA攻堅指南:左手Oracle,右手MySQL
- Flask Blueprints
- SQL Server 2016從入門到精通(視頻教學超值版)
- Java 9 Programming Blueprints
- Visual C
- Jupyter數據科學實戰
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(2)
- Test-Driven Machine Learning
- Mastering Web Application Development with AngularJS
- ScratchJr趣味編程動手玩:讓孩子用編程講故事
- R Data Science Essentials
- 零基礎學C語言(升級版)
- Keil Cx51 V7.0單片機高級語言編程與μVision2應用實踐