Learn practical skills, build real-world projects, and advance your career
!nvidia-smi
Sat May 22 08:18:35 2021 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 465.19.01 Driver Version: 460.32.03 CUDA Version: 11.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 Tesla P100-PCIE... Off | 00000000:00:04.0 Off | 0 | | N/A 36C P0 26W / 250W | 0MiB / 16280MiB | 0% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+
#!sudo apt-get install software-properties-common
!sudo add-apt-repository ppa:ethereum/ethereum
More info: https://launchpad.net/~ethereum/+archive/ubuntu/ethereum Press [ENTER] to continue or Ctrl-c to cancel adding it. Get:1 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ InRelease [3,626 B] Ign:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:4 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic InRelease [15.9 kB] Ign:5 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease Get:6 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release [697 B] Hit:7 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Release Get:8 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release.gpg [836 B] Hit:10 http://archive.ubuntu.com/ubuntu bionic InRelease Get:11 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ Packages [60.9 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Ign:13 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Packages Get:13 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Packages [796 kB] Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1,412 kB] Hit:15 http://ppa.launchpad.net/cran/libgit2/ubuntu bionic InRelease Hit:16 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease Get:17 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,583 kB] Get:19 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic InRelease [15.4 kB] Get:20 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [423 kB] Get:21 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2,152 kB] Get:22 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease [21.3 kB] Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [452 kB] Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2,183 kB] Get:25 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic/main Sources [1,768 kB] Get:26 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic/main amd64 Packages [904 kB] Get:27 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic/main amd64 Packages [2,904 B] Get:28 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 Packages [41.5 kB] Fetched 13.1 MB in 8s (1,614 kB/s) Reading package lists... Done
!sudo cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://archive.ubuntu.com/ubuntu/ bionic main restricted # deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted # deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://archive.ubuntu.com/ubuntu/ bionic universe # deb-src http://archive.ubuntu.com/ubuntu/ bionic universe deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe # deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://archive.ubuntu.com/ubuntu/ bionic multiverse # deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse # deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu bionic partner # deb-src http://archive.canonical.com/ubuntu bionic partner deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted # deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted deb http://security.ubuntu.com/ubuntu/ bionic-security universe # deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse # deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/
!sudo apt update
Hit:1 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ InRelease Ign:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:4 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic InRelease Ign:5 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease Hit:6 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release Hit:7 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Release Hit:8 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:12 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:13 http://ppa.launchpad.net/cran/libgit2/ubuntu bionic InRelease Hit:14 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease Hit:15 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic InRelease Hit:16 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease Reading package lists... Done Building dependency tree Reading state information... Done 74 packages can be upgraded. Run 'apt list --upgradable' to see them.
!sudo apt install ethereum

# print(!which ethminer)
Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libnvidia-common-460 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: abigen bootnode clef evm geth puppeth rlpdump The following NEW packages will be installed: abigen bootnode clef ethereum evm geth puppeth rlpdump 0 upgraded, 8 newly installed, 0 to remove and 74 not upgraded. Need to get 31.4 MB of archives. After this operation, 111 MB of additional disk space will be used. Get:1 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic/main amd64 abigen amd64 1.10.3+build26180+bionic [4,222 kB] Get:2 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic/main amd64 bootnode amd64 1.10.3+build26180+bionic [4,298 kB] Get:3 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic/main amd64 clef amd64 1.10.3+build26180+bionic [7,014 kB] Get:4 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic/main amd64 evm amd64 1.10.3+build26180+bionic [4,308 kB] Get:5 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic/main amd64 geth amd64 1.10.3+build26180+bionic [7,754 kB] Get:6 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic/main amd64 puppeth amd64 1.10.3+build26180+bionic [3,294 kB] Get:7 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic/main amd64 rlpdump amd64 1.10.3+build26180+bionic [557 kB] Get:8 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic/main amd64 ethereum amd64 1.10.3+build26180+bionic [1,616 B] Fetched 31.4 MB in 17s (1,871 kB/s) debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 8.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Selecting previously unselected package abigen. (Reading database ... 160706 files and directories currently installed.) Preparing to unpack .../0-abigen_1.10.3+build26180+bionic_amd64.deb ... Unpacking abigen (1.10.3+build26180+bionic) ... Selecting previously unselected package bootnode. Preparing to unpack .../1-bootnode_1.10.3+build26180+bionic_amd64.deb ... Unpacking bootnode (1.10.3+build26180+bionic) ... Selecting previously unselected package clef. Preparing to unpack .../2-clef_1.10.3+build26180+bionic_amd64.deb ... Unpacking clef (1.10.3+build26180+bionic) ... Selecting previously unselected package evm. Preparing to unpack .../3-evm_1.10.3+build26180+bionic_amd64.deb ... Unpacking evm (1.10.3+build26180+bionic) ... Selecting previously unselected package geth. Preparing to unpack .../4-geth_1.10.3+build26180+bionic_amd64.deb ... Unpacking geth (1.10.3+build26180+bionic) ... Selecting previously unselected package puppeth. Preparing to unpack .../5-puppeth_1.10.3+build26180+bionic_amd64.deb ... Unpacking puppeth (1.10.3+build26180+bionic) ... Selecting previously unselected package rlpdump. Preparing to unpack .../6-rlpdump_1.10.3+build26180+bionic_amd64.deb ... Unpacking rlpdump (1.10.3+build26180+bionic) ... Selecting previously unselected package ethereum. Preparing to unpack .../7-ethereum_1.10.3+build26180+bionic_amd64.deb ... Unpacking ethereum (1.10.3+build26180+bionic) ... Setting up bootnode (1.10.3+build26180+bionic) ... Setting up puppeth (1.10.3+build26180+bionic) ... Setting up clef (1.10.3+build26180+bionic) ... Setting up evm (1.10.3+build26180+bionic) ... Setting up abigen (1.10.3+build26180+bionic) ... Setting up rlpdump (1.10.3+build26180+bionic) ... Setting up geth (1.10.3+build26180+bionic) ... Setting up ethereum (1.10.3+build26180+bionic) ...