LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-29-2005, 11:49 AM   #1
solutionseeker
Member
 
Registered: Jan 2005
Location: US
Distribution: Debian for now
Posts: 43

Rep: Reputation: 15
tar -zvf file.gz in which directory to open?


I put the file.gz in the usr/bin directory from root user.

Then I typed tar -zvf .gz file in the /usr/bin and it opened and it has /usr/bin/myexefile in it

I think I should have placed it in root because now I have to go to
/usr/bin/usr/bin/myexefile and when I run program its looking for stuff in the /usr/lib/libpthread...

If I just delete the usr directory under usr/bin then will that be okay?
or there is another way to get rid of it ?
 
Old 01-29-2005, 12:02 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Is it a tar.gz file. If so, you need to save it somewhere like /usr/src or your home directory e.g I save mine in /home/myuserid/downloads/src. You then extract it as follows,
$tar -xzvf filename.tar.gz
change into the extracted directory as follows
$cd filename
then to install you do
$./configure
$make
#make install (as root)
Not all packages are installed that way so you may have to read the README file or the INSTALL file.
 
Old 01-29-2005, 12:09 PM   #3
solutionseeker
Member
 
Registered: Jan 2005
Location: US
Distribution: Debian for now
Posts: 43

Original Poster
Rep: Reputation: 15
I already have it in usr/bin/usr/bin how do I remove from there first ?
 
Old 01-30-2005, 01:31 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you just remove them from the /bin direcory as well as the /usr/bin/usr/bin then you should be alright.
 
  


Reply



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
libtermcap.so.2: cannot open shared object file: No such file or directory tcma Linux - Software 11 02-24-2012 03:00 AM
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 12:59 AM
How open the file .tar.gz Haroon Linux - General 1 10-07-2004 01:36 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM
How to open a *.tar.gz file ? juanb Linux - General 2 04-06-2003 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:37 PM.

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