Learn how to install lsb with the command sudo apt-get install lsb on Ubuntus.
Ads
Quick installation of lsb:
Step 1: Update system:
sudo apt-get update
Step 2: Install: lsb
Ater updaing the OS run following command to install the packae:
sudo apt-get install lsb
Package Details | |
Package: | lsb |
Version: | 4.0-0ubuntu20.3 |
Maintainer: | Ubuntu Developers |
Home page: | http://www.linux-foundation.org/en/LSB |
Description: | Linux Standard Base 4.0 support package The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can depend upon. . This package provides an implementation of all modules of version 4.0 of the Linux Standard Base for Debian on the Intel x86, Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with the Linux kernel. Future revisions of the specification and this package may support the LSB on additional architectures and kernels. . The intent of this package is to provide a best current practice way of installing and running LSB packages on Debian GNU/Linux. Its presence does not imply that Debian fully complies with the Linux Standard Base, and should not be construed as a statement that Debian is LSB-compliant. Homepage: http://www.linux-foundation.org/en/LSB |
Distro: | Ubuntu 12.04 LTS |
Release: | |
Repo/Section: | misc |
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 lsb is not installed on your compter then the command 'dpkg -L lsb' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L lsb Package `lsb' 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 lsb:
After system update use the following command to install lsb:
sudo apt-get install lsb
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.
Now we will see the commands for uninstalling the lsb 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 lsb following command is used:
sudo apt-get remove lsb
Following command is used to remove the lsb package along with its dependencies:
sudo apt-get remove --auto-remove lsb
This will remove lsb and all its dependent packages which is no longer needed in the system.
Completely removing lsb with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge lsb
or you can use following command also:
sudo apt-get purge --auto-remove lsb
Above command will remove all the configuration files and data associated with lsb package. You can can't recover the delete data, so, use this command with care.