[newbie] extracting programs from tar files

Todd Brill newbie@vlug.org
Sat, 14 Feb 2004 20:27:26 -0800 (PST)


Doug,

Usually what I do is create a temporary folder and untar the files into it and
check their permissions and ownership before moving them into place.

Where you put them depends on what they are meant to do, but there are some
general places to put binaries/programs and that would normally be /bin or
/sbin but depending on your version of Linux, you could even put them in
/usr/bin or /usr/sbin.

I tend to put programs in a place that I know that the user that needs to run
them will have them in their environment path so they don't have to type in
/usr/local/bin/program.pl every time they want to run it.

Cheers,

Todd Brill
=====================================
Network Engineer/System Administrator
Network Security Specialist
Internet Specialist


> I frequently find I want to install some package (typically a program of
> some sort, most often a python library).
>
> They usually come as tar files. Before I unpack these files, is there a
> place I should locate them in the file system?
>
> Some programs have a setup.py, some just have a couple python files in
> them.  I am not sure how to proceed in getting stuff set up correctly.
> For things that have a setup, I can run setup fine.  For things that are
> just a couple python files, what should I do?
>
> Doug Ransom
>
>
>
>
>
> _______________________________________________
> Newbie mailing list
> Newbie@vlug.org
> http://vlug.org/mailman/listinfo/newbie
>