LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installation... (https://www.linuxquestions.org/questions/linux-newbie-8/installation-278481/)

punkrawker82 01-16-2005 12:19 PM

Installation...
 
I've used a few different versions of linux, and I've been installing my first few programs onto Mandrake 10.1. RPM's are pretty easy to use, and I've installed Python 2.4 using (./configure, make, make install). But what about the source files for programs that don't include a configure file or make file??

How can I install those??

Nashu 01-16-2005 12:21 PM

Right after reading this, I looked up at the tutorials section just for fun and found this.
http://www.linuxquestions.org/questi...ticle&artid=15

Should help you I think. Its about compiling applications from source.

punkrawker82 01-16-2005 12:28 PM

I read the article and it only covers what I already know.:( With the source I downloaded there is no configure or make file....How can I compile and install a program who's source doesn't include those??

Nashu 01-16-2005 12:41 PM

What is it exactly that you download? What kind of file is it in? You may need to use gcc to compile it if it is a C or C++ file. Other than that I can't help you right now, for I am also a relative newbie to all this ;)

Also, is there a Readme file that may tell you how to compile? Or from the website you got it from? You might also try googling something like "How to install (insert app name here)"

punkrawker82 01-16-2005 12:49 PM

Hmmm, well I have written C/C++ stuff using gcc before, so that won't be a problem if I have to use that...but they aren't .c or .cpp files

I was trying to install bittorrent. I downloaded the source for it and extracted it. And there was no directions on how to compile or install from the source. And like I said there were no configure or make files like what were included with the python source...

So I'm lost:(

JoeUser11 01-16-2005 12:52 PM

Slightly off topic, but I know python2.4 has "IDLE" for windows, does it have that for linux?

punkrawker82 01-16-2005 01:09 PM

There's a file under my /usr/local/bin/ that's called IDLE, so I guess it does...I know very little about python:rolleyes:

Nashu 01-16-2005 01:10 PM

Well, I found this website with a google search.

http://rpmfind.net/linux/rpm2html/se...&system=&arch=

It has the rpm download of Bittorrent for Mandrake at the bottom of the list. Don't know which one you should use, but the RPM should install it for you so you dont have to.

Also, here is a tutorial for installing Bittorrent in linux.

http://btfaq.com/serve/cache/12.html

punkrawker82 01-16-2005 01:20 PM

Thank you sooo much, the rpm worked perfectly:D

However, my question about general program installation is still up for answering if anyone has any ideas:confused:

EDIT: I also can't find the executable to run bittorrent after it installed...

Nashu 01-16-2005 01:51 PM

You don't run it as though it were a program. The way it works it that you following a link on a webpage and it will end it a .torrent extension instead of .html or whatever. Then what happens is that Linux should open up the .torrent file with Bittorrent, with no interaction from you.

punkrawker82 01-16-2005 02:00 PM

its asking me which program to open the .torrent files with even though it recognizes it as a bittorrent file...

playcat 01-16-2005 02:02 PM

hello

i don't know what kind of source you download, but if there's no make file or some sort of script to compile it, there should be some readme file included with what u downloaded. either that or you'll find some word about it on location where you r downloading from.
otherwise use compiler for language in which the file was written, but question is do you really want to install something like that :)

i'm a newbie, and this is only me thinking aloud :)...

punkrawker82 01-16-2005 02:10 PM

BitTorrent is a very well known, reputable program and I got the source for it straight off their site. No, they didn't have a readme included with the source, and I have searched their site many times for instructions pretaining to their source. I couldn't find anything...

Nashu 01-16-2005 02:13 PM

Quote:

To integrate the client with your web browser, it will be necessary to associate files of type "application/x-bittorrent" with the BitTorrent client. You will need to add a line such as the following to your /etc/mailcap file:
application/x-bittorrent; /usr/local/bin/btdownloadgui.py --responsefile %s; test=test -n "$DISPLAY"

That came from the second link I posted above about how to install. That may solve your problem. If not, I can't realy help you any further. Sorry.

punkrawker82 01-16-2005 02:26 PM

Quote:

Originally posted by Nashu
That came from the second link I posted above about how to install. That may solve your problem. If not, I can't realy help you any further. Sorry.
Nice try, however it didn't fix it:(

dns21 01-16-2005 02:41 PM

what was the file that you downloaded named? I am thinking it may have been a source package made for slackware. They seem odd when they open. slackware's package manager handles them well though.

punkrawker82 01-16-2005 03:18 PM

I went here ...
And downloaded this one ...

dns21 01-16-2005 03:29 PM

check out the INSTALL.unix.txt file.


All times are GMT -5. The time now is 02:00 AM.