当前位置:网站首页>Install using snap in opencloudos NET 6
Install using snap in opencloudos NET 6
2022-06-28 09:55:00 【Dotnet cross platform】
Open source operating system community OpenCloudOS Initiated by Tencent and its partners , Is completely neutral 、 Comprehensive opening up 、 Safe and stable 、 High performance operating system and ecosystem .OpenCloudOS It has precipitated the advantages of many manufacturers in software and open source ecology , It inherits Tencent's advantages in operating system and kernel 10 Years of technology accumulation , In cloud native 、 stability 、 performance 、 Hardware support and other aspects have solid support , It can support all hardware platforms equally and comprehensively .
OpenCloudOS 8.5 yes OpenCloudOS The community releases the first official version , Its basic library and user state components are completely similar to CentOS 8 compatible , And through kernel level optimization and enhancement , Can be provided to users compared to CentOS 8 Better solution .
adopt .NET Documents stay Linux Install... On the distribution .NET[1], There are several installation methods , Let's try it first CentOS/RedHat Upper rpm and dnf Two ways to install , All failed :
[[email protected] ~]# dnf install dotnet-sdk-6.0
Last metadata expiration check: 1:09:49 ago on Thu 23 Jun 2022 06:49:52 AM CST.
No match for argument: dotnet-sdk-6.0
Error: Unable to find a match: dotnet-sdk-6.0
[[email protected] ~]# yum install dotnet-sdk-6.0
Last metadata expiration check: 1:12:09 ago on Thu 23 Jun 2022 06:49:52 AM CST.
No match for argument: dotnet-sdk-6.0
Error: Unable to find a match: dotnet-sdk-6.0
Snap Is a bundle of applications and their dependencies , It can be used in many different Linux Normal operation in the distribution .Snap Apply to CentOS 7.6+ and Red Hat Enterprise Linux 7.6+, It can be downloaded from Extra Packages for Enterprise Linux(EPEL) Repository installation , Reference documents :https://snapcraft.io/install/snapd/centos[2].
You can use the following command to EPEL Repository added to CentOS 8 System :
sudo dnf install epel-release
sudo dnf upgrade
take EPEL Add a repository to your CentOS After installation , Just install the captured package :
sudo yum install snapd
After installation , You need to enable the... For managing the primary snapshot communication socket systemd unit :
sudo systemctl enable --now snapd.socket
To enable classic snapshot support , Please enter the following in /var/lib/snapd/snap Create symbolic links between and /snap:
sudo ln -s /var/lib/snapd/snap /snap
Log out and log in again ,
Or restart the system to ensure that the snapshot path is updated correctly .
Then follow the documentation : adopt Snap install .NET SDK or .NET Runtime [3] Conduct .NET 6 Installation :
snap install dotnet-sdk –classic
So let's verify that :
[[email protected] ~]# dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.301
Commit: 43f9b18481
Runtime Environment:
OS Name: opencloudos
OS Version: 8.5
OS Platform: Linux
RID: linux-x64
Base Path: /var/lib/snapd/snap/dotnet-sdk/172/sdk/6.0.301/
Host (useful for support):
Version: 6.0.6
Commit: 7cca709db2
.NET SDKs installed:
6.0.301 [/var/lib/snapd/snap/dotnet-sdk/172/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.6 [/var/lib/snapd/snap/dotnet-sdk/172/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.6 [/var/lib/snapd/snap/dotnet-sdk/172/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
Related links :
[1] stay Linux Install... On the distribution .NET:https://docs.microsoft.com/zh-cn/dotnet/core/install/linux
[2] stay CentOS Enable on Snap Installation package :https://snapcraft.io/install/snapd/centos
[3] adopt Snap install .NET SDK or .NET Runtime: https://docs.microsoft.com/zh-cn/dotnet/core/install/linux-snap
边栏推荐
- Global exception handlers and unified return results
- PyGame game: "Changsha version" millionaire started, dare you ask? (multiple game source codes attached)
- Django数据库操作以及问题解决
- Sword finger offer | linked list transpose
- Static page of pinyougou mall
- [happy Lantern Festival] guessing lantern riddles eating lantern festival full of vitality ~ (with lantern riddle guessing games)
- 如图 用sql行转列 图一原表,图二希望转换后
- QT signal and slot communication mechanism (when multiple windows communicate back and forth [parent and child windows])
- Matplotlib属性及注解
- abnormal
猜你喜欢

Linux下安装redis 、Windows下安装redis(超详细图文教程)

PMP Exam key summary VI - chart arrangement

解决表单action属性传参时值为null的问题

A classic JVM class loaded interview question class singleton{static singleton instance = new singleton(); private singleton() {}

通过PyTorch构建的LeNet-5网络对手写数字进行训练和识别

Machine virtuelle 14 installer win7 (tutoriel)

代理模式(Proxy)

Bron filter Course Research Report

PMP考试重点总结六——图表整理

Virtual machine 14 installing win7 (Figure tutorial)
随机推荐
PMP考试重点总结五——执行过程组
PMP考试重点总结七——监控过程组(1)
Redis sentinel cluster main database failure data recovery ideas # yyds dry goods inventory #
Machine virtuelle 14 installer win7 (tutoriel)
虚拟机14安装win7(图教程)
异常处理4种方法
虛擬機14安裝win7(圖教程)
Bridge mode
PHP curl forged IP address and header information code instance - Alibaba cloud
用 Compose 实现个空调,为你的夏日带去清凉
English translation plug-in installation of idea
PMP Exam key summary VI - chart arrangement
Unity loads AssetBundle resources from the server and writes them to local memory, and loads the downloaded and saved AB resources from local memory to the scene
适配器模式(Adapter)
Au revoir! Navigateur ie, cette route Edge continue pour IE
读取pdf图片并识别内容
Unity AssetBundle asset packaging and asset loading
Data visualization makes correlation analysis easier to use
Ingersoll Rand panel maintenance IR Ingersoll Rand microcomputer controller maintenance xe-145m
Multithreading concurrent parallel threaded process