ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

centos7安装.net5.0(core)

2021-01-18 17:02:04  阅读:1262  来源: 互联网

标签:5.0 core 00 x86 net5.0 centos7 64 11 dotnet


[root@vmcentos7 ~]# rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
Retrieving https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
Preparing... ################################# [100%]
Updating / installing...
1:packages-microsoft-prod-1.0-1 ################################# [100%]
[root@vmcentos7 ~]# yum install dotnet-sdk-5.0
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
packages-microsoft-com-prod | 3.0 kB 00:00:00
packages-microsoft-com-prod/primary_db | 289 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package dotnet-sdk-5.0.x86_64 0:5.0.102-1 will be installed
--> Processing Dependency: netstandard-targeting-pack-2.1 >= 2.1.0 for package: dotnet-sdk-5.0-5.0.102-1.x86_64
--> Processing Dependency: dotnet-runtime-5.0 for package: dotnet-sdk-5.0-5.0.102-1.x86_64
--> Processing Dependency: dotnet-targeting-pack-5.0 for package: dotnet-sdk-5.0-5.0.102-1.x86_64
--> Processing Dependency: dotnet-apphost-pack-5.0 for package: dotnet-sdk-5.0-5.0.102-1.x86_64
--> Processing Dependency: aspnetcore-runtime-5.0 for package: dotnet-sdk-5.0-5.0.102-1.x86_64
--> Processing Dependency: aspnetcore-targeting-pack-5.0 for package: dotnet-sdk-5.0-5.0.102-1.x86_64
--> Running transaction check
---> Package aspnetcore-runtime-5.0.x86_64 0:5.0.2-1 will be installed
---> Package aspnetcore-targeting-pack-5.0.x86_64 0:5.0.0-1 will be installed
---> Package dotnet-apphost-pack-5.0.x86_64 0:5.0.2-1 will be installed
---> Package dotnet-runtime-5.0.x86_64 0:5.0.2-1 will be installed
--> Processing Dependency: dotnet-hostfxr-5.0 >= 5.0.2 for package: dotnet-runtime-5.0-5.0.2-1.x86_64
--> Processing Dependency: dotnet-runtime-deps-5.0 >= 5.0.2 for package: dotnet-runtime-5.0-5.0.2-1.x86_64
---> Package dotnet-targeting-pack-5.0.x86_64 0:5.0.0-1 will be installed
---> Package netstandard-targeting-pack-2.1.x86_64 0:2.1.0-1 will be installed
--> Running transaction check
---> Package dotnet-hostfxr-5.0.x86_64 0:5.0.2-1 will be installed
--> Processing Dependency: dotnet-host >= 5.0.2 for package: dotnet-hostfxr-5.0-5.0.2-1.x86_64
---> Package dotnet-runtime-deps-5.0.x86_64 0:5.0.2-1 will be installed
--> Processing Dependency: libicu for package: dotnet-runtime-deps-5.0-5.0.2-1.x86_64
--> Running transaction check
---> Package dotnet-host.x86_64 0:5.0.2-1 will be installed
---> Package libicu.x86_64 0:50.2-4.el7_7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
dotnet-sdk-5.0 x86_64 5.0.102-1 packages-microsoft-com-prod 80 M
Installing for dependencies:
aspnetcore-runtime-5.0 x86_64 5.0.2-1 packages-microsoft-com-prod 8.0 M
aspnetcore-targeting-pack-5.0 x86_64 5.0.0-1 packages-microsoft-com-prod 2.1 M
dotnet-apphost-pack-5.0 x86_64 5.0.2-1 packages-microsoft-com-prod 4.6 M
dotnet-host x86_64 5.0.2-1 packages-microsoft-com-prod 64 k
dotnet-hostfxr-5.0 x86_64 5.0.2-1 packages-microsoft-com-prod 170 k
dotnet-runtime-5.0 x86_64 5.0.2-1 packages-microsoft-com-prod 29 M
dotnet-runtime-deps-5.0 x86_64 5.0.2-1 packages-microsoft-com-prod 2.8 k
dotnet-targeting-pack-5.0 x86_64 5.0.0-1 packages-microsoft-com-prod 3.1 M
libicu x86_64 50.2-4.el7_7 base 6.9 M
netstandard-targeting-pack-2.1 x86_64 2.1.0-1 packages-microsoft-com-prod 2.1 M

Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package (+10 Dependent packages)

