download
extraction
sudo tar xvf firefox-xxx -C /opt/
make a desktop shortcut
cd /usr/share/applications/
vim firefox.desktop
[Desktop Entry]
Version=1.0
Name=Firefox
GenericName=Web Browser
GenericName[zh_CN]=网页浏览器
Comment=Access the Internet
Comment[zh_CN]=访问互联网
Exec=/opt/firefox/firefox %U #firefox的执行程序位置
Terminal=false
Icon=/opt/firefox/browser/chrome/icons/default/default128.png #firefox的图标位>置
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
Actions=NewWindow;NewPrivateWindow;