Skip to content

Building Floorp on Linux

📦 Requirements

Machine Specifications

  • Memory: Minimum 4GB RAM, 8GB+ recommended.
  • Disk Space: At least 40GB of free disk space.
  • Operating System: Ubuntu 20.04 LTS or later. You should update to the latest version of Ubuntu.

Required Tools

Ubuntu:

Terminal window
sudo apt install curl python3 pip

Fedora:

Terminal window
sudo dnf install python3 python3-pip

📦 Building Floorp

  1. Open your Linux Terminal.

  2. Clone the Floorp repository.

    Terminal window
    git clone https://github.com/Floorp-Projects/Floorp.git
    git submodule update --init --recursive
  3. Run the following command to install the dependencies. Before building Floorp, you need to select a build option. Please select the following choice:

    [1] Build Floorp for Desktop.

    The other choices are not supported yet. The next selection depends on your choice.

    Terminal window
    cd Floorp
    ./mach bootstrap
  4. Run the following commands to build Floorp.

    Terminal window
    // Create mozconfig
    echo 'ac_add_options --with-branding=browser/branding/official' >> mozconfig
    echo 'ac_add_options --with-app-basename=Floorp' >> mozconfig
    echo 'ac_add_options --with-app-name=floorp' >> mozconfig
    echo "ac_add_options --enable-bootstrap" >> mozconfig
    // build Floorp
    ./mach configure
    ./mach build
  5. Run the following command to run Floorp.

    Terminal window
    ./mach run

Congratulations! You have successfully built Floorp!