How to install codelite

Tedzhang

New Member
Joined
Nov 23, 2023
Messages
2
Reaction score
1
Credits
19
I'm rooky of Linux, I failed to install codelite several times. How to install codelite in CentOS?
 


How did you try to install it?
Were there any error messages?

If you haven't already done so, perhaps you can try to install from a terminal, and copy the error messages here. It's likely to help with the issue.

This may help if you're not familiar with the commands:
 
Last edited:
How did you try to install it?
Were there any error messages?

If you haven't already done so, perhaps you can try to install from a terminal, and copy the error messages here. It's likely to help with the issue.

This may help if you're not familiar with the commands:
I install codelite according to this article.
And when I went to the following step.
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCOPY_WX_LIBS=1 -DWITH_WXPATH=/usr/local
The system displays no Cmake file avaliable.
 
I install codelite according to this article.
And when I went to the following step.
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCOPY_WX_LIBS=1 -DWITH_WXPATH=/usr/local
The system displays no Cmake file avaliable.
Thanks for that info. It looks like the cmake program may not be installed on your system. If that is the case, then install it. That should deal with the message you've written: "no Cmake file available".

Usually in linux when an executable like cmake is not installed, the error message is "command not found", so I'm guessing this is the case on your system.
 
It's in the default repositories in Ubuntu, so presumably Debian, Mint, etc...

Have you checked to see if you can just install it that way? Something like sudo yum install codelite perhaps?
 
It's in the default repositories in Ubuntu, so presumably Debian, Mint, etc...

Have you checked to see if you can just install it that way? Something like sudo yum install codelite perhaps?
The codelite package is indeed available in ubuntu and a bunch of other distros: https://pkgs.org/search/?q=codelite, but I wasn't able to find it for centos: https://pkgs.org/search/?q=codelite, or, http://mirror.centos.org/centos/7/os/x86_64/Packages/

There is information in the OP's link that compiling the program may have some advantages, whether or not the package was available from the repos. In particular, if the computer on which the program was being used had say, 20 cpus, then the "j 4" option optimising for 4 cpus (which appeared to be the default) could be adjusted to "j 20" for a more optimised compilation able to take advantage of the processing capacity of the machine.
 

Members online


Top