User forums > General (but related to Code::Blocks)

Installing Code::Blocks on Ubuntu 7.10

<< < (2/2)

san:
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
--- End code ---

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

--- End code ---

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 -

--- End code ---

And update the packages by entering the following lines on the terminal:

--- Code: ---sudo apt-get update
sudo apt-get upgrade

--- End code ---

3) Install code::blocks

Enter the following line in the terminal

--- Code: ---sudo apt-get install libcodeblocks0 codeblocks libwxsmithlib0 codeblocks-contrib
--- End code ---


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!

Navigation

[0] Message Index

[*] Previous page

Go to full version