If you’re a Ubuntu user, there are a few ways to set the default browser on your system. The first way is to use the command line. To do this, type: sudo apt-get install firefox The second way is to use the Ubuntu Software Center. To do this, type: sudo apt-get install software-properties-common sudo add-apt-repository ppa:ubuntu-browser/ppa sudo aptitude update sudo aptitude install firefox


To change this setting, we’ll use the update-alternatives command.

You should see something similar to this. You’ll notice that konqueror is the default browser on my computer right now.

If I wanted to select firefox as the default browser, I could just type 1 and hit enter.

There are 2 alternatives which provide `x-www-browser’.

Selection Alternative ———————————————– 1 /usr/bin/firefox *+ 2 /usr/bin/konqueror

Press enter to keep the default[*], or type selection number: