Example of installing plantuml on Ubuntu 17.04 LTS using the command sudo apt-get install plantuml.
Ads
Quick installation of plantuml:
Step 1: Update system:
sudo apt-get update
Step 2: Install: plantuml
Ater updaing the OS run following command to install the packae:
sudo apt-get install plantuml
Package Details | |
Package: | plantuml |
Version: | 8039-1 |
Maintainer: | Ubuntu Developers |
Home page: | http://plantuml.net/ |
Description: | text-to-UML converter PlantUML is a program allowing to draw UML diagrams, using a simple human readable text description. . PlantUML supports the following diagram types: - sequence diagram - use case diagram - class diagram - activity diagram - component diagram - state diagram . Output images can be generated in PNG, in SVG or LaTeX format. PlantUML also supports generation of ASCII art diagrams (only for sequence diagrams). |
Distro: | Ubuntu 17.04 |
Release: | |
Repo/Section: | universe/graphics |
First of all update your system with the command:
sudo apt-get update
Ads
Above command will download the package lists for Ubuntu 17.04 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 plantuml is not installed on your compter then the command 'dpkg -L plantuml' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L plantuml dpkg-query: package 'plantuml' 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 plantuml:
After system update use the following command to install plantuml:
sudo apt-get install plantuml
Above command will confirm before installing the package on your Ubuntu 17.04 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 plantuml from Ubuntu 17.04. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.
To remove the plantuml following command is used:
sudo apt-get remove plantuml
Following command is used to remove the plantuml package along with its dependencies:
sudo apt-get remove --auto-remove plantuml
This will remove plantuml and all its dependent packages which is no longer needed in the system.
Completely removing plantuml with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge plantuml
or you can use following command also:
sudo apt-get purge --auto-remove plantuml
Above command will remove all the configuration files and data associated with plantuml package. You can can't recover the delete data, so, use this command with care.