LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2014, 10:05 AM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Rep: Reputation: 1
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.

Last edited by sryzdn; 09-28-2014 at 10:11 AM.
 
Old 09-28-2014, 10:16 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by sryzdn View Post
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?
 
1 members found this post helpful.
Old 09-28-2014, 03:16 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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

-

Last edited by knudfl; 09-29-2014 at 01:24 PM.
 
Old 09-29-2014, 01:04 PM   #4
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by knudfl View Post
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.
 
Old 09-29-2014, 01:24 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
← #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

-

Last edited by knudfl; 09-29-2014 at 01:26 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Codeblocks problem brodo Slackware 11 10-11-2015 08:33 AM
CodeBlocks problem r_jr Linux - Software 1 04-29-2012 03:46 AM
Cannot install Codeblocks on Opensuse 11.4 duihou Linux - Software 3 11-11-2011 01:13 PM
codeblocks elishac Linux - Newbie 9 03-25-2010 05:06 PM
? how to install codeblocks on unbuntu 9.04 ? maxreason Ubuntu 1 06-02-2009 03:11 AM


All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration