netcore安裝與卸載


按照官網的指示安裝netcore3.0,但是運行時提示需要netcore2.2,為保持干凈,嘗試卸載netcore3.0。

yum remove netcore

失敗,原因是沒有提供正確的包名。使用rpm查詢:

rpm -qa | grep netcore # q表示查詢,a表示所有

查找失敗。后經排查,我安裝的是dotnet-runtime-3.0的運行時:

    官網上的文檔:“The previous command will install the .NET Core Runtime Bundle, which includes the .NET Core runtime and the ASP.NET Core runtime. To install just the .NET Core runtime, use the dotnet-runtime-3.0 package.”

按dotnet查找:

rpm -qa | grep dotnet

可以找到對應的運行時,然后通過rpm erase將包及依賴一一刪除。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM