Skip to main content

Ubuntu 18.04 LTS : Installing .NET CORE 3.1 SDK

bboycan@bboy-Latitude-E7450:~$ sudo apt-get update
[sudo] password for bboycan:
Ign:1 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease
Hit:2 https://dl.yarnpkg.com/debian stable InRelease              
Hit:3 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release
Hit:5 http://ph.archive.ubuntu.com/ubuntu bionic InRelease                    
Get:6 http://ph.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]  
Hit:7 https://deb.nodesource.com/node_10.x bionic InRelease                    
Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Hit:9 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu bionic InRelease    
Get:10 http://ph.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:11 http://packages.microsoft.com/repos/vscode stable InRelease            
Get:12 http://ph.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [932 kB]
Get:13 http://ph.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [675 kB]
Get:14 http://ph.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [318 kB]
Get:15 http://ph.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [303 kB]
Get:15 http://ph.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [303 kB]
Get:15 http://ph.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [303 kB]
Get:15 http://ph.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [303 kB]
Get:15 http://ph.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [303 kB]
Get:15 http://ph.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [303 kB]
Get:21 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [464 kB]
Get:22 http://ph.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,014 kB]
Get:23 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [707 kB]
Get:24 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [224 kB]
Get:25 http://ph.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,068 kB]
Get:26 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [40.7 kB]
Get:27 http://ph.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [332 kB]
Get:28 http://ph.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [273 kB]
Get:29 http://ph.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [8,728 B]
Get:30 http://ph.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [15.5 kB]
Get:31 http://ph.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6,352 B]
Get:32 http://ph.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:32 http://ph.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:33 http://ph.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [7,472 B]
Get:34 http://ph.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7,484 B]
Get:35 http://ph.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [4,436 B]
Get:36 http://ph.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,972 B]
Ign:26 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata
Get:37 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [21.3 kB]
Get:38 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [51.8 kB]
Get:39 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [40.3 kB]
Get:40 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [10.2 kB]
Get:41 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [660 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [619 kB]
Get:43 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [219 kB]
Get:44 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB]
Get:45 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7,392 B]
Get:46 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2,788 B]
Get:47 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:26 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [40.7 kB]
Fetched 5,774 kB in 1min 55s (50.1 kB/s)                                      
Reading package lists... Done
bboycan@bboy-Latitude-E7450:~$ wget https://packages.microsoft.com/config/ubuntu/19.10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
--2020-05-12 22:22:12--  https://packages.microsoft.com/config/ubuntu/19.10/packages-microsoft-prod.deb
Resolving packages.microsoft.com (packages.microsoft.com)... 23.99.120.248
Connecting to packages.microsoft.com (packages.microsoft.com)|23.99.120.248|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3142 (3.1K) [application/octet-stream]
Saving to: 'packages-microsoft-prod.deb'

packages-microsoft- 100%[===================>]   3.07K  --.-KB/s    in 0s      

2020-05-12 22:22:13 (150 MB/s) - 'packages-microsoft-prod.deb' saved [3142/3142]

