Find the answer to your Linux question:
Results 1 to 10 of 10
Well, I have a question. How can I check what version of debian I have?? I need to know if I run lenny or etch.. I tryed 'uname -a' but ...
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422

    Who to check what version of debian I have?

    Well, I have a question.
    How can I check what version of debian I have??
    I need to know if I run lenny or etch.. I tryed 'uname -a' but that didnt give any help.

    What is the best way to check what version of Debian I run? (I didnt install this box myself.. So I dont know who did enter what cd so thats also no help.)
    New Users, please read this..
    Google first, then ask..

  2. #2
    Just Joined!
    Join Date
    Nov 2007
    Location
    Germany
    Posts
    37
    Try
    cat /proc/version
    That should do the trick. At least on my Etch
    (There was a file called issue, from which i thought it'd be in /proc, but i couldn'T find it)

    Ogion

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    Thanks
    Debian 4.1.1-21
    Damn..

    Well, thank you
    New Users, please read this..
    Google first, then ask..

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    Another method is
    Code:
    $cat /etc/*release

  5. #5
    Just Joined!
    Join Date
    Nov 2007
    Location
    Germany
    Posts
    37
    Ah, sure, it was
    cat /etc/issue
    There the output is somewhat nicer, like:
    Debian GNU/Linux 4.0 \n \l

    Ogion

  6. #6
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    The Issue works.
    The *release doesnt..

    Cheers.
    New Users, please read this..
    Google first, then ask..

  7. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    Thats weird. Can you check is there is a file named /etc/release or /etc/debian-release? Most distros have one of those files and it would be a bit strange if Debian didn't.

  8. #8
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    Well,
    the output of
    Code:
    find / -name *release* >> daark
    cat daark
    is
    Code:
    /proc/sys/kernel/osrelease
    /home/usr/gentoo/etc/gentoo-release
    So, the Gentoo System thats in my homefolder has one.
    Debian does not
    New Users, please read this..
    Google first, then ask..

  9. #9
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    Must be a Debian thing.

  10. #10
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    Yea, I noticed that Debian always wants to be a little diffrent then the rest.
    eg. Icedove and Iceweasel..
    Anyhow thanks alot. I know what to do now
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •