Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Why does Mozilla want us to install Firefox to our home dir

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
white_tee_shirt
Posts: 17
Joined: 2018-02-08 17:03

Why does Mozilla want us to install Firefox to our home dir

#1 Post by white_tee_shirt »

Hi users,
I never understood this. I have come back to Debian after many years (switched to Fedora, Ubuntu, Mint, Kali, KDE and now back to Deb).
These are instructions for installing Firefox directly from Mozilla's website:
  • Download Firefox from the Firefox download page to your home directory.
    Note: If you want to have a choice of the language and operating system for your Firefox installation, please visit the Systems & Languages download page instead.
    Open a Terminal and go to your home directory: cd ~
    Extract the contents of the downloaded file: tar xjf firefox-*.tar.bz2
    Close Firefox if it's open.
    To start Firefox, run the firefox script in the firefox folder: ~/firefox/firefox
Why are their instructions like this? What use does it have in home directory?
If you install a fresh installation of Debian 9, you don't get FF in home Dir., and common sense tells me to upgrade/install where the existing copy is. How I have two versions of Firefox on my station at two different locations.
Last edited by white_tee_shirt on 2018-02-09 14:17, edited 1 time in total.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Why does Mozilla want us to install Firefox to our home

#2 Post by debiman »

there's also this:

Code: Select all

apt install firefox-esr
edit:
nobody forces you to keep two versions.
if you like the shiny new ff, just uninstall the sturdy ff-esr.

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: Why does Mozilla want us to install Firefox to our home

#3 Post by pawRoot »

doesn't have to be in home directory

https://wiki.debian.org/Firefox

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Why does Mozilla want us to install Firefox to our home

#4 Post by stevepusser »

If it's in your home folder, it's easier for their automatic update feature to work.
MX Linux packager and developer

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Why does Mozilla want us to install Firefox to our home

#5 Post by Bulkley »

Those instructions allow a user to download and run FF in his/her own account without having to call the IT guy. It is secure because it doesn't mess up anything that requires root permission. It is a nice way to try out different browsers. The down side is that whomever is acting as the IT guy may want the software installed properly so that all users can access.

There is definitely a choice involved. I have eight browsers (because I like to try different ones) of which only three run in user space.

white_tee_shirt
Posts: 17
Joined: 2018-02-08 17:03

Re: Why does Mozilla want us to install Firefox to our home

#6 Post by white_tee_shirt »

edit:
nobody forces you to keep two versions.
if you like the shiny new ff, just un-install the sturdy ff-esr.
I had no choice but update to a newer version because my Add-on (extension?) requires a newer version.

white_tee_shirt
Posts: 17
Joined: 2018-02-08 17:03

Re: Why does Mozilla want us to install Firefox to our home

#7 Post by white_tee_shirt »

Bulkley wrote:Those instructions allow a user to download and run FF in his/her own account without having to call the IT guy. It is secure because it doesn't mess up anything that requires root permission. It is a nice way to try out different browsers. The down side is that whomever is acting as the IT guy may want the software installed properly so that all users can access.

There is definitely a choice involved. I have eight browsers (because I like to try different ones) of which only three run in user space.
This is a good answer I can live with and adjust my perspective. Thanks!

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Why does Mozilla want us to install Firefox to our home

#8 Post by dilberts_left_nut »

white_tee_shirt wrote:I had no choice but update to a newer version because my Add-on (extension?) requires a newer version.
You could choose to use a different (or no) 'extension'. :D
AdrianTM wrote:There's no hacker in my grandma...

white_tee_shirt
Posts: 17
Joined: 2018-02-08 17:03

Re: Why does Mozilla want us to install Firefox to our home

#9 Post by white_tee_shirt »

