Install .NETCore on Ubuntu
Add dot net apt-get feed
Setup the apt-get feed and update it.
apt-get is a free package manager program. It works with Ubuntu’s APT (Advanced Packaging Tool). Using that command line program, We can Install new packages, remove or upgrade packages.
For this example, I used Ubuntu 16.04, run these commands,
sudo sh -c ‘echo “deb [arch=amd
64
]
https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main” > /etc/apt/sources.list.d/dotnetdev.list’
sudo apt-key adv –keyserver apt-mo.trafficmanager.net –recv-keys
417
A
0893
Then update apt-get feed Using following command,
sudo apt-get update
Install .NETCore top of apt-get
Install .NETCore using following command,
sudo apt-get install dotnet-dev
-1.0
.
0
-preview
2
-003121
Check whether .NETCore is properly installed using dotnet command. It shows .NETCore version as 1.0.1
No comments:
Post a Comment