Home > Ubuntu > Ubuntu 12.04 (Precise Pangolin) > Libghc-haskelldb-hdbc-odbc-prof

How to install libghc-haskelldb-hdbc-odbc-prof in ubuntu

To install libghc-haskelldb-hdbc-odbc-prof at ubuntu Precise Pangolin execute the following commands on your pc terminal:

1. We execute this command to update the list of available packages and all their versions
sudo apt-get update
2. With this command we will proceed to install the package
sudo apt-get install libghc-haskelldb-hdbc-odbc-prof
3. To check if you have successfully installed the package, you can list all installed packages with the following command
dpkg -l libghc-haskelldb-hdbc-odbc-prof
In case of an error, we recommend you to execute the following command to clean the cache and repeat the installation from step number 1
sudo apt-get clean

How to uninstall libghc-haskelldb-hdbc-odbc-prof in ubuntu

When it comes to uninstalling a package, we have 3 different ways to do it:

1. Uninstall the package only libghc-haskelldb-hdbc-odbc-prof
sudo apt-get remove libghc-haskelldb-hdbc-odbc-prof
2. Uninstall the package libghc-haskelldb-hdbc-odbc-prof and its dependencies
sudo apt-get autoremove libghc-haskelldb-hdbc-odbc-prof
3. Clean the registry (purge) from the package
sudo apt-get purge libghc-haskelldb-hdbc-odbc-prof
4. Execute all the previous steps in a single command
sudo apt-get autoremove --purge libghc-haskelldb-hdbc-odbc-prof

To check that the package libghc-haskelldb-hdbc-odbc-prof has been completely uninstalled, we can execute the following command
dpkg -l libghc-haskelldb-hdbc-odbc-prof
After running this series of commands, we should have completely removed the package libghc-haskelldb-hdbc-odbc-prof

Package Information

DistroUbuntu 12.04 (Precise Pangolin)
Package namelibghc-haskelldb-hdbc-odbc-prof
Sub sectionhaskell
Official websitehackage.haskell.org/package/haskelldb-hdbc-odbc
ResponsibleUbuntu Developers

Information about the commands used

This is a brief explanation of the function of the commands used in the installation and uninstallation package libghc-haskelldb-hdbc-odbc-prof:
  • apt get update: this command does not install any packages or any dependencies on them. it simply updates the list of available packages and the updates available to them.
  • apt get install libghc-haskelldb-hdbc-odbc-prof: the command apt-get install checks the dependencies of the package we want to install, downloads the package, verifies it and then passes the execution to the dpkg command to install it.
  • dpkg l libghc-haskelldb-hdbc-odbc-prof: with this command we list all the packages installed on our computer. by including the name of the package at the end of the command, we can filter for results that contain only that string.
  • sudo apt get clean: this command deletes all packages that are in the computer's cache. that is, the packages that were downloaded but never installed or the dependencies that were left in the cache after a new package was installed.
  • sudo apt get remove libghc-haskelldb-hdbc-odbc-prof: this command deletes a package installed on our computer but keeps all the configuration files of the package. this is done so that if we want to reinstall the same package on a photo, the settings we would have made are preserved.
  • sudo apt get autoremove libghc-haskelldb-hdbc-odbc-prof: this command deletes orphaned or unused packages and dependencies that remain installed after an application has been installed and then removed.
  • sudo apt get purge libghc-haskelldb-hdbc-odbc-prof: we use this command to not only remove the package, but also to remove all the configuration files and their properties. we use this command to completely remove a package from the system.
  • sudo apt get autoremove purg libghc-haskelldb-hdbc-odbc-profe: we use this command to completely remove a package and all configuration files from it. this is the best way to completely remove a package from your computer.