标签:-o ubuntu xdg browser 压缩 ref fir comm sudo
sudo rm -Rf /opt/firefox*
sudo rm -Rf /usr/bin/firefox
sudo rm -Rf /usr/share/applications/firefox.desktop
wget "https://download.mozilla.org/?product=firefox-latest&os=linux64" -O firefox.tar.bz2
sudo tar -jxvf firefox.tar.bz2 -C /opt/
sudo mv /opt/firefox*/ /opt/firefox
sudo ln -sf /opt/firefox/firefox /usr/bin/firefox
echo -e ‘[Desktop Entry]\n Version=60.0.2\n Encoding=UTF-8\n Name=Mozilla Firefox\n Comment=Navegador Web\n Exec=/opt/firefox/firefox\n Icon=/opt/firefox/browser/chrome/icons/default/default128.png\n Type=Application\n Categories=Network\n Exec=env XDG_CURRENT_DESKTOP=GNOME /opt/firefox/firefox %u‘ | sudo tee /usr/share/applications/firefox.desktop
标签:-o ubuntu xdg browser 压缩 ref fir comm sudo
原文地址:https://www.cnblogs.com/DLarTisan/p/11747204.html