LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-24-2004, 05:00 AM   #1
backflip
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Installing software


I'm a complete newbie, so don't expect too much. I downloaded F-Prot AV to home/james/My Stuff/Downloads/fp-linux-ws.tar.gz. I tried to decompress by CD then xvfz filename.tar.gz but the file couldn't be found. When I opened the home/james folder I can see the download file but when I click on the tree to the left, the download folder is showing empty. I also have another folder in the same directory (Miscellaneous) where I keep notes, I can also see them, but again the tree shows that folder to be empty. What am I missing here?

Thanks
 
Old 05-24-2004, 06:14 AM   #2
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
make sure you write the filename correctly...
cd to the folder where the file is located and then type
'tar xvzf <filename>' (i hope you didn't forget to put tar in front...)
You should then see a list of all the containing files copied to a folder with the same name...
cd to that folder and begin your installation...
If this is what you've already done, i suggest you open a konqueror (if u r using KDE) window, find the .tar file and open it....Just to make sure the archive is ok...
If you find anything, drop a line...
 
Old 05-24-2004, 07:09 AM   #3
backflip
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for that but when I use CD it can't find the file or folder. I tried CD then dragged the actual folder home/james/Mty Stuff/Downloads (where the file is) onto the terminal and pressed enter, but again it said 'no such file or folder.' Sorry about this, but I'm completely lost with Linux, despite googling!!. And why isn't it showing the folder in the tree, it shows the actual 'downoad' folder there but it shows empty, even though I can open that folder an see the downloaded file? And also those other files I've got in the same directory in a folder 'miscellaneous,' I can open that folder and see the files, but the tree shows miscellaneous to be empty.
 
Old 05-24-2004, 07:43 AM   #4
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
I still believe that there's got to be some kind of mistyping...
Have you tried 'cd home/james/Mty Stuff/Downloads' or 'cd /home/james/Mty Stuff/Downloads'?
Be careful not to forget the leading / as this will cause an error (cause then you really don't give the os a chance to find the file or folder...)
You could also (from konsole) go to 'home/james/Mty Stuff/Downloads' and give:
'ls -l > dirlist' (without the quotes)
This will create a file named 'dirlist' with the directory files and folders and their properties (security rights,etc)
Copy/paste the contents of this file in your reply here so we can check if it has anything to do with security...
One more thing you didn't answer me:
When you go to this folder from GUI (konqueror, etc.) and not from console, can you open the .tar file ? (double-click on it - you should see it's contents)
Are you sure that the archive is ok? Could it be broken?
BTW, i'm a newbie too...It's not easy for all of us...but it's fun!!! So, just keep on trying man!!!!

 
Old 05-24-2004, 08:04 AM   #5
backflip
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
This is what I get

[james@localhost james]$ cd
[james@localhost james]$ tar xvzf /home/james/My Stuff/Downloads/fp-linux-ws.tar.gz
tar (child): /home/james/My: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Stuff/Downloads/fp-linux-ws.tar.gz: Not found in archive
tar: Error exit delayed from previous errors
[james@localhost james]$

I'm using genome, when I click on the tar file it opens and all the files are there. Why can't the tree see it or the other files I mentioned.

Thanks
 
Old 05-24-2004, 08:08 AM   #6
belkins
Member
 
Registered: Apr 2003
Posts: 60

Rep: Reputation: 15
Have you tried doing it as root?
 
Old 05-24-2004, 09:04 AM   #7
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
It seems that the problem is created cause u r using the full path to the .tar file and one of the folders is made of two words (the error states: tar (child): /home/james/My: Cannot open: No such file or directory).
It's probably having a problem with 'My Stuff' folder...
Try first to 'cd' to the 'Downloads' directory and type:
'tar xvzf fp-linux-ws.tar.gz' (using the relative path, not the full one...)
I guess this should work....
 
Old 05-24-2004, 10:03 AM   #8
backflip
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks Orlonas, when I try to cd to downloads this is what I get. Am I doing this right, running terminal and entering the following ( I tried every format I could think of.)

[james@localhost james]$ cd /Downloads/
bash: cd: /Downloads/: No such file or directory
[james@localhost james]$ cd /Downloads
bash: cd: /Downloads: No such file or directory
[james@localhost james]$ cd ./Downloads
bash: cd: ./Downloads: No such file or directory
[james@localhost james]$ cd ./Downloads/
bash: cd: ./Downloads/: No such file or directory
[james@localhost james]$

I've tried root but still no go. I feel it is something basic I'm missing out on, I'm such a complete newby. I still don't know why the tree shows Downloads, but the folder as being empty.
Windows may have it problems but this..........................
 
Old 05-24-2004, 10:12 AM   #9
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
First of all, you're in 'James' folder, and as far as you've told me, you should first cd to 'My Stuff'.
Now, in case you don't know, there's a great key named 'TAB' which has the special task of completing the names of the files/folders you've started to type...
Also, you should not forget that linux is CASE SENSITIVE, so 'Downloads' is different than 'downloads'....
Now, open up konsole.
You should be in your home folder. Type:
'cd My[Press TAB]'
The line should be completed with the full name of the folder...Something like 'cd \My \Stuff/'..
Press enter. Now you should be in 'My stuff' folder...
Then type: 'cd Down[TAB]' -->It will once again fill in the remaining letters..Press enter again...
Now you should be in the 'Downloads' folder...
Go on from then on...
 
Old 05-24-2004, 11:35 AM   #10
backflip
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks Orlonas for sticking with this. I try and cd to MyStuff (I changed the name to make it one rather than two separate names) and it says it can't find the file or folder. Am I using cd right I wonder...I told you I was useless with Linux. I'm at my desktop, I click on the terminal in the taskbar, it pops up, I type cd, then press enter, then type /Downloads ( or just Downloads or Downloads/ or ../Downloads or ./Downloads) and it can't find the file. I must be doing something basically wrong.
 
Old 05-24-2004, 11:55 AM   #11
backflip
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Orlonas...we're getting somewhre at last. I followed your advice regarding TAB and managed to untar the files.
I cd to the directory where it is (still in Downloads) and enter 'make' before 'make install and this is what I get.

[james@localhost james]$ cd MyStuff/
[james@localhost MyStuff]$ cd Downloads/
[james@localhost Downloads]$ cd f-prot
[james@localhost f-prot]$ make
make: *** No targets specified and no makefile found. Stop.
[james@localhost f-prot]$
I thought all I had to do was type make press enter, then make install, press enter. What am I doing wrong this time. Wow, this has been a steep learning curve for me.
 
Old 05-24-2004, 02:55 PM   #12
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
Thumbs up

I'm very glad i could help you out...
Now though, allow me to become a bit ANGRY at you ...
You should try to read some more on your own cause what you're asking now is basically one of the MOST WRITTEN articles...
Anyway, here's a clue:
You tried to create the package without first checking for dependencies on your system....
THEREFORE, you should have in mind from now on that step 1 in installing a source package is:
'./configure'
This script will check that everything the app you are about to install needs is in place..
If anything is missing, you will get an error (quite probably- you will get some...or many!)
THEN, if all goes well, the binary package will be ready to be created by typing:
'make'
When this finishes, you will have your binary package ready for installation....
The last step is logging as root and typing:
'make install'
This will ultimately install the package...
IMHO, before starting installing source packages, you should get a book or read some articles regarding the use of console, basic commands used, etc...
This is how everybody started, and after all, that's what linux is about! Learning new, really useful stuff!!! And console rocks!!! GUI's are good, but console is better ;-)
Drop some more lines man!!!!
 
Old 05-24-2004, 05:07 PM   #13
backflip
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
or1 onas, thanks again, but I can assure you that I've read and read many, many pages about about this, BUT it goes completely over my head, I just can't understand it. Windows...not a problem...I can do anything...but this....just can't grasp it. I go to the newby pages here and fail to understand what is being said, it could be written in Urdu for all the wiser it makes me. For instance your reference to using TAB was the first I've seen and also the ./configure is new. I checked elsewhere and thought all I needed was make and then make install.
I did eventually get the programme installed by checking the ReadMe file and copying the code they suggested (./instal...file name).
I think I'll probably confine my use of Linux to browsing and emails and use W2K for everything else....seems so much easier, and for me at least, understandable.
Anyway, thanks again, I really appreciate your patience with me and your knowledge.
 
Old 05-25-2004, 08:18 AM   #14
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
As i've already told you, i've been using linux for a couple of months too.
My personal opinion is that you should not confine yourself in doing only the basics with linux.
Instead, you should try to find out how WHAT YOU WANT TO DO is done on linux.
That's probably the only way you can learn something new...
Computers were created to help us do what we want.
So, you should never ever abandon your needs for ease of use....Read and learn how to do it! :-)
 
  


Reply


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
installing software ceborame Linux - Newbie 3 08-07-2005 01:00 PM
Installing software NomadABC Linux - Software 5 12-24-2004 01:14 PM
installing software spiky001 Linux - Software 5 09-11-2004 08:58 PM
Installing software sharpie Slackware 3 03-12-2004 12:16 AM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 10:40 AM


All times are GMT -5. The time now is 08:21 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration