Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.