Bulkley wrote:Those instructions allow a user to download and run FF in his/her own account without having to call the IT guy. It is secure because it doesn't mess up anything that requires root permission.
But it now does mess up my FF icon's though.
I lost the nice FF icons and for my latest version in ~/Downloads, the binaries have weird generic icons =(
And the shortcut of the application that I dragged and copied to the Desktop won't launch FF either.
See my screenshot
Image

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Why does Mozilla want us to install Firefox to our home

#10 Post by acewiza »

I normally put anything that doesn't already know where it wants to live in /opt.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Why does Mozilla want us to install Firefox to our home

#11 Post by stevepusser »

That "firefox" shortcut is just a text .desktop file. You have to open it with a text editor and edit the Exec= line to where Firefox is living now (probably /home/<username>/Downloads/firefox/firefox) and also the Icon= line to whatever icon file you want to use. Your downloaded Firefox has some .png files you can use it in someplace, or just download one of your own.
MX Linux packager and developer

sgage
Posts: 86
Joined: 2013-03-10 21:00
Has thanked: 1 time
Been thanked: 2 times

Re: Why does Mozilla want us to install Firefox to our home

#12 Post by sgage »

You can put it wherever you want. I have always put it in /opt. And the auto-update feature works fine.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Why does Mozilla want us to install Firefox to our home

#13 Post by stevepusser »

sgage wrote:You can put it wherever you want. I have always put it in /opt. And the auto-update feature works fine.
That is not possible unless you change the permissions on the /opt/firefox folder or are insane enough to run the browser as root.
MX Linux packager and developer

white_tee_shirt
Posts: 17
Joined: 2018-02-08 17:03

Re: Why does Mozilla want us to install Firefox to our home

#14 Post by white_tee_shirt »

stevepusser wrote:
sgage wrote:That is not possible unless you change the permissions on the /opt/firefox folder or are insane enough to run the browser as root.
Exactly

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Why does Mozilla want us to install Firefox to our home

#15 Post by dilberts_left_nut »

Which is why ~/ is the place for "user managed software".

Make a ~/bin dir and put them there ... or whatever suits.
AdrianTM wrote:There's no hacker in my grandma...

white_tee_shirt
Posts: 17
Joined: 2018-02-08 17:03

Re: Why does Mozilla want us to install Firefox to our home

#16 Post by white_tee_shirt »

stevepusser wrote:That "firefox" shortcut is just a text .desktop file. You have to open it with a text editor and edit the Exec= line to where Firefox is living now (probably /home/<username>/Downloads/firefox/firefox) and also the Icon= line to whatever icon file you want to use. Your downloaded Firefox has some .png files you can use it in someplace, or just download one of your own.
You are right. I found the firefox quantum icon in one of the sub directories and edited the properties to change the icon. Not sure how I can make shortcuts of an application. The file is an executable binary and hence i cant open it in a text editor

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Why does Mozilla want us to install Firefox to our home

#17 Post by debiman »

white_tee_shirt, in future please post a link instead of a full-sized image.
better yet to describe the issue in a few more words (often also helps with troubleshooting) instead of taking yet another screenshot.

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Why does Mozilla want us to install Firefox to our home

#18 Post by acewiza »

stevepusser wrote:
sgage wrote:You can put it wherever you want. I have always put it in /opt. And the auto-update feature works fine.
That is not possible unless you change the permissions on the /opt/firefox folder or are insane enough to run the browser as root.
Filesystem permissions changes are not required for a normal user to run FF from /opt.

At least not the latest current version.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Why does Mozilla want us to install Firefox to our home

#19 Post by stevepusser »

I thought we were talking about the auto update, since that is what I started my posts in this thread about, and I have stuck to that. You can't use auto-update when it's in /opt without changing some things from the norm, since the standard user does not have permission to change any files there. If you are running the browser as root, sure, it can update itself. Otherwise, you have to change the permissions of /opt/firefox to get it to work.
MX Linux packager and developer

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Why does Mozilla want us to install Firefox to our home

#20 Post by acewiza »

stevepusser wrote:I thought we were talking about the auto update...
Right, my bad. :mrgreen:

I guess my thought was if you don't have root on the box, you probably shouldn't be too concerned about what software is getting installed where/how.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

Post Reply