Installing Programs (new to unix)

Installing Programs (new to unix)

Post by Eric Mart » Sun, 18 May 1997 04:00:00



I'm new to Unix, and now when I download stuff from the net or get
linux apps for my computer, i don't know how to set them up!

I know programs need to be configured and compiled (somtimes) and I
can handle that, it's just I don't know where to put:

a) the setup files
b) the actual program

let's assume that my user directory is

/usr/eric

and let's assume i'm installing netscape navigator 3.x.

i know how to unzip and all that junk, but when it comes to setting it
up, i'm stumped.  could someone point me to a url or help me out with
this issue?

thanks!

-eric

 
 
 

Installing Programs (new to unix)

Post by Omegam » Tue, 20 May 1997 04:00:00



>I'm new to Unix, and now when I download stuff from the net or get
>linux apps for my computer, i don't know how to set them up!

>I know programs need to be configured and compiled (somtimes) and I
>can handle that, it's just I don't know where to put:

>a) the setup files
>b) the actual program

>let's assume that my user directory is

>/usr/eric

>and let's assume i'm installing netscape navigator 3.x.

There's no specific answer to your question.  Each program has its own
installation method though some are more common than others.  If you
download a redhat .rpm (and you're using redhat!) you would simply type rpm
-i filename.rpm and it's done.  Debian .deb packages are similar.

Generic "tarball" (ie. .tar.gz) files are a different ball 'o wax.  Most
programs install similarly, but there are some differences

When you unzip ("tar -xvzf filename" for filename.tar.gz).  It creates a new
directory under /usr/eric (eg. /usr/eric/filename/ ) unless the directory
has not been put into the tar archive.  You can check this by doing "tar
-tvzf filename | less" to view the contents before actually "unzipping"  If
a directory name exists at the top of the file and precedes each member of
the file, you're in good shape.  If not, create a directory to store all
those files so /usr/eric doesn't get confusing.  (eg. "mkdir temp" ;"mv
filename ./temp" ; "cd temp" ; "tar -xvzf filename)

In any case, I've never encountered a "tarball" that doesn't include a
README file in the newly created sub-directory.  Read this by doing a "less
README" If I remember correctly, netscape has some sort of install script
that does the work for you.  It is, of course, explained in the README file
located in the subdirectory which is created after you "unzip".

The "standard procedure", such as it is, for most source distributions is
usually :
        ./configure
        make
        make install

But you should *always* read the README.

--
---------------------------------------------------------------------

   PGP Key fingerprint =        | How are you gonna come?
   6D 31 C3 00 77 8C D1 C2      | With your hands upon your head,  
   59 0A 01 E3 AF 81 94 63      | Or on the trigger of your gun?"
Send email with "get key" as the| -- The Clash, "Guns of Brixton"
"Subject:" to get my public key |   _London_Calling_ , 1979
---------------------------------------------------------------------

 
 
 

1. New linux/UNIX programs collection - new version of RXVT and more

For all of you out there who are striving to make linux look good, be a joy
to use, do some useful things, impress the windoze boyz with or just to
tinker with, take a look in the Linux section of:

http://www.cse.unsw.edu.au/~s2154962/

There's a new version of RXVT I modified myself, ppm to ansi conevrters, a
brand spanking new hack on fvwm2.. infact to the point of it not being fvwm2
anymore, Xripple.. a realtime ripple & reflection program for the root
window, and more... more will appear as time goes on.

Thanx for reading & looking. I hope it will be useful to you.

              ___  ___  _________ ___  ___  __    __  ___   __   __
             /   \/   \/    \    \   \/   \/  \  /  \/   \ /  \ /  \
    __ _____/  o  \ o  \  __/  __/___/  o  \   \/   |  o  \    \   |______ __
   / // ___/  _  _/     \   \  |  ___) _  _/  _  _  |      \    \  |___  // //
  /_//____/    \ \  /\   \_  \ |     \  \ \|  |\/|  |  /\   \      |____//_//
  `-'`---/     /  \ \/    \  / |      \ /  \  |  |  |  \/    \\    |----``-'
         \____/\__/ /\____/_/  |______//\__/  |  |  |  /\____/|\   |
               `---'        `--'           `--'  `--'-'    `--' `--'


16/67 St. Marks Rd.                   Web: http://www.cse.unsw.edu.au/~s2154962/
Randwick 2031                          Ph: +61 2  399 8786
Sydney Australia                         Fax: +61 2  399 8786
================================================================================

--
              ___  ___  _________ ___  ___  __    __  ___   __   __
             /   \/   \/    \    \   \/   \/  \  /  \/   \ /  \ /  \
    __ _____/  o  \ o  \  __/  __/___/  o  \   \/   |  o  \    \   |______ __
   / // ___/  _  _/     \   \  |  ___) _  _/  _  _  |      \    \  |___  // //

2. mp3 decoder

3. I am new to Unix and Unix Programming HELP!

4. TEAC dual floppy drive and linux.

5. upgrade from Solaris 2.3 to 2.5: install program tries to do new install

6. Newbie enquiries

7. pick script in The UNIX Programming Environment (The UNIX Programming Environment )

8. Samba for Solaris 2.7 (again)

9. compile C programs with UNIX system calls (= Unix Programs??)

10. NEED HELP WITH PROGRAMMING POP3 MAIL PROGRAM TO RETRIEVE MAIL ON UNIX-TO-UNIX

11. New to Compile and Run Unix Program.

12. UNIX Stream programming: How can I create a new queue in driver

13. ANN: New UNIX programming book