Linux 上安装最新版 Brave Browser

LychieFan 2020-05-05

如果你参照官方指南 Installing Brave 失败(被一道墙挡住),那么可以在 GitHub 上下载使用最新稳定版的二进制包。

比如当前最新版为 Desktop Release Channel v1.8.86,二进制安装包为 brave-v1.8.86-linux-x64.zip

下载:

cd /DATA/Software/Brave/
wget -c https://github.com/brave/brave-browser/releases/download/v1.8.86/brave-v1.8.86-linux-x64.zip

解压运行 Brave:

unzip brave-v1.8.86-linux-x64.zip -d brave
cd brave
./brave

添加 GNOME 桌面图标 sudo vim /usr/share/applications/brave-browser.desktop

[Desktop Entry]
Version=1.0
Name=Brave Web Browser
Comment=Access the Internet
Comment[zh_CN]=访问互联网
Exec=/DATA/Software/Brave/brave/brave
StartupNotify=true
Terminal=false
Icon=/DATA/Software/Brave/brave.png
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=New Window
Name[zh_CN]=新建窗口
Exec=/DATA/Software/Brave/brave/brave

[Desktop Action new-private-window]
Name=New Incognito Window
Name[zh_CN]=新建隐身窗口
Exec=/DATA/Software/Brave/brave/brave --incognito

注意,里面有四处需要修改,依次为:

[Desktop Entry]
Exec=/DATA/Software/Brave/brave/brave
Icon=/DATA/Software/Brave/brave.png

[Desktop Action new-window]
Exec=/DATA/Software/Brave/brave/brave

[Desktop Action new-private-window]
Exec=/DATA/Software/Brave/brave/brave --incognito

图标:
Linux 上安装最新版 Brave Browser

多语言完整版为:

[Desktop Entry]
Version=1.0
Name=Brave Web Browser
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu‘s language-pack-kde-XX-base packages, version 9.04-20090413.
GenericName=Web Browser
GenericName[ar]=????? ??????
GenericName[bg]=Уеб браузър
GenericName[ca]=Navegador web
GenericName[cs]=WWW prohlí?e?
GenericName[da]=Browser
GenericName[de]=Web-Browser
GenericName[el]=Περιηγητ?? ιστο?
GenericName[en_GB]=Web Browser
GenericName[es]=Navegador web
GenericName[et]=Veebibrauser
GenericName[fi]=WWW-selain
GenericName[fr]=Navigateur Web
GenericName[gu]=??? ???????
GenericName[he]=????? ???????
GenericName[hi]=??? ????????
GenericName[hu]=Webb?ngész?
GenericName[it]=Browser Web
GenericName[ja]=ウェブブラウザ
GenericName[kn]=??? ??????
GenericName[ko]=? ????
GenericName[lt]=?iniatinklio nar?ykl?
GenericName[lv]=Tīmek?a pārlūks
GenericName[ml]=???? ????????
GenericName[mr]=??? ???????
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[pl]=Przegl?darka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador da Internet
GenericName[ro]=Navigator de Internet
GenericName[ru]=Веб-браузер
GenericName[sl]=Spletni brskalnik
GenericName[sv]=Webbl?sare
GenericName[ta]=???? ?????
GenericName[th]=???????????????
GenericName[tr]=Web Taray?c?
GenericName[uk]=Нав?гатор Тенет
GenericName[zh_CN]=网页浏览器
GenericName[zh_HK]=網頁瀏覽器
GenericName[zh_TW]=網頁瀏覽器
# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
GenericName[bn]=???? ????????
GenericName[fil]=Web Browser
GenericName[hr]=Web preglednik
GenericName[id]=Browser Web
GenericName[or]=????? ???????
GenericName[sk]=WWW prehliada?
GenericName[sr]=Интернет прегледник
GenericName[te]=????? ???????
GenericName[vi]=B? duy?t Web
# Gnome and KDE 3 uses Comment.
Comment=Access the Internet
Comment[ar]=?????? ??? ????????
Comment[bg]=Достъп до интернет
Comment[bn]=??????????? ????????? ????
Comment[ca]=Accedeix a Internet
Comment[cs]=P?ístup k internetu
Comment[da]=F? adgang til internettet
Comment[de]=Internetzugriff
Comment[el]=Πρ?σβαση στο Διαδ?κτυο
Comment[en_GB]=Access the Internet
Comment[es]=Accede a Internet.
Comment[et]=P??s Internetti
Comment[fi]=K?yt? interneti?
Comment[fil]=I-access ang Internet
Comment[fr]=Accéder à Internet
Comment[gu]=??????? ?????? ???
Comment[he]=???? ?? ????????
Comment[hi]=??????? ?? ????? ??????? ????
Comment[hr]=Pristup Internetu
Comment[hu]=Internetelérés
Comment[id]=Akses Internet
Comment[it]=Accesso a Internet
Comment[ja]=インターネットにアクセス
Comment[kn]=????????? ????? ?????????
Comment[ko]=??? ??
Comment[lt]=Interneto prieiga
Comment[lv]=Piek?ūt internetam
Comment[ml]=?????????????? ??????? ???????
Comment[mr]=???????????? ?????? ???
Comment[nb]=G? til Internett
Comment[nl]=Verbinding maken met internet
Comment[or]=?????????? ?????? ??????
Comment[pl]=Skorzystaj z internetu
Comment[pt]=Aceder à Internet
Comment[pt_BR]=Acessar a internet
Comment[ro]=Accesa?i Internetul
Comment[ru]=Доступ в Интернет
Comment[sk]=Prístup do siete Internet
Comment[sl]=Dostop do interneta
Comment[sr]=Приступите Интернету
Comment[sv]=G? ut p? Internet
Comment[ta]=???????? ????????
Comment[te]=???????????? ??????? ????????
Comment[th]=???????????????????
Comment[tr]=?nternet‘e eri?in
Comment[uk]=Доступ до ?нтернету
Comment[vi]=Truy c?p Internet
Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
Exec=/DATA/Software/Brave/brave/brave
StartupNotify=true
Terminal=false
Icon=/DATA/Software/Brave/brave.png
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=New Window
Name[am]=??? ????
Name[ar]=????? ?????
Name[bg]=Нов прозорец
Name[bn]=???? ??????
Name[ca]=Finestra nova
Name[cs]=Nové okno
Name[da]=Nyt vindue
Name[de]=Neues Fenster
Name[el]=Ν?ο Παρ?θυρο
Name[en_GB]=New Window
Name[es]=Nueva ventana
Name[et]=Uus aken
Name[fa]=????? ????
Name[fi]=Uusi ikkuna
Name[fil]=New Window
Name[fr]=Nouvelle fenêtre
Name[gu]=??? ?????
Name[hi]=?? ?????
Name[hr]=Novi prozor
Name[hu]=új ablak
Name[id]=Jendela Baru
Name[it]=Nuova finestra
Name[iw]=???? ???
Name[ja]=新規ウインドウ
Name[kn]=??? ?????
Name[ko]=? ?
Name[lt]=Naujas langas
Name[lv]=Jauns logs
Name[ml]=????? ???????
Name[mr]=???? ?????
Name[nl]=Nieuw venster
Name[no]=Nytt vindu
Name[pl]=Nowe okno
Name[pt]=Nova janela
Name[pt_BR]=Nova janela
Name[ro]=Fereastr? nou?
Name[ru]=Новое окно
Name[sk]=Nové okno
Name[sl]=Novo okno
Name[sr]=Нови прозор
Name[sv]=Nytt f?nster
Name[sw]=Dirisha Jipya
Name[ta]=????? ??????
Name[te]=??????? ?????
Name[th]=????????????
Name[tr]=Yeni Pencere
Name[uk]=Нове в?кно
Name[vi]=C?a s? M?i
Name[zh_CN]=新建窗口
Name[zh_TW]=開新視窗
Exec=/DATA/Software/Brave/brave/brave

