How do I check versions in UNIX???

Discussion in 'Unix & X11' started by pwharff, Jul 22, 2002.

  1. pwharff

    pwharff Registered

    Joined:
    Nov 2, 2000
    Messages:
    194
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    California
    I'm installing the latest release of Apache for the company I work for and I have no idea what version of Apache we are running now? In fact, I don't know how to check versions in UNIX on any installed package on the server.

    There has to be an easy to do this. I fagely remember something about a 'proc' folder that contained this infomation. Someone please help. Thanks in advance.

    --Paul
     
  2. howardm4

    howardm4 Registered

    Joined:
    Jun 4, 2001
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    0
    each piece of s/w is different.

    most take a -v kind of option.....

    [localhost:~] howardm% httpd -version
    Server version: Apache/1.3.26 (Darwin)
    Server built: 06/24/02 16:41:08
     
  3. pwharff

    pwharff Registered

    Joined:
    Nov 2, 2000
    Messages:
    194
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    California
    Duh! I remember this now. Thanks a bunch. So I guess there isn't just one program or script that lets you check versions of any sw package installed.

    --Paul
     
  4. hazmat

    hazmat Rusher of Din

    Joined:
    Oct 30, 2001
    Messages:
    1,803
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    UNIX System Administrator
    Location:
    Brooklyn, NY
    uname -a will give you the version of Unix you are running.
     
  5. gatorparrots

    gatorparrots ~departed~

    Joined:
    Jul 10, 2002
    Messages:
    459
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Kansas City, MO
    for apache version information, type:
    httpd -v
    it will also tell you when the server was built (first initialized).
     
  6. sao

    sao member

    Joined:
    Aug 15, 2001
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    none
    Location:
    Singapore
    Some more:

    What OS version? ('sw_vers')
    What version of make? ('make -v')
    What Fink version? ('fink --version')
    What version of the dev tools? ('cc -v')


    Cheers...
     

Share This Page