Install libv4l-dev on Ubuntu: sudo apt-get install libv4l-dev

Learn how to install libv4l-dev with the command sudo apt-get install libv4l-dev on Ubuntus.


 

Ads

Quick installation of libv4l-dev:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: libv4l-dev

Ater updaing the OS run following command to install the packae:

	sudo apt-get install libv4l-dev

Package Details

Package:libv4l-dev
Version:0.8.6-1ubuntu2
Maintainer:Ubuntu Developers
Home page:http://linuxtv.org/downloads/v4l-utils/
Description:Collection of video4linux support libraries (development files) libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices. The purpose of this (thin) layer is to make it easy for application writers to support a wide variety of devices without having to write separate code for different devices in the same class. libv4l consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2. . libv4lconvert offers functions to convert from any (known) pixelformat to BGR24, RGB24, YUV420 and YVU420. . libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent of the drivers for those devices supporting v4l1 compatibility (which many v4l2 drivers do not). . libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the application transparent libv4lconvert conversion where necessary. . This package contains the development files. Homepage: http://linuxtv.org/downloads/v4l-utils/
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:libdevel

How to install libv4l-dev on Ubuntu 12.04 LTS?

Install libv4l-dev on Ubuntu: sudo apt-get install libv4l-dev

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If libv4l-dev is not installed on your compter then the command 'dpkg -L libv4l-dev' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L libv4l-dev
Package `libv4l-dev' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
deepak@deepak-VirtualBox:~$ 

Installing libv4l-dev:

After system update use the following command to install libv4l-dev:

sudo apt-get install libv4l-dev

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove libv4l-dev from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the libv4l-dev from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the libv4l-dev following command is used:

sudo apt-get remove  libv4l-dev

Following command is used to remove the libv4l-dev package along with its dependencies:

sudo apt-get remove --auto-remove libv4l-dev

This will remove libv4l-dev and all its dependent packages which is no longer needed in the system.

Completely removing libv4l-dev with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge libv4l-dev

or you can use following command also:

sudo apt-get purge --auto-remove libv4l-dev

Above command will remove all the configuration files and data associated with libv4l-dev package. You can can't recover the delete data, so, use this command with care.