요약본
sudo rm -r /etc/chromium /etc/opt/chrome
full
[22:46:28] [~] ls -alh /etc/opt/chrome/
total 24K
drwxr-xr-x. 6 root root 4.0K Jul 3 08:24 .
drwxr-xr-x. 3 root root 4.0K Aug 9 22:57 ..
drwxr-xr-x. 2 root root 4.0K Jul 3 15:20 managed
drwxr-xr-x. 2 root root 4.0K May 5 2022 native-messaging-hosts
drwxr-xr-x. 3 root root 4.0K Jul 3 08:24 policies
drwxr-xr-x. 2 root root 4.0K Jul 3 08:24 recommended
[22:46:43] [~] ls -alh /etc/opt/chrome/managed
total 8.0K
drwxr-xr-x. 2 root root 4.0K Jul 3 15:20 .
drwxr-xr-x. 6 root root 4.0K Jul 3 08:24 ..
[22:46:51] [~] ls -alh /etc/chromium/
total 24K
drwxr-xr-x. 4 root root 4.0K May 4 2022 .
drwxr-xr-x. 163 root root 12K Nov 7 21:35 ..
drwxr-xr-x. 2 root root 4.0K May 5 2022 native-messaging-hosts
drwxr-xr-x. 3 root root 4.0K Jul 3 08:24 policies
[22:47:03] [~] ls -alh /etc/chromium/policies
total 12K
drwxr-xr-x. 3 root root 4.0K Jul 3 08:24 .
drwxr-xr-x. 4 root root 4.0K May 4 2022 ..
drwxr-xr-x. 2 root root 4.0K Jul 3 08:24 recommended
[22:47:11] [~] ls -alh /etc/opt/chrome/policies/
total 12K
drwxr-xr-x. 3 root root 4.0K Jul 3 08:24 .
drwxr-xr-x. 6 root root 4.0K Jul 3 08:24 ..
drwxr-xr-x. 2 root root 4.0K Jul 3 08:24 recommended
[22:47:58] [~] sudo dnf remove google-chrome-stable
[sudo] password for dami:
Dependencies resolved.
==============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================================================
Removing:
google-chrome-stable x86_64 107.0.5304.87-1 @google-chrome 292 M
Removing unused dependencies:
liberation-fonts noarch 1:2.1.5-2.fc36 @fedora 0
Transaction Summary
==============================================================================================================================================================================================================================================
Remove 2 Packages
Freed space: 292 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: google-chrome-stable-107.0.5304.87-1.x86_64 1/2
Erasing : google-chrome-stable-107.0.5304.87-1.x86_64 1/2
Running scriptlet: google-chrome-stable-107.0.5304.87-1.x86_64 1/2
Erasing : liberation-fonts-1:2.1.5-2.fc36.noarch 2/2
Running scriptlet: liberation-fonts-1:2.1.5-2.fc36.noarch 2/2
Verifying : google-chrome-stable-107.0.5304.87-1.x86_64 1/2
Verifying : liberation-fonts-1:2.1.5-2.fc36.noarch 2/2
Removed:
google-chrome-stable-107.0.5304.87-1.x86_64 liberation-fonts-1:2.1.5-2.fc36.noarch
Complete!
[22:48:38] [~] sudo -r /etc/opt/chrome /etc/chromium
sudo: /etc/chromium: command not found
[22:49:39] [~] sudo -r /etc/opt/chrome
usage: sudo -h | -K | -k | -V
usage: sudo -v [-ABknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-ABknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-ABbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-ABknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
[22:49:51] [~] sudo -r /etc/opt/chrome/
usage: sudo -h | -K | -k | -V
usage: sudo -v [-ABknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-ABknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-ABbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-ABknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
[22:49:54] [~] ls -alh /etc/opt/chrome/
total 24K
drwxr-xr-x. 6 root root 4.0K Jul 3 08:24 .
drwxr-xr-x. 3 root root 4.0K Aug 9 22:57 ..
drwxr-xr-x. 2 root root 4.0K Jul 3 15:20 managed
drwxr-xr-x. 2 root root 4.0K May 5 2022 native-messaging-hosts
drwxr-xr-x. 3 root root 4.0K Jul 3 08:24 policies
drwxr-xr-x. 2 root root 4.0K Jul 3 08:24 recommended
[22:50:07] [~] sudo rm -r /etc/opt/chrome /etc/chromium
[22:50:59] [~] ls -alh /etc/opt/chrome/
ls: cannot access '/etc/opt/chrome/': No such file or directory
[22:51:04] [~] which google-chrome
/usr/bin/which: no google-chrome in (/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin)
[22:51:21] [~] sudo dnf install google-chrome-stable
Last metadata expiration check: 0:03:54 ago on Mon 07 Nov 2022 22:47:38 KST.
Dependencies resolved.
==============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================================================
Installing:
google-chrome-stable x86_64 107.0.5304.87-1 google-chrome 90 M
Installing dependencies:
liberation-fonts noarch 1:2.1.5-2.fc36 fedora 7.9 k
Transaction Summary
==============================================================================================================================================================================================================================================
Install 2 Packages
Total download size: 90 M
Installed size: 292 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): liberation-fonts-2.1.5-2.fc36.noarch.rpm 7.7 kB/s | 7.9 kB 00:01
(2/2): google-chrome-stable-107.0.5304.87-1.x86_64.rpm 36 MB/s | 90 MB 00:02
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 25 MB/s | 90 MB 00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : liberation-fonts-1:2.1.5-2.fc36.noarch 1/2
Running scriptlet: google-chrome-stable-107.0.5304.87-1.x86_64 2/2
Installing : google-chrome-stable-107.0.5304.87-1.x86_64 2/2
Running scriptlet: google-chrome-stable-107.0.5304.87-1.x86_64 2/2
Verifying : liberation-fonts-1:2.1.5-2.fc36.noarch 1/2
Verifying : google-chrome-stable-107.0.5304.87-1.x86_64 2/2
Installed:
google-chrome-stable-107.0.5304.87-1.x86_64 liberation-fonts-1:2.1.5-2.fc36.noarch
Complete!
[22:51:53] [~] which google-chrome
/usr/bin/google-chrome
[22:52:03] [~] ls -l /usr/bin/google/chrome
ls: cannot access '/usr/bin/google/chrome': No such file or directory
[22:52:13] [~] ls -l /usr/bin/google-chrome
lrwxrwxrwx. 1 root root 31 Nov 7 22:51 /usr/bin/google-chrome -> /etc/alternatives/google-chrome
[22:52:18] [~] alternatives --config google-chrome
There is 1 program that provides 'google-chrome'.
Selection Command
-----------------------------------------------
*+ 1 /usr/bin/google-chrome-stable
Enter to keep the current selection[+], or type selection number: ^C