bboycan@bboy-Latitude-E7450:~$ sudo dpkg -i packages-microsoft-prod.deb
Selecting previously unselected package packages-microsoft-prod.
(Reading database ... 170974 files and directories currently installed.)
Preparing to unpack packages-microsoft-prod.deb ...
Unpacking packages-microsoft-prod (1.0-ubuntu19.10.1) ...
Setting up packages-microsoft-prod (1.0-ubuntu19.10.1) ...
bboycan@bboy-Latitude-E7450:~$ sudo apt-get update
Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:2 https://deb.nodesource.com/node_10.x bionic InRelease                    
Hit:3 https://dl.yarnpkg.com/debian stable InRelease                          
Hit:4 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu bionic InRelease    
Ign:5 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease    
Hit:6 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release      
Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Hit:9 http://ph.archive.ubuntu.com/ubuntu bionic InRelease                
Hit:10 http://ph.archive.ubuntu.com/ubuntu bionic-updates InRelease            
Hit:11 http://ph.archive.ubuntu.com/ubuntu bionic-backports InRelease          
Get:12 https://packages.microsoft.com/ubuntu/19.10/prod eoan InRelease [10.4 kB]
Get:13 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main arm64 Packages [844 B]
Get:14 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main armhf Packages [554 B]
Get:15 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 Packages [19.9 kB]
Fetched 120 kB in 3s (47.3 kB/s)    
Reading package lists... Done
bboycan@bboy-Latitude-E7450:~$ sudo apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded.
Need to get 1,692 B of archives.
After this operation, 153 kB of additional disk space will be used.
Get:1 http://ph.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt-transport-https all 1.6.12 [1,692 B]
Fetched 1,692 B in 0s (4,050 B/s)              
Selecting previously unselected package apt-transport-https.
(Reading database ... 170982 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.12_all.deb ...
Unpacking apt-transport-https (1.6.12) ...
Setting up apt-transport-https (1.6.12) ...
bboycan@bboy-Latitude-E7450:~$ sudo apt-get update
Hit:1 http://ph.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Hit:3 http://ph.archive.ubuntu.com/ubuntu bionic-updates InRelease            
Hit:4 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu bionic InRelease    
Hit:5 http://ph.archive.ubuntu.com/ubuntu bionic-backports InRelease          
Hit:6 http://packages.microsoft.com/repos/vscode stable InRelease              
Hit:7 https://deb.nodesource.com/node_10.x bionic InRelease                    
Ign:8 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease    
Hit:9 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release      
Hit:10 https://dl.yarnpkg.com/debian stable InRelease                          
Hit:11 https://packages.microsoft.com/ubuntu/19.10/prod eoan InRelease        
Fetched 88.7 kB in 7s (13.2 kB/s)                                              
Reading package lists... Done
bboycan@bboy-Latitude-E7450:~$ sudo apt-get install dotnet-sdk-3.1
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  aspnetcore-runtime-3.1 aspnetcore-targeting-pack-3.1 dotnet-apphost-pack-3.1
  dotnet-host dotnet-hostfxr-3.1 dotnet-runtime-3.1 dotnet-runtime-deps-3.1
  dotnet-targeting-pack-3.1 netstandard-targeting-pack-2.1
The following NEW packages will be installed:
  aspnetcore-runtime-3.1 aspnetcore-targeting-pack-3.1 dotnet-apphost-pack-3.1
  dotnet-host dotnet-hostfxr-3.1 dotnet-runtime-3.1 dotnet-runtime-deps-3.1
  dotnet-sdk-3.1 dotnet-targeting-pack-3.1 netstandard-targeting-pack-2.1
0 upgraded, 10 newly installed, 0 to remove and 53 not upgraded.
Need to get 75.1 MB of archives.
After this operation, 324 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 dotnet-host amd64 3.1.3-1 [32.6 kB]
Get:2 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 dotnet-hostfxr-3.1 amd64 3.1.3-1 [121 kB]
Get:3 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 dotnet-runtime-deps-3.1 amd64 3.1.3-1 [2,664 B]
Get:4 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 dotnet-runtime-3.1 amd64 3.1.3-1 [21.9 MB]
Get:4 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 dotnet-runtime-3.1 amd64 3.1.3-1 [21.9 MB]
Get:5 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 aspnetcore-runtime-3.1 amd64 3.1.3-1 [5,761 kB]
Get:6 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 dotnet-targeting-pack-3.1 amd64 3.1.0-1 [1,988 kB]
Get:7 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 aspnetcore-targeting-pack-3.1 amd64 3.1.3-1 [949 kB]
Get:8 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 dotnet-apphost-pack-3.1 amd64 3.1.3-1 [41.6 kB]
Get:9 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 netstandard-targeting-pack-2.1 amd64 2.1.0-1 [1,474 kB]
Get:10 https://packages.microsoft.com/ubuntu/19.10/prod eoan/main amd64 dotnet-sdk-3.1 amd64 3.1.201-1 [42.9 MB]
Fetched 59.4 MB in 8min 34s (116 kB/s)                                        
Selecting previously unselected package dotnet-host.
(Reading database ... 170986 files and directories currently installed.)
Preparing to unpack .../0-dotnet-host_3.1.3-1_amd64.deb ...
Unpacking dotnet-host (3.1.3-1) ...
Selecting previously unselected package dotnet-hostfxr-3.1.
Preparing to unpack .../1-dotnet-hostfxr-3.1_3.1.3-1_amd64.deb ...
Unpacking dotnet-hostfxr-3.1 (3.1.3-1) ...
Selecting previously unselected package dotnet-runtime-deps-3.1.
Preparing to unpack .../2-dotnet-runtime-deps-3.1_3.1.3-1_amd64.deb ...
Unpacking dotnet-runtime-deps-3.1 (3.1.3-1) ...
Selecting previously unselected package dotnet-runtime-3.1.
Preparing to unpack .../3-dotnet-runtime-3.1_3.1.3-1_amd64.deb ...
Unpacking dotnet-runtime-3.1 (3.1.3-1) ...
Selecting previously unselected package aspnetcore-runtime-3.1.
Preparing to unpack .../4-aspnetcore-runtime-3.1_3.1.3-1_amd64.deb ...
Unpacking aspnetcore-runtime-3.1 (3.1.3-1) ...
Selecting previously unselected package dotnet-targeting-pack-3.1.
Preparing to unpack .../5-dotnet-targeting-pack-3.1_3.1.0-1_amd64.deb ...
Unpacking dotnet-targeting-pack-3.1 (3.1.0-1) ...
Selecting previously unselected package aspnetcore-targeting-pack-3.1.
Preparing to unpack .../6-aspnetcore-targeting-pack-3.1_3.1.3-1_amd64.deb ...
Unpacking aspnetcore-targeting-pack-3.1 (3.1.3-1) ...
Selecting previously unselected package dotnet-apphost-pack-3.1.
Preparing to unpack .../7-dotnet-apphost-pack-3.1_3.1.3-1_amd64.deb ...
Unpacking dotnet-apphost-pack-3.1 (3.1.3-1) ...
Selecting previously unselected package netstandard-targeting-pack-2.1.
Preparing to unpack .../8-netstandard-targeting-pack-2.1_2.1.0-1_amd64.deb ...
Unpacking netstandard-targeting-pack-2.1 (2.1.0-1) ...
Selecting previously unselected package dotnet-sdk-3.1.
Preparing to unpack .../9-dotnet-sdk-3.1_3.1.201-1_amd64.deb ...
Unpacking dotnet-sdk-3.1 (3.1.201-1) ...
Setting up dotnet-host (3.1.3-1) ...
Setting up dotnet-apphost-pack-3.1 (3.1.3-1) ...
Setting up netstandard-targeting-pack-2.1 (2.1.0-1) ...
Setting up dotnet-runtime-deps-3.1 (3.1.3-1) ...
Setting up dotnet-targeting-pack-3.1 (3.1.0-1) ...
Setting up dotnet-hostfxr-3.1 (3.1.3-1) ...
Setting up dotnet-runtime-3.1 (3.1.3-1) ...
Setting up aspnetcore-targeting-pack-3.1 (3.1.3-1) ...
Setting up aspnetcore-runtime-3.1 (3.1.3-1) ...
Setting up dotnet-sdk-3.1 (3.1.201-1) ...
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET Core!
---------------------
Learn more about .NET Core: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs

Telemetry
---------
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

Configuring...
--------------
A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once.
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
bboycan@bboy-Latitude-E7450:~$

Comments

Popular posts from this blog

Ubuntu 16.04 LT - Installing Chromium browser

> Type these commands about this PPA : $ sudo add-apt-repository ppa:canonical-chromium-builds/stage $ sudo apt-get update $ sudo apt-get install chromium-browser > Terminal: mccrazy@Lenovo-N22:~$ sudo add-apt-repository ppa:canonical-chromium-builds/stage [sudo] password for mccrazy:  Testing site just before upload to Ubuntu main. Things here are either broken and not ready to use, or landing in the distro anyway very soon. You shouldn't use this.  More info: https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmp6cfppy_r/secring.gpg' created gpg: keyring `/tmp/tmp6cfppy_r/pubring.gpg' created gpg: requesting key 5B393194 from hkp server keyserver.ubuntu.com gpg: /tmp/tmp6cfppy_r/trustdb.gpg: trustdb created gpg: key 5B393194: public key "Launchpad PPA for Canonical Chromium Build Team" imported gpg: Total number processed: 1 gpg:               imported: 1  (RSA...

Ubuntu 20.04 LTS | Installing OpenJDK 11 (LTS) JDK, JRE, HotSpot

https://adoptopenjdk.net/installation.html#linux-pkg ctrl + f => Linux RPM and DEB installer packages bboy@bboy-LE7450:~$ cat /etc/os-release | grep UBUNTU_CODENAME UBUNTU_CODENAME=focal bboy@bboy-LE7450:~$ sudo apt-get install wget apt-transport-https gnupg [sudo] password for bboy: Reading package lists... Done Building dependency tree       Reading state information... Done wget is already the newest version (1.20.3-1ubuntu1). wget set to manually installed. gnupg is already the newest version (2.2.19-3ubuntu2.1). gnupg set to manually installed. The following packages were automatically installed and are no longer required:   linux-headers-5.8.0-45-generic linux-hwe-5.8-headers-5.8.0-45   linux-image-5.8.0-45-generic linux-modules-5.8.0-45-generic   linux-modules-extra-5.8.0-45-generic Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed:   apt-transport-https 0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded. Need to get 1,...