Code::Blocks Forums

User forums => Help => Topic started by: djsb on April 02, 2024, 12:19:20 pm

Title: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
Post by: djsb on April 02, 2024, 12:19:20 pm
Is it possible to install Code:Blocks,Wxwidgets and wxSmith on Linux Mint? If so, how?
Title: Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
Post by: Pecan 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

Title: Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
Post by: audiobabble 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 (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 (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]
Title: Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
Post by: david 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
Title: Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
Post by: Miguel Gimenez on July 09, 2024, 03:53:32 pm
Replace libwxsmithlib-dev with codeblocks-contrib to get all plugins.
Title: Re: How do I install Code:Blocks,Wxwidgets and wxSmith on Linux Mint?
Post by: david on July 10, 2024, 03:19:59 pm
You are right, I will adjust the install command.