当前位置:网站首页>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
边栏推荐
- 栈的弹出压入序列<难度系数>
- On the influence of small program on the digitalization of media industry
- Sword finger offer | linked list transpose
- Differences between task parameter types inout and ref
- 异常
- Regular verification of mobile phone number and email [easy to understand]
- Au revoir! Navigateur ie, cette route Edge continue pour IE
- Matplotlib属性及注解
- 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
- Machine virtuelle 14 installer win7 (tutoriel)
猜你喜欢
The digital human industry is about to break out. What is the market pattern?
缓存之王Caffeine Cache,性能比Guava更强
HDI blind hole design, have you noticed this detail?
[ybtoj advanced training guide] maximum separation [hash] [Floyd]
Machine virtuelle 14 installer win7 (tutoriel)
Static page of pinyougou mall
PMP考试重点总结五——执行过程组
Linux下安装redis 、Windows下安装redis(超详细图文教程)
数字人行业爆发在即,市场格局几何?
Ingersoll Rand panel maintenance IR Ingersoll Rand microcomputer controller maintenance xe-145m
随机推荐
Dbeaver connects to kingbasees V8 (ultra detailed graphic tutorial)
Differences between task parameter types inout and ref
Caffeine cache, the king of cache, has stronger performance than guava
Matplotlib attribute and annotation
小米旗下支付公司被罚 12 万,涉违规开立支付账户等:雷军为法定代表人,产品包括 MIUI 钱包 App
MySQL的开发环境和测试环境有什么区别??
标识符的命名规则和规范
JSON数据与List集合之间的正确转换
Wechat applet development log
PHP curl forged IP address and header information code instance - Alibaba cloud
[ybtoj advanced training guidance] class roll call [string hash]
为什么 Istio 要使用 SPIRE 做身份认证?
组合模式(Composite Pattern)
【OpenCV 例程200篇】213. 绘制圆形
谁知道在中信建投证券开户是不是安全的
全链路业务追踪落地实践方案
六月集训(第28天) —— 动态规划
Key summary V of PMP examination - execution process group
Huawei OSPF single region
浅谈小程序对传媒行业数字化的影响