单纯的不喜欢黄色图标
大佬们别打我(
Ubuntu
sudo apt remove firefox
Debian/kali
sudo apt-get remove firefox-esr
Arch Linux
sudo pacman -R firefox
Fedora
sudo dnf remove firefox
OpenSUSE
sudo zypper remove firefox
Step 1: Firefox Developer Edition needs to be downloaded from the official Mozilla website. To get a copy, click on this link to head over to this page.
Step 2: Once on the page, you’ll see a few different releases of Firefox (Beta, Developer, and Nightly). Scroll down the page, look for the download button and click on it to start the download for Linux.
Step 3: When downloading is complete, close your browser window, as you won’t need it. Then, launch a terminal window by pressing Ctrl + Alt + T, or by browsing for it.
Now that the FF Developer Edition TarBZ2 archive is done downloading, it’s time to gain access to the files inside. To do this, you must CD into the ~/Downloads folder. Then, run the tar command to extract the TarBZ2 archive.
cd ~/Downloads
tar -xvf firefox-*.tar.bz2
Once the files are fully extracted, it’s time to move them. In the case of Firefox, it needs to be put in the /opt folder. However, before we can move the files to this directory, you’ll need to elevate your command-line session from a standard user to Root, using the su or sudo -s command.
su -
or
sudo -s
Now that there is Root access in the terminal use the mv command to place the Firefox system files in the /opt directory of your Linux PC’s filesystem.
Note: please change “username” in the command below with the username on your computer, or the files will not move.
mv /home/username/Downloads/firefox /opt
Firefox Developer Edition’s files are in place in the /opt directory on your Linux PC. Still, you won’t be able to launch the browser app or use any of its functions, as the binary isn’t in the right place.
To set the binary in the right place, you must make a symlink from the /opt/firefox/ folder to the /usr/local/bin/ folder using the ln command.
Note: be sure your terminal is still using Root!
ln -s /opt/firefox/firefox /usr/local/bin/firefox
After putting the Firefox binary in the /usr/local/bin, you’ll need to set up a new desktop shortcut by using the touch command.
touch /usr/share/applications/firefox-developer.desktop
With the new desktop file made, we can start editing the shortcut. To modify the file, you must open it up in a text editor. In this tutorial, we’ll edit the file in Nano, as it’s easy to use for most users. Don’t like Nano? Feel free to use your favorite instead!
nano /usr/share/applications/firefox-developer.desktop
With the desktop shortcut open in Nano, paste the code below inside of the editor.
[Desktop Entry]
Name=Firefox Developer
GenericName=Firefox Developer Edition
Exec=/usr/local/bin/firefox
Terminal=false
Icon=/opt/firefox/browser/chrome/icons/default/default48.png
Type=Application
Categories=Application;Network;X-Developer;
Comment=Firefox Developer Edition Web Browser
Save the edit with Ctrl + O and exit with Ctrl + X. Then, update the permissions of the file with chmod.
chmod +x /usr/share/applications/firefox-developer.desktop
With the permissions updated, you’ll be able to access Firefox developer edition in your application menu under “Internet.”