Results 1 to 15 of 15

Thread: Install Firefox in Kali (Best Way)

  1. #1
    Join Date
    2013-Mar
    Location
    n0wh3r3
    Posts
    53

    Lightbulb Install Firefox in Kali (Best Way)

    There are some other ways also to install Firefox in Kali like linuxmint debian repository, PPA etc. But the method i am sharing is the best and works 100% If you want to install the Firefox in Kali run the following commands in your terminal remember it will first remove the Kali default browser Iceweasel. Iceweasel is Firefox only with different name and logo. But for some people it doesn't give a real Firefox experience. I also removed the Iceweasel and running the Firefox

    Code:
    apt-get remove iceweasel
    echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null
    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
    apt-get update
    apt-get install firefox-mozilla-build
    Hope You Will Enjoy......

  2. #2
    I tried your howto but following error accours. How can I fix it?
    tried apt-get remove firefox-mozilla-build
    apt-get install firefox-mozilla-build

    always the same error.

    Any help would be appreciate.

    Code:
    dpkg: error processing firefox-mozilla-build (--configure):
     package firefox-mozilla-build is not ready for configuration
     cannot configure (current status `half-installed')
    Errors were encountered while processing:
     firefox-mozilla-build
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  3. #3
    I tried your howto but following error accours. How can I fix it?
    tried

    apt-get remove firefox-mozilla-build
    apt-get install firefox-mozilla-build
    apt-get install -f

    always the same error.

    Any help would be appreciate.

    Code:
    dpkg: error processing firefox-mozilla-build (--configure):
     package firefox-mozilla-build is not ready for configuration
     cannot configure (current status `half-installed')
    Errors were encountered while processing:
     firefox-mozilla-build
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  4. #4
    Join Date
    2013-Mar
    Location
    n0wh3r3
    Posts
    53
    Quote Originally Posted by tr00n3r View Post
    I tried your howto but following error accours. How can I fix it?
    tried apt-get remove firefox-mozilla-build
    apt-get install firefox-mozilla-build

    always the same error.

    Any help would be appreciate.

    Code:
    dpkg: error processing firefox-mozilla-build (--configure):
     package firefox-mozilla-build is not ready for configuration
     cannot configure (current status `half-installed')
    Errors were encountered while processing:
     firefox-mozilla-build
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    its mentioned apt-get remove iceweasel not firefox anyways open this file "/etc/apt/sources.list" with your favorite editor and see is this repository added in your sources.list file "deb http://downloads.sourceforge.net/pro...la/mozilla/apt all main"
    if not then add it manually save the file and do the further steps as mentioned in my post carefully. If problem not solve then contact me or send me your sources.list file. For your safety make a backup of your sources.list file before editing thanks.
    Last edited by Hitman; 2013-04-19 at 15:54.

  5. #5
    thanks for the fast reply:

    sources.list:

    Code:
      GNU nano 2.2.6                       File: sources.list                                                      
    
    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130311-19:56]/ kali co$
    
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    
    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    
    deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
    iceweasel is already uninstalled
    Code:
    Package 'iceweasel' is not installed, so not removed

  6. #6
    Join Date
    2013-Mar
    Location
    n0wh3r3
    Posts
    53
    GNU nano 2.2.6 File: sources.list

    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130311-19:56]/ kali co$

    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib

    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    ## Custom Repostories
    deb http://downloads.sourceforge.net/pro...la/mozilla/apt all main
    Your sources file is OK. I put an remark in it its a good practice whenever edit in the default files so that you know which one is your editing and which are the defaults.

    Anyhow run the remaining commands and check.

    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
    apt-get update
    apt-get install firefox-mozilla-build
    If its not working then remove the deb http://downloads.sourceforge.net/pro...la/mozilla/apt all main line from sources.list and run apt-get update && apt-get upgrade after that again add deb http://downloads.sourceforge.net/pro...la/mozilla/apt all main in sources.list and run the other commands.

    If all fails then i will tell you the other way but that is little bit difficult.

  7. #7
    sorry for late response - I couldn't get dpkg to run properly so I restored my backup from the day before without firefox.

  8. #8
    Join Date
    2014-Feb
    Posts
    1
    I followed your steps and got them same error

    Fetched 31.2 MB in 3min 27s (151 kB/s)
    Selecting previously unselected package firefox-mozilla-build.
    (Reading database ... 329461 files and directories currently installed.)
    Unpacking firefox-mozilla-build (from .../firefox-mozilla-build_27.0.1-0ubuntu1_amd64.deb) ...
    dpkg-divert: error: `diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build' clashes with `diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
    dpkg: error processing /var/cache/apt/archives/firefox-mozilla-build_27.0.1-0ubuntu1_amd64.deb (--unpack):
    subprocess new pre-installation script returned error exit status 2
    dpkg-divert: error: mismatch on divert-to
    when removing `diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu by firefox-mozilla-build'
    found `diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
    dpkg: error while cleaning up:
    subprocess new post-removal script returned error exit status 2
    Errors were encountered while processing:
    /var/cache/apt/archives/firefox-mozilla-build_27.0.1-0ubuntu1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  9. #9
    Join Date
    2014-Feb
    Location
    US
    Posts
    3
    This is great!
    Thank you.

  10. #10
    Join Date
    2014-Aug
    Posts
    4
    ftp://ftp.mozilla.org/pub/mozilla.or...x-30.0.tar.bz2

    download the above package, unpacked in any method and anywhere you like. Then you'll get the firefox folder. Double click the folder then double click the firefox icon and it will start normally check and import every thing from Iceweasel.

    you can't type firefox command in the Terminal. So 'make link' the firefox icon then cut it and open filesystem folder then bin folder and paste it and change its name to 'firefox'. That's, Now you can call firefox command in the terminal.

    Good luck.

  11. #11
    what the **** is goin on with them ? anyone you asked toold you this :
    1st : remove iceweasel ,
    stop dude, i won't remove it at all , i just asked'em to help me to install firefox

    sorry for this they bothered me , can you please help me ?

  12. #12
    McNight,

    Download Firefox from their website
    Extract the file
    Create a symbolic link after moving it to the /opt directory.

    tar xjf firefox-*.tar.bz2
    mv ~/firefox/ /opt/firefox
    ln -sf /opt/firefox/firefox /usr/bin/firefox
    Last edited by Rarity; 2015-06-21 at 04:12.

  13. #13
    thank you friend

  14. #14
    thank you Hitman this is the point i don not want to remove my iceweasel browser

  15. #15
    Join Date
    2015-Sep
    Posts
    1
    Hi Guys,

    If you have any problem during the installion, the package will be 'half installed'.. So can not be configured correctly.. You just need to check your sources.list to see if firefox apt source all main is good, and then open a new terminal and tape :

    'apt-get install --reinstall firefox'

    wait until reinstall and config is finish and then tape :

    'firefox'

    Cheers

Similar Threads

  1. Replies: 0
    Last Post: 2016-06-29, 15:52
  2. firefox install in kali occur error
    By when123 in forum General Archive
    Replies: 5
    Last Post: 2013-10-26, 09:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •