Ok, so I downloaded a program I need (Samba), I installed Debian onto a computer, but im completely new to linux. How can I get the downloaded file into a package so I can install it (It was a .tar.gz file, inside of the archive was a debian-unstable dir which is what im using)
You can probably get a precompiled version for your system using apt
Unfortunately I don't use debian so I don't know the ins and outs of apt, but if you have a package manager called Synaptic you'll probably find it in there.
Then it will download and install everything automatically for you. HTH.
still, if you want to install from your downloaded package, do the following.
navigate to the folder containing your downloaded file. double click on it to open it in the archive manager. click extract all files. now open the newly created directory. open the README or INSTALL files. any further instructions will be present there.
usually you'll have to open a commandline, navigate to this directory, and then execute make or install.sh or something like that. the readme file should give you all the details.
Ok, thank you all, only one more question. So if there are pre-compiled releases, which one would I use? Like I know theres the .rpm files which are redhat I think, but which extension would I look for?
And after downloading that, what do I do with it? Just open it up in the GUI end of aptitude and search for the package?
In Linux we don't download programs and install them like in Windows. We find the name of the program we are looking for and then instruct our package manager to go and find it for us. This is more convenient, especially as in Linux it's customary to rely on other libraries which are not generally packaged with the program itself. The package manager will sort this all out automatically. HTH.