How To Install libclaw-dev on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libclaw-dev
on Ubuntu 18.04.
What is libclaw-dev
libclaw-dev is:
Claw is a C++ Library Absolutely Wonderful bringing various nice classes and tools to C++ developers.
This library tries to be standard compliant and as portable as possible.
Claw provides:
- tweener classes for easy interpolation,
- advanced data structures: automaton, AVL binary search tree, graph, tree, ordered set, trie, maps with multiple types as keys,
- geometric tools (2D): box/rectangle, point, line, vector,
- image manipulation, reading and writing bitmap, jpeg, targa, png, pcx, xpm files
- network tools: use sockets like any standard stream,
- text algorithms,
- min-max/alpha-beta algorithms,
- developer tools: generic singleton, smart pointers, meta-programming concepts, buffered streams,
- easy read of conf/ini files, easy access to environment variables,
- manipulation of dynamic libraries,
- and a lot more…
There are three methods to install libclaw-dev
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libclaw-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libclaw-dev
using apt-get
by running the following command:
sudo apt-get -y install libclaw-dev
Install libclaw-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libclaw-dev
using apt
by running the following command:
sudo apt -y install libclaw-dev
Install libclaw-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libclaw-dev
using aptitude
by running the following command:
sudo aptitude -y install libclaw-dev
How To Uninstall libclaw-dev on Ubuntu 18.04
To uninstall only the libclaw-dev
package we can use the following command:
sudo apt-get remove libclaw-dev
Uninstall libclaw-dev And Its Dependencies
To uninstall libclaw-dev
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libclaw-dev
Remove libclaw-dev Configurations and Data
To remove libclaw-dev
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libclaw-dev
Remove libclaw-dev configuration, data, and all of its dependencies
We can use the following command to remove libclaw-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libclaw-dev
References
Summary
In this tutorial we learn how to install libclaw-dev
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.