跟李沐學Ai 03 安裝【動手學深度學習v2】
可以考慮直接使用Google的colab,https://colab.research.google.com/drive/18-HoW6P3L6N0rWBWLc-b6xB83cD3cZZn
命令1 sudo apt update
[sudo] password for clu:
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
704 packages can be upgraded. Run 'apt list --upgradable' to see them.
命令2 sudo apt install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
cpp cpp-7 dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-base gcc-8-base
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libasan4 libatomic1 libc-dev-bin libc6 libc6-dbg libc6-dev libcc1-0
libcilkrts5 libdpkg-perl libfakeroot libgcc-7-dev libgcc1 libgomp1 libitm1
liblsan0 libmpx2 libquadmath0 libstdc++-7-dev libstdc++6 libtsan0 libubsan0
linux-libc-dev make manpages-dev
Suggested packages:
cpp-doc gcc-7-locales debian-keyring g++-multilib g++-7-multilib gcc-7-doc
libstdc++6-7-dbg gcc-multilib autoconf automake libtool flex bison gcc-doc
gcc-7-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
libmpx2-dbg libquadmath0-dbg glibc-doc git bzr libstdc++-7-doc make-doc
The following NEW packages will be installed:
build-essential dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libatomic1
libc-dev-bin libc6-dev libcilkrts5 libfakeroot libgcc-7-dev libitm1 liblsan0
libmpx2 libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev make
manpages-dev
The following packages will be upgraded:
cpp cpp-7 gcc-7-base gcc-8-base libc6 libc6-dbg libcc1-0 libdpkg-perl
libgcc1 libgomp1 libstdc++6
11 upgraded, 27 newly installed, 0 to remove and 693 not upgraded.
Need to get 39.1 MB/48.3 MB of archives.
After this operation, 122 MB of additional disk space will be used.
命令3 sudo apt install python3.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libpython3.8-minimal libpython3.8-stdlib libssl1.1 python3.8-minimal
Suggested packages:
python3.8-venv python3.8-doc binfmt-support
The following NEW packages will be installed:
libpython3.8-minimal libpython3.8-stdlib python3.8 python3.8-minimal
The following packages will be upgraded:
libssl1.1
1 upgraded, 4 newly installed, 0 to remove and 692 not upgraded.