Linux

Install graphviz on Ubuntu: sudo apt-get install graphviz

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

Quick installation of graphviz:

Step 1: Update system:

sudo apt-get update

Step 2: Install: graphviz

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

sudo apt-get install graphviz

Package Details

Package:graphviz
Version:2.26.3-10ubuntu1.2
Maintainer:Ubuntu Developers
Home page:http://www.graphviz.org/
Description:rich set of graph drawing tools Graph drawing addresses the problem of visualizing structural information by constructing geometric representations of abstract graphs and networks. Automatic generation of graph drawings has important applications in key technologies such as database design, software engineering, VLSI and network design and visual interfaces in other domains. Situations where these tools might be particularly useful include: . * you would like to restructure a program and first need to understand the relationships between its types, procedures, and source files * you need to find the bottlenecks in an Internet backbone - not only individual links, but their relationships * you're debugging a protocol or microarchitecture represented as a finite state machine and need to figure out how a certain error state arises * you would like to browse a database schema, knowledge base, or distributed program represented graphically * you would like to see an overview of a collection of linked documents * you would like to discover patterns and communities of interest in a database of telephone calls or e-mail messages . This package contains the command-line tools. Homepage: http://www.graphviz.org/
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:graphics

How to install graphviz on Ubuntu 12.04 LTS?

First of all update your system with the command:

sudo apt-get update

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 graphviz is not installed on your compter then the command 'dpkg -L graphviz' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L graphviz
Package `graphviz' 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 graphviz:

After system update use the following command to install graphviz:

sudo apt-get install graphviz

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 graphviz from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the graphviz 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 graphviz following command is used:

sudo apt-get remove  graphviz

Following command is used to remove the graphviz package along with its dependencies:

sudo apt-get remove --auto-remove graphviz

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

Completely removing graphviz with all configuration files:

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

sudo apt-get purge graphviz

or you can use following command also:

sudo apt-get purge --auto-remove graphviz

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

Get our newsletter

Categories