LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2008, 06:42 AM   #1
mitesh.ever
LQ Newbie
 
Registered: May 2006
Posts: 22

Rep: Reputation: 15
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..!!

Last edited by mitesh.ever; 10-04-2008 at 06:43 AM.
 
Old 10-04-2008, 06:48 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
cli, type uname -a

Regards, Glenn
 
Old 10-04-2008, 06:53 AM   #3
mitesh.ever
LQ Newbie
 
Registered: May 2006
Posts: 22

Original Poster
Rep: Reputation: 15
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?
 
Old 10-04-2008, 06:59 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

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

Also, try "ls /etc | grep release"
 
Old 10-04-2008, 07:02 AM   #5
mitesh.ever
LQ Newbie
 
Registered: May 2006
Posts: 22

Original Poster
Rep: Reputation: 15
root@cl-t004-291cl [~]# ls /etc | grep release
lsb-release.d/
redhat-release

is this redhat...confirmed?
 
Old 10-04-2008, 07:07 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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)
 
Old 10-04-2008, 07:09 AM   #7
mitesh.ever
LQ Newbie
 
Registered: May 2006
Posts: 22

Original Poster
Rep: Reputation: 15
yes,

i am getting

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

Thanks
 
Old 10-04-2008, 07:10 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

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

BM
 
Old 10-04-2008, 07:17 AM   #9
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
Old 10-04-2008, 07:37 AM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
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)

Last edited by GlennsPref; 10-04-2008 at 07:41 AM.
 
Old 10-04-2008, 08:13 AM   #11
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Code:
lsb_release -a
gives more human readable details about the installed distro.
 
Old 10-04-2008, 08:30 AM   #12
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
Wink

Quote:
Originally Posted by colucix View Post
Code:
lsb_release -a
gives more human readable details about the installed distro.

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command for knowing IP address of the Systems connected in LAN ravi_chobey Linux - Hardware 2 03-19-2008 05:23 AM
Running crontab cmd for user without knowing Env DISPLAY frenchn00b Linux - General 2 07-13-2007 09:44 AM
how to log into linux without knowing the password? ninelives1980 Linux - Security 6 08-25-2005 05:59 PM
knowing which bootloader my linux distr uses nag9_s Linux - Newbie 5 02-25-2005 02:06 AM


All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration