How To Install vlc on Debian 11

In this tutorial we learn how to install vlc on Debian 11. vlc is multimedia player and streamer

Introduction

In this tutorial we learn how to install vlc on Debian 11.

What is vlc

vlc is:

VLC is the VideoLAN project’s media player. It plays MPEG, MPEG-2, MPEG-4, DivX, MOV, WMV, QuickTime, WebM, FLAC, MP3, Ogg/Vorbis files, DVDs, VCDs, podcasts, and multimedia streams from various network sources.

VLC can also be used as a streaming server that duplicates the stream it reads and multicasts them through the network to other clients, or serves them through HTTP.

VLC has support for on-the-fly transcoding of audio and video formats, either for broadcasting purposes or for movie format transformations. Support for most output methods is provided by this package, but features can be added by installing additional plugins:

  • vlc-plugin-access-extra
  • vlc-plugin-fluidsynth
  • vlc-plugin-jack
  • vlc-plugin-notify
  • vlc-plugin-samba
  • vlc-plugin-skins2
  • vlc-plugin-svg
  • vlc-plugin-video-splitter
  • vlc-plugin-visualization

There are three methods to install vlc on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install vlc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install vlc using apt-get by running the following command:

sudo apt-get -y install vlc

Install vlc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install vlc using apt by running the following command:

sudo apt -y install vlc

Install vlc Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install vlc using aptitude by running the following command:

sudo aptitude -y install vlc

How To Uninstall vlc on Debian 11

To uninstall only the vlc package we can use the following command:

sudo apt-get remove vlc

Uninstall vlc And Its Dependencies

To uninstall vlc and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove vlc

Remove vlc Configurations and Data

To remove vlc configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge vlc

Remove vlc configuration, data, and all of its dependencies

We can use the following command to remove vlc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge vlc

Dependencies

vlc have the following dependencies:

References

Summary

In this tutorial we learn how to install vlc package on Debian 11 using different package management tools: apt, apt-get and aptitude.