In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to compile the source code of dotnet cli on Linux to generate the installation package of .NET Core SDK. The article is very detailed and has certain reference value. Interested friends must finish reading it.
Net open source, there is more DIY fun. This blog post records the generation of the deb installation package for. Net core sdk by compiling the source code of dotnet cli on the newly installed Linux Ubuntu 14.04.
1) install an existing version of. Net core sdk
Sudo sh-c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > / etc/apt/sources.list.d/dotnetdev.list'sudo apt-key adv-- keyserver hkp://keyserver.ubuntu.com:80-- recv-keys 417A0893sudo apt-get updateapt-get install dotnet-dev-1.0.0-preview2.1-003177
If you do not install build, the following error occurs
Dotnet_install: Error: Unable to locate libunwind. Install libunwind to continuedotnet_install: Error: Unable to locate libicu. Install libicu to continue
2) check out the source code of dotnet cli from github
Apt-get install gitgit clone https://github.com/dotnet/cli.git
3) install dependent components liblldb, devscripts, debhelper
Apt-get install liblldb-3.6apt-get install devscriptsapt-get install debhelperapt-get install curl
4) run the build command
. / build.sh / t:compile
5) output result after successful build
~ / cli/artifacts/ubuntu.14.04-x64/packages# lsdotnet-host-ubuntu-x64.1.0.1.debdotnet-hostfxr-ubuntu-x64.1.0.1.debdotnet-sharedframework-ubuntu-x64.1.0.1.deb
Note: during build, you can check the progress of build through the init-microsoft.dotnet.buildtools.log log file.
The above is all the contents of the article "how to compile the source code of dotnet cli on Linux to generate an installation package for .NET Core SDK". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.