zoukankan      html  css  js  c++  java
  • .NET Core Install for Ubuntu 14.04

    1.  

      Add the dotnet apt-get feed

      In order to install .NET Core on Ubuntu or Linux Mint, you need to first set up the apt-get feed that hosts the package you need.

      Ubuntu 14.04 / Linux Mint 17

      1. sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
      2. sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
      3. sudo apt-get update

      Ubuntu 16.04

      1. sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
      2. sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
      3. sudo apt-get update
    2. 2

      Install .NET Core SDK

      Before you start, please remove any previous versions of .NET Core from your system by using this script.

      To .NET Core on Ubuntu or Linux Mint, simply use apt-get.

      1. sudo apt-get install dotnet-dev-1.0.0-preview2-003131
    3. 3

      Initialize some code

      Let's initialize a sample Hello World application!

      1. mkdir hwapp
      2. cd hwapp
      3. dotnet new
    4. 4

      Run the app

      The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:

      ps:https://www.microsoft.com/net/core#ubuntu

  • 相关阅读:
    des和Rijndael加密
    信息熵
    逻辑回归简单多变不易把握、特征离散化原因、最大熵模型
    特征选择
    数据清洗
    海塞矩阵、黄金分割、牛顿法、下降迭代法
    BP算法推导python实现
    分布函数,概率,离散,连续
    损失函数coding
    leetcode中二分查找的具体应用
  • 原文地址:https://www.cnblogs.com/ganmk--jy/p/5925517.html
Copyright © 2011-2022 走看看