LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   finding downloaded file and... (https://www.linuxquestions.org/questions/linux-newbie-8/finding-downloaded-file-and-318228/)

j_carmona 04-28-2005 05:48 PM

finding downloaded file and...
 
OK I feel a bit stupid but I have downloaded the latest version of Samba and I can't find it!!

My first question is how do you find where the file has been saved.

Secondly how do you install a software that you have downloaded. I have seen in configuration the install software option but obviously i can't see the file that I have downloaded.

Many thanks in advance

JC

Chromezero 04-28-2005 06:20 PM

The download path depends on what app you're using. For example, Firefox defaults to /home/username/documents I believe. Other apps tend to download to /tmp. Most apps allow you define where to download to, I always download /home/username/downloads.

As for the install, it depends on what kind of file it is. Some common file extensions would be filename.tar.gz or filename.rpm or perhaps filename.pkg.run. Many distros have a program like YaST that will install filename.rpm files for you. For filename.tar.gz type files, you have to extract the file, then $./configure, $make, $make install etc. for the filename.pkg.run type files, you can do $sh filename.pkg.run. Most folks will recommend that you allow your distro specific program install things for you, but if you want to install things manually, there's plenty of how-to's here at LQ.

bigrigdriver 04-28-2005 06:22 PM

Open a term window and su to root.

Run the command updatedb, to update the locate database.

Run locate samba. If you get stuff scrolling by too fast to read, wait for it to finish, then re-run the command as locate samba | less. That will pipe the output through less, and show you one screenfull at a time.

Updatedb will make a database file of all files installed on the computer. It the samba package is there, you'll find it.

As for installing, what kind of package? Tarball or rpm?

j_carmona 04-28-2005 06:26 PM

Thanks guys, ok I think that the download was a filename.tar.gz.

Chromezero you wrote:
"For filename.tar.gz type files, you
have to extract the file, then $./configure, $make, $make install etc. for the filename.pkg.run type files"

I gather that you do all that from a command line, right?

I use Mandrake 10.1 BTW.

Thanks
JC

Chromezero 04-28-2005 06:34 PM

Yes, tarballs will be handled in terminal. here's a really good how-to Compiling Programs from Source .

j_carmona 04-28-2005 06:51 PM

Thanks Chromezero, I will try tomorrow when I am back home.
JC


All times are GMT -5. The time now is 08:40 PM.