How to Install VLC on Centos 7 Server

I recently was working on an information technology project in the world order. I needed to stream some audio on a Centos Linux web server with Centos 7 operating system installed. I found out that you can install Video Lan Client player on Centos server operating systems.

I will provide instructions so that you can install Video Lan Client software onto your Centos 7 server operating system. You will be installing Video Lan Client player core actually. Also, you can try using these instructions as a basis to install Video Lan Client player onto other Centos Linux server operating systems.

You will want to either log into your root account with the su command or you can use the sudo command before each command, which will prompt you to enter in your root account password.

su

sudo "type command without quotations"

First, you want to enable the Extra Packages for Enterprise Linux repository by issuing this command.

yum install epel-release

or

sudo yum install epel-release

Then you want to enable the Red Hat Package Manager repository by issuing this command.

yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm

or

sudo yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm

Once you enable the previous two package repositories successfully, you will be able to then install Video Lan Client player onto your Centos Linux server version 7 operating system by issuing the following command.

yum install vlc-core

or

sudo yum install vlc-core

You want to make sure that you install the core version of Video Lan Client player, as the core version is designed for server operating systems. Also, this will allow you to utilize Video Lan Client player on a Centos server operating system that does not include a graphical user interface. Once successfully installed, Video Lan Client player can be updated by typing this command.

yum update vlc

or

sudo yum update vlc

Now you will be able to utilize Video Lan Client player on your Centos 7 server operating system. Video Lan Client player can also be used to stream audio and video over hyper text transfer protocol.

How to Install VLC on Centos 7 Server - Video Transcript

00:06

you may be wondering why you would want

00:08

to install video lan player on a server

00:13

vlc is quite

00:15

a bit more sophisticated than you think

00:18

it actually

00:19

has

00:21

streaming capabilities basically what

00:23

you can you can use it as a

00:27

server

00:28

you know what i'm saying literally

00:30

you can stream

00:33

audio video and even live

00:35

audio and video

00:37

if you know how to use it

00:40

so that was a project of mine so on

00:42

centos it is a red hat linux

00:46

distribution and so you're going to want

00:48

to use yum

00:50

and there's basically three commands

00:52

that you need

00:53

in order to install

00:56

vlc video lan player

00:58

onto a

01:00

centos

01:01

7 this is for centos 7

01:03

server all right

01:05

the first command you want to

01:09

perform

01:10

is

01:15

the

01:17

rebel so basically you can either s u

01:21

into your root account or you can use

01:23

pseudo

01:24

pseudo will elevate your privileges and

01:27

it will ask you to enter in your root

01:30

password it's up to you

01:33

so you're going to want to install the

01:35

apple repository if it's if it's not

01:38

already installed

01:41

or enabled what the command and i will

01:44

show you

01:45

yum install apple

01:48

release

01:49

so on screen you should see it

01:51

it's yum space install

01:54

space e p e l

01:57

dash release r e l e a s e you would hit

02:00

enter i'm not going to because actually

02:03

my server already have vlc installed and

02:06

i don't want to it up you know what

02:07

i'm saying

02:08

chances are i'll just say it's already

02:10

installed or

02:12

what excuse me enabled

02:15

install enable whatever

02:18

all right

02:21

now you're going to enable the rpm

02:24

fusion free software repository

02:28

and chances are on your

02:31

centos 7

02:32

you could probably use these

02:34

instructions for other versions of

02:35

centos they may not be exactly the same

02:38

you know i'm saying their repositories

02:40

might be a little bit different that

02:41

might require you to actually study you

02:44

know i'm saying perform some internet

02:45

searches

02:47

this is not the easy button you know

02:49

what i'm saying this isn't that dumb

02:51

capitalistic commercial from what a

02:53

decade ago

02:54

no

02:56

all right

02:59

like i said you could also type in

03:01

instead of yum you would type well

03:04

excuse me instead of just yum install

03:06

you would go back and also include

03:10

s-u-d-o

03:12

if you're not logged in as root sudo

03:15

will

03:16

elevate your privileges without logging

03:18

in it's root but every every time you

03:20

type in a command with sudo

03:23

you have to type in your root password

03:25

okay so let me show you the next command

03:32

[Music]

03:35

this is a lengthy command

03:37

just because the

03:41

rpm fusion repository is actually an

03:45

address

03:46

so i just saw paste it

03:48

oops

03:50

i'll add in a y

03:52

so yum

03:54

space install

03:55

space and then that long uniform

03:57

resource locator

03:59

with with including the s for

04:02

secure hyper text transfer protocols

04:04

secure

04:07

colen four software slash download one

04:10

dot

04:10

rpmfusion.org slash free slash l slash

04:14

rpm fusion dash free dash release dash

04:17

seven this seven i believe is for centos

04:20

seven dot no

04:23

arch dot rpm in my blog post i will

04:26

include the three commands verbatim like

04:30

i stipulated before

