cb_share_config command not found

In this troubleshooting guide we learn how to fix cb_share_config command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

cb_share_config: command not found

or when using sudo you get the following error message

sudo: cb_share_config: command not found

Solutions to cb_share_config: command not found

How To Fix cb_share_config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cb_share_config is provided by codeblocks package.

codeblocks is:

Code::Blocks is a cross-platform Integrated Development Environment (IDE). It is based on a self-developed plugin framework allowing unlimited extensibility. Most of its functionality is already provided by plugins. Plugins included in the base package are: * Compiler frontend to many free compilers * Debugger frontend for GDB * Source formatter (based on AStyle) * Wizard to create new C++ classes * Code-completion / symbols-browser (work in progress) * Default MIME handler * Wizard to create new Code::Blocks plugins * To-do list * Extensible wizard based on scripts * Autosave (saves your work in the unfortunate case of a crash)

To fix this problem, we can install more using the command below.

sudo apt-get -y install codeblocks

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install codeblocks.

sudo apt -y install codeblocks

Or if you have aptitude installed you can use the following command.

sudo aptitude install codeblocks

Summary

In this tutorial we learn how to fix cb_share_config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.