I am quite new on linux so be patient please. After downloaded mozilla from its website, the file must be uncompressed. Actually it is on Desktop and when clicking on the executable it works.


To make it executable as firefox from terminal I am not sure if: An alias must be defined or the executable must be saved on a particular directory (I didn't downloaded it from synaptic because it is outdated).

I have searched on the web but didn't find anything clear enough.

Any help?



cd /home/alumno/firefox/

Then if I list here:

application.ini     gmp-clearkey        libnss3.so       minidump-analyzer
browser             gtk2                libnssckbi.so    omni.ja
chrome.manifest     icons               libnssdbm3.chk   pingsender
crashreporter       icudt59l.dat        libnssdbm3.so    platform.ini
crashreporter.ini   libfreeblpriv3.chk  libnssutil3.so   plugin-container
defaults            libfreeblpriv3.so   libplc4.so       plugin-container.sig
dependentlibs.list  liblgpllibs.so      libplds4.so      precomplete
dictionaries        libmozavcodec.so    libsmime3.so     removed-files
firefox             libmozavutil.so     libsoftokn3.chk  Throbber-small.gif
firefox-bin         libmozgtk.so        libsoftokn3.so   updater
firefox-bin.sig     libmozsandbox.so    libssl3.so       updater.ini
firefox.sig         libmozsqlite3.so    libxul.so        update-settings.ini
fonts               libnspr4.so         libxul.so.sig

(on the first column is the binary).

  • 4
    It would be best to use your distributions package management system to install software, esp. "universal" stuff like Firefox or Chrome/Chromium - this way, the package manager will keep it all up to date, paths for libraries and binaries will be correct, etc. – ivanivan Jan 30 '18 at 17:32
  • @ivanivan that's why I wrote that on my distribution mozilla is outdated and need the new one.. – santimirandarp Jan 30 '18 at 17:33
  • From a terminal, can you cd into the directory or ls the directory where the firefox binary is? If so, can you add that information to the question so that a solution on what exactly to add to your PATH (and how to add it) to make firefox run from a terminal, please? – WEBjuju Jan 30 '18 at 17:45
  • Yes I will @WEBjuju – santimirandarp Jan 30 '18 at 17:47
  • What Linux distribution are you using? – Time4Tea Jan 30 '18 at 18:41

Following suit with this answer from another community...but tailoring it per your specific need:

You need to add [something like this] to your ~/.profile or ~/.bashrc file [or ~/.bash_profile].

export PATH=$PATH:/home/alumno/firefox/

If there is already a PATH export, you just need to postpend :/home/alumno/firefox/ like this:

export PATH=[...existing PATH additions]:/home/alumno/firefox/

Don't forget to restart your terminal and/or source that file you have the export statement in.


Create a symbolic link:

ln -s /home/alumno/firefox/firefox /usr/bin/firefox 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.