LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install codeblocks on fedora (https://www.linuxquestions.org/questions/linux-newbie-8/install-codeblocks-on-fedora-4175520369/)

sryzdn 09-28-2014 09:05 AM

install codeblocks on fedora
 
Hi,

I have codeblocks installed via yum on fedora 20, but it is not updated. I downloaded the latest source code from its website, but I don't know how to install it.

Any suggestions will be greatly appreciated.

TB0ne 09-28-2014 09:16 AM

Quote:

Originally Posted by sryzdn (Post 5245751)
Hi,linuxquestions
I have codeblocks installed via yum on fedora 20, but it is not updated.

And that means the version you have installed is the latest one that's supported for Fedora 20.
Quote:

I downloaded the source code from the its website, but I don't know how to install it.Any suggestions will be greatly appreciated.
Did you try reading the instructions on the website?
http://wiki.codeblocks.org/index.php...ource_on_Linux

Maybe running the "install-sh" script (or reading it), that came with the source code?

knudfl 09-28-2014 02:16 PM

I guess you can build a Fedora 20 codeblocks-13.12 rpm
from the Fedora 21 source package "codeblocks-13.12* " ..
http://dl.fedoraproject.org/pub/fedo...8.fc21.src.rpm

Run $ rpmbuild -bb codeblocks
EDIT : codeblocks.spec
.. and get codeblocks-13.12-8.fc20.<arch>.rpm

Setup rpm-build http://www.linuxquestions.org/questi...1-a-766486/#13

-

sryzdn 09-29-2014 12:04 PM

Quote:

Originally Posted by knudfl (Post 5245887)
I guess you can build a Fedora 20 codeblocks-13.12 rpm
from the Fedora 21 source package "codeblocks-13.12* " ..
http://dl.fedoraproject.org/pub/fedo...8.fc21.src.rpm

Run $ rpmbuild -bb codeblocks
.. and get codeblocks-13.12-8.fc20.<arch>.rpm

Setup rpm-build http://www.linuxquestions.org/questi...1-a-766486/#13

-

I have downloaded the rpm package with the link you provided but the command $ rpmbuild -bb codeblocks does not work. It says:
Quote:

error: failed to stat /home/Packages/codeblocks: No such file or directory
Though I had the rpm in my path. I would be grateful if you kindly help me solve it.

knudfl 09-29-2014 12:24 PM

← #4 .
Quote:

I had the rpm in my path
Did you set up the rpm build environment in /home/sryzdn/ ?
http://www.linuxquestions.org/questi...1-a-766486/#13
... When you have done that, unpack the src rpm with :
$ rpm -Uvh codeblocks-13.12-8.fc21.src.rpm
The files will unpack to /home/sryzdn/rpms/{ SPECS, SOURCE }
.. And the build is :
$ cd rpms/SPECS/
$ rpmbuild -bb codeblocks.spec

-


All times are GMT -5. The time now is 08:55 PM.