LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command for knowing which linux is running...? (https://www.linuxquestions.org/questions/linux-newbie-8/command-for-knowing-which-linux-is-running-674148/)

mitesh.ever 10-04-2008 06:42 AM

command for knowing which linux is running...?
 
Hello,
is any command for knowing which linux is running...?

i am using remote webserver and i want to install ffmpeg, ffmpeg-php etc..is linux version affect installation..

Please help me out..

Anybody having previous experience installing ffmpeg , ffmpeg-php then let me know..

Thanks in advance..!!

GlennsPref 10-04-2008 06:48 AM

cli, type uname -a

Regards, Glenn

mitesh.ever 10-04-2008 06:53 AM

Thanks Glenn,

but it is showing

root@cl-t004-291cl [~]# uname -o
GNU/Linux


i am not getting which linux is this ?

can you help me more?

billymayday 10-04-2008 06:59 AM

You may get a hint from the kernel. What does "ls /boot" give you?

Also, try "ls /etc | grep release"

mitesh.ever 10-04-2008 07:02 AM

root@cl-t004-291cl [~]# ls /etc | grep release
lsb-release.d/
redhat-release

is this redhat...confirmed?

billymayday 10-04-2008 07:07 AM

Check with "cat /etc/redhat-release"

May be Redhat or CentOS (or possibly one of the other Redhat variants)

Here's what I get

Code:

# cat /etc/redhat-release
CentOS release 5.2 (Final)


mitesh.ever 10-04-2008 07:09 AM

yes,

i am getting

root@cl-t004-291cl [~]# cat /etc/redhat-release
CentOS release 5.2 (Final)

Thanks

billymayday 10-04-2008 07:10 AM

I'm signing off for the night - if it's CentOS, the ffmpeg rpms are in the rpmforge repos.

BM

billymayday 10-04-2008 07:17 AM

Nearly gone

See https://rpmrepo.org/RPMforge (there's a pretty straightforward howto set up the repo link)

Then as root

yum install ffmpeg

I don't see ffmpeg-php there, but ffmpeg-devel is

Good luck

GlennsPref 10-04-2008 07:37 AM

It's uname -a for all.

It usually shows what version of the kernel you have and processor type and architecture, and the distributor of your install.

Cheers, Glenn

ps, I know you already know, but I thought I saw a typo.

glenn@GamesBox:~$ uname -a (04-10 22:35)
Linux GamesBox.GlennsPref.net 2.6.27-0.rc6.2.1mdvtmbcustom #1 SMP Sat Sep 20 14:16:26 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ GNU/Linux
glenn@GamesBox:~$ (04-10 22:41)

colucix 10-04-2008 08:13 AM

Code:

lsb_release -a
gives more human readable details about the installed distro.

GlennsPref 10-04-2008 08:30 AM

Quote:

Originally Posted by colucix (Post 3300002)
Code:

lsb_release -a
gives more human readable details about the installed distro.


That's a good one, live and learn, hey?


All times are GMT -5. The time now is 09:23 AM.