Many open source media players are available to Linux users over the Internet. The preference of choice comes with ease of installation and the availability of a stable version. The stable version of VLC 3.0 is available and available at the time of this writing. In this article we will show two ways to install VLC Media Player depending on whether you choose the graphical interface or the command line of your Debian system.
We ran the commands and procedures mentioned in this article on a Debian 10 Buster system.
Install the VLC Player via the user interface
The popular VLC multimedia player is available in the list of reliable Debian software that you can install. It provides an easy way to install the player using the graphical user interface.
Click the software icon in the Activities toolbar on your Debian desktop.
The Debian software utility will open from where you can search for VLC by clicking the search button and then typing VLC in the search bar.
The following result will be displayed according to your search term:
If you click on the VLC search entry, the following window opens:
In this window, you can install the latest version of VLC Media Player by clicking the Install button. After that you will be asked to authenticate yourself via the following dialog, as only an authorized user can add / remove software on Debian.
Enter the password for a privileged user and then click the Authenticate button. After that, the installation process begins as follows:advertising
The following window shows the successful installation of the player. You can launch it right from this window and also remove it immediately for whatever reason.
Quit the Debian software after the installation is complete.
Start the VLC player
To launch VLC player, enter the appropriate keyword in Debian Application Launcher and click on the VLC media player icon as shown here:
The first time you open VLC player, you will be presented with the following privacy and network access policies. VLC needs network access from time to time, so you need to allow it metadata network access by checking the box here and clicking the Next button.
The media player will start as follows so that you can play media files:
Make VLC your default media player
By default, Debian Gnome music and video players are used to play media files. However, you can configure your system to play audio and video files through VLC player by making the following changes:
Access System Preferences either through the Application Launcher or by clicking the down arrow in the upper right corner of the screen. You can then click the settings icon in the lower left corner of the following view:
Click the Details tab in the left pane, then click the Standard Applications tab in the details view. The standard applications sued for the respective purposes are displayed on the right-hand side.
Click the Music drop-down menu, which is set to Rhythmbox by default. Select VLC media player from the list and all of your music files will open in VLC media player by default.
Also, select the VLC media player from the Video drop-down list so that all of your videos will also open in VLC player by default.
Please close the Settings utility.
Uninstalling the VLC player using the graphical user interface is pretty straightforward. Open the Debian software from the list of activities and then search for VLC. Click on the VLC-associated entry and then click the Remove button in the window that opens:
The following dialog opens and confirms again whether you want to remove the player.
Click the Remove button to confirm your selection. Please note that only an authorized user can install / uninstall a package in Debian, so you will see the following authentication dialog:
Enter the password for the authorized user and click the Authenticate button. The removal process will start and your software will be uninstalled from the system.
VLC installation on the command line
If, like me, you prefer to install software from the command line, here’s how to install VLC player from the command line.
Install the VLC snap package
Open the Debian command line, Terminal via Application Launcher search like this:
To install a snap package, you must first activate the snap function on your system.
Run the following commands to install the latest Snap Daemon, if it is not already installed on your system:
$ sudo apt-get update
$ sudo apt-get install snapd
Then you can install the snap package for VLC via the following command:
$ sudo snap install vlc
The following output confirms the successful installation of the VLC player and the latest version installed on your system
You can use the following commands to start VLC from the terminal:
To run the graphical version of the software use the following command:
To start vlc from the command line without the interface, use the following version:
Uninstall VLC package
Uninstalling a software package from the command line is also pretty straightforward. Use the following command as root to remove the vlc snap from your system:
$ sudo snap remove vlc
While the Snap is a great utility for packaging software, to save space, you can remove it using the following command:
$ sudo apt-get remove snapd
In this article, you learned about different ways to install / uninstall and configure VLC media player. Whether you are a command line person or rely on the graphical user interface, you can now install and launch VLC player and make it your default player for running multimedia too.