04:32

you might be able to use this for other

04:33

versions of centos server

04:36

and that

04:38

url uniform resource locator might just

04:40

be a little bit different and then also

04:42

once again i'm already logged in as root

04:44

so that's why i you know i prefer to su

04:47

which means you know super user and then

04:50

always be logged in as root whenever i

04:52

use the root account and then exit out

04:55

of

04:55

my root account when i'm not

04:57

needing root privileges so you would

05:00

type in s-u-d-o

05:03

and then it'll prompt you to enter in

05:05

your root password and then you would

05:07

hit enter and it should install

05:10

the rpm fusion

05:12

repository

05:14

then the last command is pretty short

05:16

you just type in let me clear this you

05:18

just type in yum install now you want

05:21

might want to pay attention you think

05:22

that you can just type in yum install

05:26

vlc no

05:28

remember this is for a server version

05:32

my server has no graphical user

05:34

interface

05:36

you know i'm saying it's the server

05:39

version

05:40

so there is no graphical user interface

05:42

so it's going to have to require a

05:44

different type of

05:46

vlc installation which is vlc core

05:51

and

05:52

let me get that command

05:57

on screen yum install vlc but you want

05:59

to type in dash core

06:02

that will install a server version

06:05

where

06:06

you don't need a graphical user

06:08

interface

06:09

it's all command line vlc is pretty

06:11

powerful actually

06:14

it can stream

06:15

audio video

06:17

it can even well i use it to loop it can

06:20

even loop

06:22

let's say you have a podcast or some

06:25

audio you want to stream 24 hours a day

06:28

seven days a week 365 days a year

06:32

it'll keep looping that if you know how

06:34

to you know properly configure it it

06:36

will just keep playing that stream for

06:38

you and it's entirely free and it's

06:40

pretty reliable you know what i'm saying

06:43

okay so then you would hit enter

06:46

and let me make sure that that is that

06:48

should be the correct command it's just

06:49

pretty simple

06:53

let's see where is it oh yeah vlc core

06:56

yep if you are running a headless server

06:58

without a graphical user interface

07:01

instead of dlc install the vlc dashboard

07:04

package

07:05

that's it and then you would hit enter

07:07

it can take a while and it's quite large

07:10

actually so you know what i'm saying

07:12

you'll see a bunch of output

07:15

you'll see some download some

07:17

dependencies

07:19

what else some unpackaging and then the

07:22

installation of those packages as long

07:24

as you don't see any errors

07:26

and it should take you back to the

07:29

command prompt you know what i'm saying

07:32

let me include the sudo

07:35

again if you are not logged into your

07:39

root account and you would prefer just

07:41

to be prompted every time

07:43

sudo sudo space yum space install space

07:48

vlc dash core enter bam

07:51

it should start installing

07:55

and that's the three commands that i

07:59

entered in and i actually have vlc

08:02

installed

08:03

on a centos 7 server

08:13

eight minutes excellent anything further

08:15

let me read these notes real quick that

08:17

you cannot see

08:24

yeah the latest version was three

08:27

something there's probably

08:29

more recent versions

08:31

since you installed those

08:33

enabled

08:34

the

08:35

apple repository and then you also

08:38

installed the fusion free software

08:40

repository

08:41

once in a while you will have some vlc

08:44

updates all you do is type in i may

08:47

include that command in my blog post i

08:49

haven't written it yet

08:52

just

08:52

yum upgrade

08:55

you know what i'm saying

09:01

and then

09:04

just as a caveat

09:07

let's see

09:14

yes just type in yum update

09:19

and it looks similar to this i'm not

09:20

going to show you the entire yum command

09:23

because on this

09:24

server it's not really the fastest

09:26

but that's all you type in is yum space

09:29

update

09:30

and what that will

09:32

it will check for any updates on your

09:35

centos server and one of those updates

09:37

might be vlc and if there's a vlc update

09:40

you just type in yes when it asks you do

09:43

you want to install you know blah blah

09:45

blah the update it'll even tell you the

09:47

exact

09:48

version in the actual

09:52

file

09:53

and then

09:54

depends on how

09:56

it'll just take a few seconds or minutes

09:58

or whatever depends on your internet

10:00

connection and blah blah blah

10:02

on the on the updates there

10:04

may or may not be some dependencies

10:06

so these software get quite large even

10:09

like blc

10:11

and sometimes they add in new features

10:14

and that's an entirely

10:16

separate piece of software actually

10:18

called a dependency and it will have to

10:20

get installed

10:22

or

10:23

sometimes

10:24

other pieces of software that

10:27

for example

10:28

video land player uses

10:30

will have an update as well

10:32

and then it'll ask you to install that

10:34

or update it you know i'm saying

10:37

that's it

10:38

those three commands

10:41

should allow you to install vlc core the

10:45

core version which is the server version

10:47

on centos 7 server without a graphical

10:51

user interface

10:54

adios