Install Mozilla Firefox
Mozilla Firefox (known simply as Firefox) is a free and open-source web browser developed for Windows, OS X, and Linux, with a mobile version for Android, by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. Firefox uses the Gecko layout engine to render web pages, which implements current and anticipated web standards.
Official website of Mozilla Firefox
Direct link for download Mozilla Firefox 31
MacPorts [...] is a package management system that simplifies the installation of software on the Mac OS X and Darwin operating systems. It is a free/open source software project to simplify installation of other free/open source software
To install MacPorts, you need Xcode from the App Store and the Command Line Developer Tools.
Follow the indications on this page
Install packages with MacPorts
In a terminal (you can use konsole under KDE or gnome-terminal under Gnome):
sudo port -v selfupdate
To upgrade MacPorts
sudo port upgrade outdated
To upgrade packages
sudo port search package_name
To search a package by name
sudo port install package_name
To install the package named "package_name"
sudo port install python27 cmake git mercurial VLC p7zip
To install Python 2.7, CMake, Git, Mercurial, VLC, 7zip