Click to See Complete Forum and Search --> : Installing binaries


Strogian
10-18-2001, 06:54 AM
OK, I just downloaded a gzipped tar file, and it just contains files to be put in the /usr/local directory. From there, there's another directory that branches off into the bin, man, etc. directories with the files in it. Is there some universal way of installing these kinds of packages? (I'm using Slackware, btw.) Can I just copy them right over? Or do I need to add some stuff to my path, or some config files? There wasn't a readme or anything.

mohawkc
10-18-2001, 11:49 AM
Could you possibly give a bit more information?

Which package is this?

If it's a binary in tar.gz format, un-tar and gunzip the file, move the directory to your /usr/local and then it should be 'installed', to remove the program, remove the directory you put into /usr/local.

that's as much of an answer as I can give you, by the amount of information you gave us.

X_console
10-18-2001, 01:47 PM
So you don't have to build it from source right? Is this a Slackware .tgz package? If it is, install it with installpkg pack.tgz

Strogian
10-18-2001, 04:14 PM
Sorry about that; I was in a hurry. :) I don't think it's a slackware package, since it didn't say anything about that where I downloaded it. Anyway, the archive has one directory in /usr/local/pm3, with bin, doc, lib, and man directories branching off of that. If I were to make a guess at it, I would add a section in my PATH for /usr/local/pm3/bin, a section in MANPATH for /usr/local/pm3/man, and maybe something in ld.so.conf for /usr/local/pm3/lib? Should I do anything with doc? Oh, and the package is some programming language, if I remember correctly. I need it to build some other program. Lemme look around for a bit... OK, it's called Modula-3, and you can see it at http://m3.polymtl.ca/m3/