Author Topic: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?  (Read 2038 times)

Offline djsb

  • Single posting newcomer
  • *
  • Posts: 9
Is it possible to install Code:Blocks,Wxwidgets and wxSmith on Linux Mint? If so, how?

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2791
Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
« Reply #1 on: April 02, 2024, 07:48:25 pm »
Is it possible to install Code:Blocks,Wxwidgets and wxSmith on Linux Mint? If so, how?

https://wiki.codeblocks.org/index.php/Main_Page


Offline audiobabble

  • Single posting newcomer
  • *
  • Posts: 1
Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
« Reply #2 on: May 28, 2024, 02:45:21 pm »
[ OP -  I think I'm right in saying that to all intents and purposes, Mint is a derivative of Ubuntu, so install instructions for Ubuntu are what you should follow]

I'm also new here and new to Codeblocks. Had no trouble installing on Windows 10.

I installed on Ubuntu 20.04 using apt, that seemed to work but had trouble compiling due to missing libs (unsurprisingly).

I've since installed Mint and this time decided to look at the official install instructions... and it's at this point that things get a little confusing.

I ended up here first: https://wiki.codeblocks.org/index.php/Installing_Code::Blocks_nightly_build_on_Ubuntu

Didn't really want to install nightly build but thought I'd give it a go...

There seems to be a problem with 'libwxgtk3.0-4' and 'libwxgtk3.0-dev' -- neither repository can be found.

So... gave up on that. Have now dowloaded the tar for codeblocks 20.03 from here: https://www.codeblocks.org/downloads/binaries/#imagesoslinux48pnglogo-linux-32-and-64-bit

The page states once the tar is downloaded all the deb packages will be found therein.

I have two questions though:

1. Am I supposed to install all the deb packages?
2. What about the sub-archive tar within: 'codeblocks_20.03.tar.xz', do I extract that as well, or just leave it alone?

[Linux Mint 21.3, upstream release: Ubuntu 22.04]
« Last Edit: May 28, 2024, 03:00:50 pm by audiobabble »

Offline david

  • Single posting newcomer
  • *
  • Posts: 3
Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
« Reply #3 on: July 09, 2024, 03:44:15 pm »
For me this worked on Linux Mint 21.3 (Virginia).
Open a terminal and enter below command.
Afterwards open start menu and find Programming -> Code::Blocks IDE.
WxSmith will already be installed as PlugIn.

Code
sudo apt install build-essential  \
                 gdb  \
                 libwxgtk3.0-gtk3-dev  \
                 wx3.0-doc  \
                 codeblocks  \
                 codeblocks-contrib
« Last Edit: July 10, 2024, 03:21:00 pm by david »

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1602
Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
« Reply #4 on: July 09, 2024, 03:53:32 pm »
Replace libwxsmithlib-dev with codeblocks-contrib to get all plugins.

Offline david

  • Single posting newcomer
  • *
  • Posts: 3
Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
« Reply #5 on: July 10, 2024, 03:19:59 pm »
You are right, I will adjust the install command.