How install Chromium on Linux mint 20.1



lwk@qwfys:~$ sudo rm /etc/apt/preferences.d/nosnap.pref
lwk@qwfys:~$ apt update 
Ign:1 http://mirrors.ustc.edu.cn/linuxmint ulyssa InRelease
Hit:2 http://mirrors.ustc.edu.cn/linuxmint ulyssa Release                                                                               
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease                                                                                      
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease                                                                              
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease                 
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]                  
Hit:8 http://archive.canonical.com/ubuntu focal InRelease                               
Fetched 109 kB in 2s (58.8 kB/s)                         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
lwk@qwfys:~$ sudo snap install chromium
sudo: snap: command not found
lwk@qwfys:~$ apt list |grep snap

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

aj-snapshot/focal 0.9.9-1 amd64
apt-btrfs-snapshot/focal,focal 3.5.3 all
communitheme-snap-session/focal,focal 3.36.0-2ubuntu1 all
cyphesis-cpp-clients/focal,focal 0.7.0~snap1 all
cyphesis-cpp-mason/focal,focal 0.7.0~snap1 all
cyphesis-cpp/focal 0.7.0~snap1 amd64
ember/focal 0.8.0~snap1 amd64
gcc-snapshot/focal 1:20200418-1ubuntu1 amd64
gcc-snapshot/focal 1:20200418-1ubuntu1 i386
gir1.2-snapd-1/focal-updates 1.58-0ubuntu0.20.04.0 amd64
gir1.2-snapd-1/focal-updates 1.58-0ubuntu0.20.04.0 i386
gnome-software-plugin-snap/focal-updates 3.36.1-0ubuntu0.20.04.0 amd64
golang-github-eapache-go-xerial-snappy-dev/focal,focal 0.0~git20160609.bb955e0-1 all
golang-github-glycerine-go-unsnap-stream-dev/focal,focal 0.0~git20180323.9f0cb55-2 all
golang-github-golang-snappy-dev/focal,focal 0.0+git20160529.d9eb7a3-3 all
golang-github-mreiferson-go-snappystream-dev/focal,focal 0.2.3-2 all
golang-github-siddontang-go-snappy-dev/focal,focal 0.0~git20140704.0.d8f7bb8-4 all
golang-github-snapcore-snapd-dev/focal-updates,focal-updates 2.48+20.04 all
golang-github-ubuntu-core-snappy-dev/focal-updates,focal-updates 2.48+20.04 all
golang-gopkg-neurosnap-sentences.v1-dev/focal,focal 1.0.6-1 all
golang-snappy-go-dev/focal,focal 0.0+git20160529.d9eb7a3-3 all
itksnap/focal 3.6.0-5build1 amd64
libcompress-snappy-perl/focal 0.24+ds-2build1 amd64
libghc-snap-core-dev/focal 1.0.4.0-1build1 amd64
libghc-snap-core-doc/focal,focal 1.0.4.0-1build1 all
libghc-snap-core-prof/focal 1.0.4.0-1build1 amd64
libghc-snap-dev/focal 1.1.2.0-1build2 amd64
libghc-snap-doc/focal,focal 1.1.2.0-1build2 all
libghc-snap-prof/focal 1.1.2.0-1build2 amd64
libghc-snap-server-dev/focal 1.1.0.0-5build1 amd64
libghc-snap-server-doc/focal,focal 1.1.0.0-5build1 all
libghc-snap-server-prof/focal 1.1.0.0-5build1 amd64
libhtml-wikiconverter-snipsnap-perl/focal,focal 0.50-2 all
libpam-snapper/focal 0.8.6-1build1 amd64
libsnapd-glib-dev/focal-updates 1.58-0ubuntu0.20.04.0 amd64
libsnapd-glib-dev/focal-updates 1.58-0ubuntu0.20.04.0 i386
libsnapd-glib1/focal-updates,now 1.58-0ubuntu0.20.04.0 amd64 [installed]
libsnapd-glib1/focal-updates 1.58-0ubuntu0.20.04.0 i386
libsnapd-qt-dev/focal-updates 1.58-0ubuntu0.20.04.0 amd64
libsnapd-qt-dev/focal-updates 1.58-0ubuntu0.20.04.0 i386
libsnapd-qt1/focal-updates 1.58-0ubuntu0.20.04.0 amd64
libsnapd-qt1/focal-updates 1.58-0ubuntu0.20.04.0 i386
libsnapper-dev/focal 0.8.6-1build1 amd64
libsnapper4/focal 0.8.6-1build1 amd64
libsnappy-dev/focal 1.1.8-1build1 amd64
libsnappy-dev/focal 1.1.8-1build1 i386
libsnappy-java/focal,focal 1.1.7.3-1build1 all
libsnappy-jni/focal 1.1.7.3-1build1 amd64
libsnappy-jni/focal 1.1.7.3-1build1 i386
libsnappy1v5/focal,now 1.1.8-1build1 amd64 [installed]
libsnappy1v5/focal 1.1.8-1build1 i386
node-snapdragon-node/focal,focal 3.0.0-1 all
node-snapdragon-token/focal,focal 4.0.0-1 all
node-snapdragon-util/focal,focal 5.0.1-1 all
node-snapdragon/focal,focal 0.12.0+repack-2 all
plasma-discover-backend-snap/focal-updates 5.18.5-0ubuntu0.1 amd64
plasma-discover-snap-backend/focal-updates,focal-updates 5.18.5-0ubuntu0.1 all
profnet-snapfun/focal 1.0.22-6build1 amd64
python3-snappy/focal 0.5.3-1.1build1 amd64
qml-module-snapd/focal-updates 1.58-0ubuntu0.20.04.0 amd64
qml-module-snapd/focal-updates 1.58-0ubuntu0.20.04.0 i386
repsnapper/focal 2.5a5-2build2 amd64
rsnapshot/focal,focal 1.4.3-2 all
ruby-bootsnap/focal 1.4.6-1 amd64
simplesnap/focal,focal 1.0.4+nmu1 all
snap-aligner/focal 1.0~beta.18+dfsg-3build1 amd64
snap-confine/focal-updates 2.48+20.04 amd64
snap-templates/focal 1.0.0.2-3build2 amd64
snap/focal 2013-11-29-9 amd64
snapclient/focal 0.18.1-1build1 amd64
snapcraft-examples/focal-updates,focal-updates 3.0ubuntu1.1 all
snapcraft-parser/focal-updates,focal-updates 3.0ubuntu1.1 all
snapcraft/focal-updates,focal-updates 3.0ubuntu1.1 all
snapd-glib-tests/focal-updates 1.58-0ubuntu0.20.04.0 amd64
snapd-glib-tests/focal-updates 1.58-0ubuntu0.20.04.0 i386
snapd-xdg-open/focal-updates 2.48+20.04 amd64
snapd/focal-updates 2.48+20.04 amd64
snaphu/focal 2.0.3-1 amd64
snapper-gui/focal,focal 0git.960a94834f-3 all
snapper/focal 0.8.6-1build1 amd64
snapserver/focal 0.18.1-1build1 amd64
ubuntu-core-snapd-units/focal-updates,focal-updates 2.48+20.04 all
ubuntu-snappy-cli/focal-updates,focal-updates 2.48+20.04 all
ubuntu-snappy/focal-updates,focal-updates 2.48+20.04 all
vncsnapshot/focal 1.2a-5.1build2 amd64
w3m-el-snapshot/focal,focal 1.4.632+0.20191218.2243.cef0c7e-1 all
zfs-auto-snapshot/focal,focal 1.2.4-2 all
zfsnap/focal,focal 1.11.1-5.1 all
zsnapd-rcmd/focal,focal 0.8.11h-1ubuntu2 all
zsnapd/focal,focal 0.8.11h-1ubuntu2 all
lwk@qwfys:~$ apt install snapd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  snapd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.6 MB of archives.
After this operation, 126 MB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 snapd amd64 2.48+20.04 [28.6 MB]
Fetched 28.6 MB in 38s (751 kB/s)                                              
Selecting previously unselected package snapd.
(Reading database ... 333077 files and directories currently installed.)
Preparing to unpack .../snapd_2.48+20.04_amd64.deb ...
Unpacking snapd (2.48+20.04) ...
Setting up snapd (2.48+20.04) ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.apparmor.servi
ce → /lib/systemd/system/snapd.apparmor.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.autoimport.ser
vice → /lib/systemd/system/snapd.autoimport.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.core-fixup.ser
vice → /lib/systemd/system/snapd.core-fixup.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.recovery-choos
er-trigger.service → /lib/systemd/system/snapd.recovery-chooser-trigger.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.seeded.service
 → /lib/systemd/system/snapd.seeded.service.
Created symlink /etc/systemd/system/cloud-final.service.wants/snapd.seeded.servi
ce → /lib/systemd/system/snapd.seeded.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service → /lib
/systemd/system/snapd.service.
Created symlink /etc/systemd/system/timers.target.wants/snapd.snap-repair.timer 
→ /lib/systemd/system/snapd.snap-repair.timer.
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /lib/sys
temd/system/snapd.socket.
Created symlink /etc/systemd/system/final.target.wants/snapd.system-shutdown.ser
vice → /lib/systemd/system/snapd.system-shutdown.service.
snapd.failure.service is a disabled or a static unit, not starting it.
snapd.snap-repair.service is a disabled or a static unit, not starting it.
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
lwk@qwfys:~$ sudo snap install chromium
2021-01-30T14:37:25+08:00 INFO Waiting for automatic snapd restart...
chromium 88.0.4324.96 from Canonical✓ installed
lwk@qwfys:~$ 

安裝成功以後,重啓電腦,就可以看到效果了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章