Hi All, I am relatively new to Linux and have a question about tar files. I am running Suse 9.1 and had down load a tar file (firefox installer) into my download directory. I then untared it in my home dir and things were fine till I decided to delete the install dir. Well to make a long story short after deleting the folder I could no longer click on hyper links in email (evolution) to get to web pages etc. After much much googleing and mailing list searches, head banging on desk I found out how to fix it. I would have pulled out my hair but that option has all ready been used years ago. ...I'm bald now ..LOL My question is where is the best place to store and untar files in Suse 9.1 or any Linux distribution for that matter so I don't screw up as bad again ? Thanks in advance for your time and efforts. Cj "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
Chris White wrote:
I am running Suse 9.1 and had down load a tar file (firefox installer) into my download directory. I then untared it in my home dir and things were fine till I decided to delete the install dir.
Did you not run the installer? That would have put FF in e.g. /opt/firefox or wherever you'd like to have it.
My question is where is the best place to store and untar files in Suse 9.1 or any Linux distribution for that matter so I don't screw up as bad again?
Any where you want. Much depends on what you're untar'ing and where you want it. Source files for instance I tend to untar into /usr/src/packages/SOURCE and them build them from there, but I could have chosen almost anywhere. /Per Jessen, Zürich -- http://www.spamchek.com/freetrial - sign up for your free 30-day trial now!
On Tue, 2005-01-25 at 04:26, Chris White wrote:
Hi All,
I am relatively new to Linux and have a question about tar files.
I am running Suse 9.1 and had down load a tar file (firefox installer) into my download directory. I then untared it in my home dir and things were fine till I decided to delete the install dir. Well to make a long story short after deleting the folder I could no longer click on hyper links in email (evolution) to get to web pages etc. After much much googleing and mailing list searches, head banging on desk I found out how to fix it. I would have pulled out my hair but that option has all ready been used years ago. ...I'm bald now ..LOL
My question is where is the best place to store and untar files in Suse 9.1 or any Linux distribution for that matter so I don't screw up as bad again ? Thanks in advance for your time and efforts.
The best options for new users is to use RPM's. I created a folder called dload in my home directory that I place all downloads into. Then if I need to untar anything that is where I untar the file with tar xvzf filename.tar.gz on the command line or you can use a GUI program to untar a program. If you need to build the source code then you enter the directory and use ./configure, make and then as root you use make install to install the program. For binaries just follow the instructions provoided by the maker.
On Tue, 2005-01-25 at 07:26 -0500, Chris White wrote:
Hi All,
I am relatively new to Linux and have a question about tar files.
I am running Suse 9.1 and had down load a tar file (firefox installer) into my download directory. I then untared it in my home dir and things were fine till I decided to delete the install dir. Well to make a long story short after deleting the folder I could no longer click on hyper links in email (evolution) to get to web pages etc. After much much googleing and mailing list searches, head banging on desk I found out how to fix it. I would have pulled out my hair but that option has all ready been used years ago. ...I'm bald now ..LOL
My question is where is the best place to store and untar files in Suse 9.1 or any Linux distribution for that matter so I don't screw up as bad again ? Thanks in advance for your time and efforts.
I tend to untar installation files in /tmp and, as a general rule, they can be deleted afterwards if you want. Certainly, there should have been no problem deleting /firefox-installer as it is not needed to run firefox (unless, of course, that is where you do install it! I put it in /opt, some would put it in /usr/local)). Beware, though - some programs, such as thunderbird, need the untarred directory - this is the stand-alone program directory, where it runs. David -- Registered Linux User No 207521 The Linux Counter: http://counter.li.org/ "The above is my personal opinion and does not necessarily reflect that of the little voices in my head."
On Tue, 2005-01-25 at 08:40, David Robertson wrote:
On Tue, 2005-01-25 at 07:26 -0500, Chris White wrote:
Hi All,
I am relatively new to Linux and have a question about tar files.
I am running Suse 9.1 and had down load a tar file (firefox installer) into my download directory. I then untared it in my home dir and things were fine till I decided to delete the install dir. Well to make a long story short after deleting the folder I could no longer click on hyper links in email (evolution) to get to web pages etc. After much much googleing and mailing list searches, head banging on desk I found out how to fix it. I would have pulled out my hair but that option has all ready been used years ago. ...I'm bald now ..LOL
My question is where is the best place to store and untar files in Suse 9.1 or any Linux distribution for that matter so I don't screw up as bad again ? Thanks in advance for your time and efforts.
I tend to untar installation files in /tmp and, as a general rule, they can be deleted afterwards if you want. Certainly, there should have been no problem deleting /firefox-installer as it is not needed to run firefox (unless, of course, that is where you do install it! I put it in /opt, some would put it in /usr/local)). Beware, though - some programs, such as thunderbird, need the untarred directory - this is the stand-alone program directory, where it runs.
David -- Registered Linux User No 207521 The Linux Counter: http://counter.li.org/
"The above is my personal opinion and does not necessarily reflect that of the little voices in my head."
Thanks you all who replied. I will be doing my untaring in the temp dir from now on. What did happen is gnome ( I use KDE and evolution ) had linked to fire fox installer dir in my home dir for some reason to open a browser when I clicked on a hyper link in my emails and when I removed it I was no longer able to click on the links in emails to call up the browser. I got that it fixed now by linking it to the right place /usr/bin/firefox Thanks again for the help and tips gentlemen it is greatly appreciated. -- Cj Useing Linux Kernel 2.6.5-7.111.30 Platform i686 Athlon i386 GNU/Linux Email sent using SuSE Linux and Ximian Evolution.
participants (4)
-
Chris White
-
David Robertson
-
Keith
-
Per Jessen