Code::Blocks
March 16, 2010, 06:26:33 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Code::Blocks 8.02 has been released!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]
  Send this topic  |  Print  
Author Topic: Installing Code::Blocks on Ubuntu 7.10  (Read 7890 times)
LinuxNewb
Newcomer
*
Posts: 1


« on: April 11, 2008, 05:18:34 am »

Hello,

Can somebody please tell me how to install Code::Blocks on my Linux machine (Ubuntu 7.10)?

It installed easily on my Mac, my Windows Vista PC, and on my Windows XP PC at work.
Why is it such a pain to get it running on Ubuntu?

I've downloaded the latest DEB packages but when I try to install them they say they are all dependent on eachother.
This should be a lot simpler than it is.

Anyway, I guess I'm just a bit frustrated right now. If someone could give me a hand, that would be great, because Code::Blocks is my favorite editor and the C++ tools I'm using now only work on Linux.
Logged
jens
Global Moderator
Lives here!
*****
Posts: 2557



WWW
« Reply #1 on: April 11, 2008, 07:46:16 am »

If you don't post the exact error -message it's hard to find out what really happens.

I guess you don't have the right version of wxWidgets installed.

Have you read "Note 2" on the download-page [edit]or and (for ubuntu-users who do not use gutsy)[/edit] the original wxWidgets-article about installing wxWidgets on ubuntu and debian ?
« Last Edit: April 11, 2008, 11:34:57 am by jens » Logged

Regards

Jens

debian - nightlies and wxWidgets (msw-)cross-build libs for "i386" and "amd64" : http://apt.jenslody.de/
C::B changelog: http://apt.jenslody.de/ChangeLog
leon
Newcomer
*
Posts: 4


« Reply #2 on: April 11, 2008, 11:21:17 am »

I tried recently to upgade my version of CB and was told that I needed wxwidgets 2.8 and 7.10 has package for 2.6 by default.
Logged

Glass Arcade, Tauntonions
Noli illegitimi carborundum
jens
Global Moderator
Lives here!
*****
Posts: 2557



WWW
« Reply #3 on: April 11, 2008, 11:30:50 am »

I tried recently to upgade my version of CB and was told that I needed wxwidgets 2.8 and 7.10 has package for 2.6 by default.

Have you read "Note 2" on the download-page or the original wxWidgets-article about installing wxWidgets on ubuntu and debian ?

The "or" should be replaced by an "and", because you might need other packages, if you do not use gutsy (i will do so in my first post).

No more to say.

Edit:

Or use the repo provided by pasgui.
Read more: http://lgp203.free.fr/spip/spip.php?article1
« Last Edit: April 11, 2008, 11:38:03 am by jens » Logged

Regards

Jens

debian - nightlies and wxWidgets (msw-)cross-build libs for "i386" and "amd64" : http://apt.jenslody.de/
C::B changelog: http://apt.jenslody.de/ChangeLog
drdos2006
Newcomer
*
Posts: 3


« Reply #4 on: April 12, 2008, 12:19:41 am »

Here is how I did it.

http://ubuntuforums.org/showthread.php?t=750323

regards
Logged
san
Advanced newcomer
*
Posts: 16


« Reply #5 on: April 12, 2008, 11:55:09 am »

I use the [LGP] (pasgui) repository for code::blocks on ubuntu 7.10 and the official wxwidgets repository.

Check this page for more information: http://lgp203.free.fr/spip/spip.php?article1

Very easy (just add two repositories) and install code::blocks. Now updates will come without having to check it manually etc.


[edit]
Ah Jens already mentioned this repository.. well let me explain it as simple as it can get


1) Add the repositories to /etc/apt/sources.list:

Open the file with a graphical editor as root. Paste the following line in a terminal.
Code:
gksu gedit /etc/apt/sources.list

Paste this at the end:
Code:
# codeblocks
deb http://lgp203.free.fr/ubuntu/ gutsy universe
# wx widgets
deb http://apt.wxwidgets.org/ gutsy-wx main

2) To make sure your package system trusts these sources add their keys.

Enter these two lines at the terminal
Code:
wget -q http://lgp203.free.fr/public.key -O- | sudo apt-key add -
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -

And update the packages by entering the following lines on the terminal:
Code:
sudo apt-get update
sudo apt-get upgrade

3) Install code::blocks

Enter the following line in the terminal
Code:
sudo apt-get install libcodeblocks0 codeblocks libwxsmithlib0 codeblocks-contrib


Now that was not hard was it? It's just a bit different than the windows/osx install but remember that now you automaticly receive the new nightly builds!

Enjoy!

« Last Edit: April 12, 2008, 12:07:34 pm by san » Logged
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!