Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-30-2006, 05:31 PM   #1
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 473

Rep: Reputation: 34
Question Location of Down Loaded Code


I opened up the Firefox browser in SuSe 9.2 and and clicked on a title which requested me to download the update to the Flash player which did.

It said it would load the tar file down to the desk top which it didn't, put it in the tmp directory.

I'm going to exceute the script code to install the plug in so I'm guessing the code will go into the right place...corectly me of I'm wrong here.

Where should I store the original tar what directory? Or should I just delete it.

Also, when I install new programs should the code be stored so every user in the system can gain access to the new program.

Old 12-30-2006, 07:01 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
When Firefox is installed by using SuSE YaST from a SuSE package repository then you will have Firefox files all over your system. When you install Firefox from a tar ball obtained at the Mozilla site you will have all of the Firefox files contained in one directory tree named firefox. You will generally expand this tar ball in the /opt directory so it will create a subdirectory called /opt/firefox. Let's say that the Firefox tar ball is called firefox.tar.gz and you have placed it in the /tmp directory. You would install it as follows:
Log on as root.
Check to see if there is already a firefox directory. If there is then rename it.
cd /opt
. .. firefox
mv firefox firefox.old
Enter the following commands to install the new version of Firefox.
cd /opt
tar xzvpf /tmp/firefox.tar.gz
You will end up with a directory called /opt/firefox which will contain all of the Firefox files.

Then check to see if there is an executable or a link named firefox in the /bin directory.
ls -l /bin/firefox
If there is one then rename it.
cd /bin
mv firefox firefox.old
Then you can create a new link to the new firefox executable.
cd /bin
ln -s /opt/firefox/firefox firefox
This new version of Firefox will not have any plugins. If you want to add plugins at the system level then you put the files in the /opt/firefox/plugins directory. Check the permissions after you copy plugin files into this directory to ensure that normal user accounts can access the files.

Once this is done then it doesn't matter if you keep the tar ball or if you delete it.

If your system had Firefox previously installed via SuSE YaST then there will be old Firefox files all over your system. They won't do any harm. The only potential problem is that KDE icons and things that start Firefox may not know about the new Firefox location. That is why we created the firefox link in the /bin directory. Just be aware that if a normal user has trouble running Firefox from a desktop icon this may be the source of the problem. In these cases you simply edit the properties of the desktop icon to look for firefox in the /bin directory or in the /opt/firefox directory.

I hope this was helpful.

Last edited by stress_junkie; 12-30-2006 at 07:17 PM.
Old 12-31-2006, 12:53 AM   #3
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
That would be the Flash tarball, not the Firefox tarball, stress_junkie.
I didn't know that the Flash tarball came with an installer, but that' s beside the point. You can get rid of the tarball when you're done installing. If there's a misunderstanding and there is no installer, just copy the to the Firefox plugins directory (/usr/lib/firefox/plugins on Ubuntu, but it's probably different for SuSE.) Use the 'locate' command to find it. Make sure you don't put it in /home/<username>/.mozilla/plugins or it will only be installed for you. Also note that you'll need root privileges to copy the file.

Also, when I install new programs should the code be stored so every user in the system can gain access to the new program.
Flash is an atypical case, most programs come in through your package manager, YaST. That's the most ideal way to install most programs, and will also install it for all users on the system. As expected, it needs root privileges.
Old 12-31-2006, 10:05 AM   #4
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 473

Original Poster
Rep: Reputation: 34
Thanks folks.

All of this is big help because for the most part I'm fairly new at all of this. Mostly used to Windoz.

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: location in location eantoranz Linux - Networking 2 08-08-2005 09:37 PM
User Preferences: Use HTML code instead of vB code? (vB code is overrated) stefanlasiewski LQ Suggestions & Feedback 5 07-26-2005 01:37 AM
what is the file location of Redhat source code?? nazib Linux - General 1 02-26-2005 03:18 AM
paraport_pc module loaded with wrong options, st not loaded adrianmariano Debian 2 12-18-2004 09:37 PM
Location of kernel source code mhl Mandriva 2 11-30-2003 05:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration