Kategorie: Linux

PowerShell w Ubuntu 20.04 Installation

The guide describes how to install PowerShell on Ubuntu 20.04
The whole installation is very easy, let's get started.

Installing PowerShell using the SNAP Store

We make SNAP installations:

apt-get install snap snapd -y

Installing PowerShell

snap install powershell --classic

We run PowerShell with a command

pwsh

Below is an example of the result of this command :

PowerShell 7.1.2
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

PS /root> 

we can exit by executing the command

exit

Installing PowerShell from the Ubuntu repository

We download the .deb file

wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb

we install the file

dpkg -i packages-microsoft-prod.deb

We are updating packages and installing:

apt-get update -y
apt-get install powershell -y

PowerShell is started in the same way as in the case of installation with SNAP, i.e. with a command:

pwsh

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu