갈루아의 반서재

먼저 최신 Firefox tar-ball 다운로드한다.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
fuchsia@fuchsia:~$ wget -O FirefoxSetup.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
--2018-11-24 07:58:14--  https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US
Resolving download.mozilla.org (download.mozilla.org)... 35.166.169.6852.41.13.9654.213.7.119
Connecting to download.mozilla.org (download.mozilla.org)|35.166.169.68|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://download-installer.cdn.mozilla.net/pub/firefox/releases/63.0.3/linux-x86_64/en-US/firefox-63.0.3.tar.bz2 [following]
--2018-11-24 07:58:15--  https://download-installer.cdn.mozilla.net/pub/firefox/releases/63.0.3/linux-x86_64/en-US/firefox-63.0.3.tar.bz2
Resolving download-installer.cdn.mozilla.net (download-installer.cdn.mozilla.net)... 54.230.73.1592600:9000:20c7:d000:e:19d6:1546:59812600:9000:20c7:3600:e:19d6:1546:5981, ...
Connecting to download-installer.cdn.mozilla.net (download-installer.cdn.mozilla.net)|54.230.73.159|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55214497 (53M) [application/x-tar]
Saving to: ‘FirefoxSetup.tar.bz2’
 
FirefoxSetup.tar.bz2        100%[==========================================>]  52.66M   112MB/s    in 0.5s
 
2018-11-24 07:58:16 (112 MB/s) - ‘FirefoxSetup.tar.bz2’ saved [55214497/55214497]
 
fuchsia@fuchsia:~$
 
cs

다운받은 파일을 압축해제한다.

1
2
3
4
5
fuchsia@fuchsia:~$ mkdir /opt/firefox
mkdir: cannot create directory ‘/opt/firefox’: Permission denied
fuchsia@fuchsia:~$ sudo su
root@fuchsia:/home/fuchsia# mkdir /opt/firefox
root@fuchsia:/home/fuchsia# tar xjf FirefoxSetup.tar.bz2 -C /opt/firefox
cs

기존 바이너리가 있는 경우 대체한다.

1
2
root@fuchsia:/home/fuchsia# mv /usr/lib/firefox-esr/firefox-esr /usr/lib/firefox-esr/firefox-esr_orig
root@fuchsia:/home/fuchsia# ln -s /opt/firefox/firefox/firefox /usr/lib/firefox-esr/firefox-esr
cs

업데이트

1
2
wget -O FirefoxSetup.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
tar xjf FirefoxSetup.tar.bz2 -/opt/firefox/
cs

다음과 같이 기본 브라우저를 파이어폭스로 변경한다. 

파이어폭스 설치가 완료되었다.