trying to install firefox -- sudo isn't helping

New to Debian (Or Linux in general)? Ask your questions here!

trying to install firefox -- sudo isn't helping

Postby oospill » 2010-03-04 14:11

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!!
oospill
 
Posts: 3
Joined: 2010-03-02 20:46

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

Postby craigevil » 2010-03-04 15:02

Switching from Debian Iceweasel to Firefox, permanently - http://techpatterns.com/forums/about143 ... ht=firefox
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

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

Postby Rolling Stone » 2010-03-04 17:41

Why would you want to install Firefox?
User avatar
Rolling Stone
 
Posts: 372
Joined: 2009-02-15 18:55
Location: Turku, Finland

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

Postby fsmithred » 2010-03-04 22:39

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.
fsmithred
 
Posts: 1868
Joined: 2008-01-02 14:52

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

Postby oospill » 2010-03-05 01:53

tip of the hat. thank you all for the posts!! :D
oospill
 
Posts: 3
Joined: 2010-03-02 20:46

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

Postby xze » 2010-04-09 00:36

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
User avatar
xze
 
Posts: 6
Joined: 2010-04-09 00:12


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable