How to manually install an app on Ubuntu

Posted on: Saturday, Jan 27, 2018

You can install many applications on Ubuntu through its package manager. This is usually a very good way to install apps. It's easy and keeping them updated is also easy. However, there are occasional times when you need to install an Ubuntu application manually. Sometimes that's the only way it's available or sometimes the app refreshes frequently and you can't get the version you want through the package manager.

Firefox Developer Edition (FDE) is one such app. There is a PPA available for FDE, but installing FDE through the package manager overwrites the existing Firefox installation and you're likely to not get the latest version of FDE. This article shows how to install FDE on Ubuntu without disturbing your existing Firefox installation.

Beware that unstalling apps manually also means you need to keep them updated manually. The package manager doesn't know about them and won't refresh them for you. Generally, updating a manually-installed app simply means installing the newer version.

Shortly after writing this article I realized what a hassle it is to go through these steps manually each time you need to refresh an application installation. This article provides a reusable Bash script for the steps described here.

To install FDE manually:

  1. Download the latest FDE version. These instructions assume the download is in the ~/Downloads/firefox directory.

  2. Extract the tar file:

    $ cd ~/Downloads
    $ tar xvjf firefox-59.0b4.tar.bz2 

    This unzips the file into a ~/Downloads/firefox directory. Note the download is not a gzip file, but rather a bZip2 file. Thus you need to use tar's xvjf flags instead of the xvzf flags you'd typically use for a gzip file.

    gzip (.gz)  =  X-Ray, Victor, Zulu, Foxtrot
    bZip2 (.bz2) = X-Ray, Victor, Juliet, Foxtrot
  3. Create target directory in the /opt directory for the FDE:

    $ cd /opt
    $ mkdir firefox-dev

    Provide the sudo password when prompted.

    For Windows expats, Ubuntu's /opt directory is generally used to store software on your PC that isn't known to the Ubuntu package manager (Linux lore says the name opt derives from "optional".) While, as you'll see here, installing software on Ubuntu is a little more fiddly than it is on Windows, it's also a lot more self-contained and easy to remove if you don't want to keep using it. Ubuntu doesn't have a registry like Windows and its apps don't invade your PC like kudzu!

  4. Copy FDE files to the /opt/firefox-dev directory:

    $ cd ~/Downloads
    $ mv firefox/* /opt/firefox-dev

    You can now delete the zip file from your ~/Downloads directory.

  5. With the FDE binaries now in the /opts/firefox-dev directory FDE should launch. If it doesn't, double-check each previous step. Don't continue until it does launch!

    $ cd /opt/firefox-dev 
    $ ./firefox       
  6. Create the following application .desktop file in the ~/.local/share/applications directory and make it executable:

    $ cd ~/.local/share/applications
    $ touch firefox-dev.desktop
    $ chmod +x firefox-dev.desktop

    Open the firefox-dev.desktop file with Vim or some other text editor and paste the following contents into it:

    [Desktop Entry]
    Name=Firefox Developer 
    GenericName=Firefox Developer
    Comment=Firefox Developer Edition Web Browser.

    firefox-dev.desktop file. 

    After saving the file you should now be able to search for FDE with Ubuntu's application launcher. It and (if it's installed) your original version of Firefox are available.

    Note: It's a good idea to test the value you provide to the Exec key on the command line and confirm the location of the app's icon before creating the .desktop file. If you misspell something, it fails silently!

  7. If you also want a desktop shortcut for FDE, copy ~/.local/share/applications/firefox-dev.desktop to the ~/Desktop directory.

Launching FDE from the command line

To launch FDE from the command line, create the following text file named fde

#!/usr/bin/env bash

if [ $# -eq 0 ]
    /opt/firefox-dev/firefox &>/dev/null
    /opt/firefox-dev/firefox $1 &>/dev/null

Bash script to launch FDE

and save it to /usr/local/bin. Make it executable with:

chmod +x fde

To open index.html in a project folder:

$ fde index.html


  • Levitra Alcolici Viagra Generico Spedizione 24 Ore Cheap Levitra Canada [url=]generic cialis from india[/url] Urethritis Zithromax Viagra Danemark Rezeptfrei Canadain Drugs

    Submitted by Ellmype
    11 months ago
  • Buy Albuterol Inhaler Online Cheap Zithromax Without Prescription Price Cialis 5mg No Prescription [url=]online pharmacy[/url] Buy Online Levitra

    Submitted by Matuncodo
    10 months ago
  • Propecia With Synthroid Belladonna Medication Generic Adderall Buy Canada [url=]cialis[/url] Free Viagra Samples From Canada Buy Plavix Online Usa

    Submitted by Lessmal
    10 months ago
  • Tadalafil Ebay [url=]viagra[/url] Cialis Composicion Cialis Serios Bestellen Viagra Cialis Silagra

    Submitted by Matuncodo
    10 months ago
  • - 퍼스트카지노/ - 더나인카지노/

    Submitted by joecorma
    9 months ago
  • - 코인카지노/ - 더나인카지노/

    Submitted by loiddelacruz
    9 months ago
  • - 예스카지노/ - 코인카지노/

    Submitted by annabaelhooro
    9 months ago
  • - 코인카지노/ - 더나인카지노/

    Submitted by balagtasadew
    9 months ago
  • Propecia Side Effects Sperm Impotence Get Online Levitra Prescription [url=]viagra online[/url] Ou Acheter Viagra France Achat De Viagra Viagra Originalverpackung Cialis Effet Placebo

    Submitted by Lessmal
    7 months ago
  • Isotretinoin Order Levitra Assuefazione [url=]levitra plus puissant[/url] Cialis Officiel

    Submitted by Lessmal
    7 months ago
  • Propecia 30 Mg Propecia Indicaciones Shelf Life Of Amoxicillin [url=]cialis 5 mg[/url] Cheap Non Prescription Finasteride 5mg Fluconazole Cheap

    Submitted by Lessmal
    7 months ago
  • Priligy Farmacia Prezzo [url=]levitra online overnight delivery[/url] Dosage For Amoxicillin 500mg Discount Lasix Online Levitra Zerkauen

    Submitted by Stevliva
    7 months ago
  • canadian pharmacy meds review <a href=" ">best canadian online pharmacy</a> canadian pharmacy for viagra

    Submitted by Georgenourf
    3 months ago
  • canadian online pharmacy cialis <a href=" ">canadian pharmacy levitra value pack</a> online pharmacy viagra

    Submitted by Georgenourf
    3 months ago
  • viagra vs cialis vs levitra

    Submitted by Glenncaula
    3 months ago
  • how long for viagra to take effect

    Submitted by Glenncaula
    3 months ago
  • cialis side effects <a href=" ">canadian pharmacy viagra</a>

    Submitted by CharlesRaw
    3 months ago
  • viagra samples <a href=" ">otc cialis</a> canadian family pharmacy [url=]how long does it take cialis to take effect[/url] daily use of cialis

    Submitted by Brianbooro
    3 months ago
  • a z 2 0

    Submitted by DouglasDrido
    2 months ago
  • y 1 e h

    Submitted by DouglasDrido
    2 months ago
  • Cialis Prostata [url=]Buy Cialis[/url] Q Es Propecia <a href=>cheapest cialis</a> Acheter Priligy Usa

    Submitted by Ellmype
    2 months ago
  • herb viagra

    Submitted by gxcccgbu
    1 month ago
  • Пин Ап казино [url=]Pin Up Casino[/url] официальный сайт играть на деньги или бесплатно

    Submitted by PinUp
    1 week ago
  • Anybody home? :)

    Submitted by Kristinasap
    1 week ago
  • what is better buspar or xanaxusing xanax for anxiety <a href="">xanax 3mg bars</a> xanax withdrawal heart ratecan xanax make you lose weight

    Submitted by getusabix
    5 days ago

Add your comment
You email is never shared with anyone else.

© Copyright 2017 by Roger Pence. All rights reserved.