LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to find linux server platform (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-linux-server-platform-809604/)

nuttynibbles 05-23-2010 07:54 AM

how to find linux server platform
 
hi, i need to install ioncube loader. from the download page, there are many selections for linux @ http://www.ioncube.com/loaders.php:
-Linux (x86)
-Linux (x86-64)
-Linux (ppc)
-Linux (ppc64)

how can i find out which linux's platform from the command line? thank you

EricTRA 05-23-2010 08:01 AM

Hello,

What distro are you using? Normally there is a file in /etc which tells you what version of that distro you are using (for Debian it's /etc/debian_version; for RedHat /etc/redhat_release). Also with
Code:

uname -a
you can find out information about the kernel you're using.

Basically the
Code:

-Linux (x86)
-Linux (x86-64)

part refers to Intel based computers, either 32bit (x86) or 64bit (x86-64).
The other two refer to PowerPC CPU based computers; also 32 and 64bit version.

Kind regards,

Eric

catkin 05-23-2010 08:13 AM

Quote:

Originally Posted by EricTRA (Post 3978344)
for Debian it's /etc/debian_version; for RedHat /etc/redhat_release

For almost all distros you can identify the distro by
Code:

/bin/ls /etc/*version* /etc/*release*
and looking in the file(s) listed.


All times are GMT -5. The time now is 01:24 AM.