zoukankan      html  css  js  c++  java
  • centos 下安装.net core

    先要安装libunwind,

    libunwind库为基于64位CPU和操作系统的程序提供了基本的堆栈辗转开解功能,32位操作系统不要安装。其中包括用于输出堆栈跟踪的API、用于以编程方式辗转开解堆栈的API以及支持C++异常处理机制的API。

    The primary goal of this project is to define a portable and efficient C programming interface (API) to determine the call-chain of a program.

    yum install libunwind
    

     或者

    wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz
    tar -xf libunwind-1.1.tar.gz
    cd libunwind-1.1
    ./configure
    make
    make install
    

     或者

    cd /usr/local/src/
    wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.0.1.tar.gz
    tar zvxf libunwind-1.0.1.tar.gz
    cd libunwind-1.0.1
    ./configure --enable-shared
    make && make install
    

      

      

    执行命令:

    curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version 1.0.0-preview1-002702 --install-dir ~/dotnet
    sudo ln -s ~/dotnet/dotnet /usr/local/bin
    
    mkdir hwapp
    cd hwapp
    dotnet new
    
    dotnet restore
    dotnet run
    

      输出Hello world!

  • 相关阅读:
    竞赛备考建议
    谷山丰的一生
    从首个IMO季军谈起 作者 : 付云皓
    孔庆东:单刀赴高考
    LaTeX 技巧 802:国内期刊 CCT 模板编译经验
    数学书籍推荐
    翻译
    printf中用法详解
    黎活明给程序员的忠告【转】
    log4j2配置文件log4j2.xml详解(转载)
  • 原文地址:https://www.cnblogs.com/weiweictgu/p/5512020.html
Copyright © 2011-2022 走看看