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

 

 

 

trying to install firefox -- sudo isn't helping

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
oospill
Posts: 3
Joined: 2010-03-02 20:46

trying to install firefox -- sudo isn't helping

#1 Post by oospill »

hello. I'm trying to install firefox. I'm having trouble getting permissions to move the tar file to /usr/lib/ .. then again, the site I'm looking at is dated 2008.

can anyone walk me through installing firefox on debian?

thanks!!

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: trying to install firefox -- sudo isn't helping

#2 Post by craigevil »

Switching from Debian Iceweasel to Firefox, permanently - http://techpatterns.com/forums/about143 ... ht=firefox
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
Rolling Stone
Posts: 366
Joined: 2009-02-15 18:55
Location: Turku, Finland

Re: trying to install firefox -- sudo isn't helping

#3 Post by Rolling Stone »

Why would you want to install Firefox?

fsmithred
Posts: 1873
Joined: 2008-01-02 14:52

Re: trying to install firefox -- sudo isn't helping

#4 Post by fsmithred »

I'm guessing you didn't add yourself to /etc/sudoers. Don't bother.

To become root.

Code: Select all

su
OR

Code: Select all

 su -
The latter will put root in its own environment instead of your user's environment. You can then copy, move, edit or do anything else to system files.

To run a gui program with root privileges.

Code: Select all

gksu [some program]
OR (if you use kde)

Code: Select all

kdesu [some program]
If you're crazy enough to run a file manager this way, be careful. One wrong click could destroy your system.

And if you wanted to install firefox without ever needing to become root, just unpack it in your home directory, rename or remove the firefox/plugins directory, and make the link to /usr/lib/mozilla/plugins. Add it to your menu or make a button on the panel, set the command to /home/your-user-name/firefox/firefox. If your desktop has a way to set preferred applications, you can do the same there. Note that this does not replace or remove iceweasel, and it makes firefox available to only one user.

Open a terminal and issue the following commands. (the firefox tarball should be in your home directory, not on the desktop.)

Code: Select all

tar -xvjf firefox<version>.tar.bz2
mv firefox/plugins firefox/plugins.orig
ln -s /usr/lib/mozilla/plugins firefox/plugins
firefox/firefox   (to prove that it works)
Then deal with any of the button, menu and preferred apps stuff.

oospill
Posts: 3
Joined: 2010-03-02 20:46

Re: trying to install firefox -- sudo isn't helping

#5 Post by oospill »

tip of the hat. thank you all for the posts!! :D

User avatar
xze
Posts: 6
Joined: 2010-04-09 00:12

Re: trying to install firefox -- sudo isn't helping

#6 Post by xze »

If you like using bleeding edge software, or don't mind it -- download the nightlies and run them out of the folder; as a portable app. Then, you can just create a launcher or link somewhere that works for you.
Debian Sid

Post Reply