Total download size: 136 M
Installed size: 393 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/packages-microsoft-com-prod/packages/aspnetcore-targeting-pack-5.0.0.rpm: Header V4 RSA/SHA256 Signature, key ID be1229cf: NOKEY ] 0.0 B/s | 0 B --:--:-- ETA
Public key for aspnetcore-targeting-pack-5.0.0.rpm is not installed
(1/11): aspnetcore-targeting-pack-5.0.0.rpm | 2.1 MB 00:00:00
(2/11): aspnetcore-runtime-5.0.2-x64.rpm | 8.0 MB 00:00:00
(3/11): dotnet-host-5.0.2-x64.rpm | 64 kB 00:00:00
(4/11): dotnet-hostfxr-5.0.2-x64.rpm | 170 kB 00:00:00
(5/11): dotnet-apphost-pack-5.0.2-x64.rpm | 4.6 MB 00:00:00
(6/11): dotnet-runtime-deps-5.0.2-centos.7-x64.rpm | 2.8 kB 00:00:00
(7/11): dotnet-runtime-5.0.2-x64.rpm | 29 MB 00:00:05
(8/11): libicu-50.2-4.el7_7.x86_64.rpm | 6.9 MB 00:00:00
(9/11): dotnet-targeting-pack-5.0.0-x64.rpm | 3.1 MB 00:00:00
(10/11): netstandard-targeting-pack-2.1.0-x64.rpm | 2.1 MB 00:00:00
(11/11): dotnet-sdk-5.0.102-x64.rpm | 80 MB 00:00:10
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 11 MB/s | 136 MB 00:00:11
Retrieving key from https://packages.microsoft.com/keys/microsoft.asc
Importing GPG key 0xBE1229CF:
Userid : "Microsoft (Release signing) <gpgsecurity@microsoft.com>"
Fingerprint: bc52 8686 b50d 79e3 39d3 721c eb3e 94ad be12 29cf
From : https://packages.microsoft.com/keys/microsoft.asc
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : dotnet-targeting-pack-5.0-5.0.0-1.x86_64 1/11
Installing : aspnetcore-targeting-pack-5.0-5.0.0-1.x86_64 2/11
Installing : dotnet-host-5.0.2-1.x86_64 3/11
Installing : dotnet-hostfxr-5.0-5.0.2-1.x86_64 4/11
Installing : libicu-50.2-4.el7_7.x86_64 5/11
Installing : dotnet-runtime-deps-5.0-5.0.2-1.x86_64 6/11
Installing : dotnet-runtime-5.0-5.0.2-1.x86_64 7/11
Installing : aspnetcore-runtime-5.0-5.0.2-1.x86_64 8/11
Installing : dotnet-apphost-pack-5.0-5.0.2-1.x86_64 9/11
Installing : netstandard-targeting-pack-2.1-2.1.0-1.x86_64 10/11
Installing : dotnet-sdk-5.0-5.0.102-1.x86_64 11/11
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET!
---------------------
Learn more about .NET: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs

Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

Configuring...
--------------
A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once.
Verifying : dotnet-runtime-deps-5.0-5.0.2-1.x86_64 1/11
Verifying : dotnet-hostfxr-5.0-5.0.2-1.x86_64 2/11
Verifying : aspnetcore-targeting-pack-5.0-5.0.0-1.x86_64 3/11
Verifying : netstandard-targeting-pack-2.1-2.1.0-1.x86_64 4/11
Verifying : dotnet-targeting-pack-5.0-5.0.0-1.x86_64 5/11
Verifying : aspnetcore-runtime-5.0-5.0.2-1.x86_64 6/11
Verifying : dotnet-apphost-pack-5.0-5.0.2-1.x86_64 7/11
Verifying : libicu-50.2-4.el7_7.x86_64 8/11
Verifying : dotnet-host-5.0.2-1.x86_64 9/11
Verifying : dotnet-runtime-5.0-5.0.2-1.x86_64 10/11
Verifying : dotnet-sdk-5.0-5.0.102-1.x86_64 11/11

Installed:
dotnet-sdk-5.0.x86_64 0:5.0.102-1

Dependency Installed:
aspnetcore-runtime-5.0.x86_64 0:5.0.2-1 aspnetcore-targeting-pack-5.0.x86_64 0:5.0.0-1 dotnet-apphost-pack-5.0.x86_64 0:5.0.2-1 dotnet-host.x86_64 0:5.0.2-1 dotnet-hostfxr-5.0.x86_64 0:5.0.2-1
dotnet-runtime-5.0.x86_64 0:5.0.2-1 dotnet-runtime-deps-5.0.x86_64 0:5.0.2-1 dotnet-targeting-pack-5.0.x86_64 0:5.0.0-1 libicu.x86_64 0:50.2-4.el7_7 netstandard-targeting-pack-2.1.x86_64 0:2.1.0-1

Complete!

 

标签:5.0,core,00,x86,net5.0,centos7,64,11,dotnet
来源: https://www.cnblogs.com/xwhgr/p/14293597.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有