[Desktop Action new-private-window]
Name=New Incognito Window
Name[ar]=????? ????? ?????? ???????
Name[bg]=Нов прозорец ?инкогнито“
Name[bn]=???? ???????? ??????
Name[ca]=Finestra d‘incògnit nova
Name[cs]=Nové anonymní okno
Name[da]=Nyt inkognitovindue
Name[de]=Neues Inkognito-Fenster
Name[el]=Ν?ο παρ?θυρο για αν?νυμη περι?γηση
Name[en_GB]=New Incognito window
Name[es]=Nueva ventana de incógnito
Name[et]=Uus inkognito aken
Name[fa]=????? ???? ???? ??????
Name[fi]=Uusi incognito-ikkuna
Name[fil]=Bagong Incognito window
Name[fr]=Nouvelle fenêtre de navigation privée
Name[gu]=??? ???? ?????
Name[hi]=?? ????? ?????
Name[hr]=Novi anoniman prozor
Name[hu]=új Inkognitóablak
Name[id]=Jendela Penyamaran baru
Name[it]=Nuova finestra di navigazione in incognito
Name[iw]=???? ??? ?????? ????
Name[ja]=新しいシークレット ウィンドウ
Name[kn]=??? ?????? ?????
Name[ko]=? ??? ?
Name[lt]=Naujas inkognito langas
Name[lv]=Jauns inkognito re?īma logs
Name[ml]=????? ??? ????????? ???????
Name[mr]=???? ????? ?????
Name[nl]=Nieuw incognitovenster
Name[no]=Nytt inkognitovindu
Name[pl]=Nowe okno incognito
Name[pt]=Nova janela de navega??o anónima
Name[pt_BR]=Nova janela an?nima
Name[ro]=Fereastr? nou? incognito
Name[ru]=Новое окно в режиме инкогнито
Name[sk]=Nové okno inkognito
Name[sl]=Novo okno brez bele?enja zgodovine
Name[sr]=Нови прозор за прегледа?е без архивира?а
Name[sv]=Nytt inkognitof?nster
Name[ta]=????? ????????? ??????
Name[te]=??????? ?????? ?????
Name[th]=???????????????????????????
Name[tr]=Yeni Gizli pencere
Name[uk]=Нове в?кно в режим? анон?много перегляду
Name[vi]=C?a s? ?n danh m?i
Name[zh_CN]=新建隐身窗口
Name[zh_TW]=新增無痕式視窗
Exec=/DATA/Software/Brave/brave/brave --incognito

相关推荐