User forums > Help

Ubuntu - error - installation

<< < (2/5) > >>

Jenna:
Try it fromm commandline as root or with sudo and use dpkg -i <list_of_all_the_deb_files_you_want_seperated_with_space>.
If a file is missing add it to the list.
You do not need the -dev, -dbg and -header-files unless you want to develop for codeblocks.
You need at least the codeblocks, codeblocks-common and libcodeblocks0 packages.
If you want the contrib-plugins (you most likely want them), you also need codeblocks-contrib, codeblocks-contrib-common and libwxsmith0.
I suggest also installing one of the doc-packages (-doc-de or -doc-en).

If you use the debian packages and are on ubuntu > 9.10, you have to  use wxwidgets-poackages from apt.wxwidgets.org (see http://wiki.wxpython.org/InstallingOnUbuntuOrDebian for details).
As far as I know, the wxwidgets-packages shipped with ubuntu (>9.10) are still not binary-compatible with the packages provided by apt.wxwidgets.org I used to build the packages with.
The packages from wxwidgtes.org are wx2.8.11, but should work with the debs also (at least they do it here).

BlubBlub:
Great!

It works! - Thanks Jens!

KammutierSpule:
I've finally succeed install and running SVN version,
I think the solution was in my case:
add all the wxXXXXXX to apt repositories.. and install last versions, then, _remove_ OLD versions (2.6 i think)
I had to manually "forced" to update to last version..
then mix it very well.. reboot.. and reinstall again SVN.. =)

but i think if you follow jens solutions it will work better.

thanks!
KS

san:
*** short instructions to install codeblocks 10.05 on ubuntu 10.04 (64 bit) ***

1) If you have codeblocks 8.02 installed remove it.

--- Code: ---sudo apt-get remove codeblocks
--- End code ---

2) Add the wxwidgets repository to your system. (or add "deb http://apt.wxwidgets.org/ lucid-wx main" to your system throuh the gui System->Administration->Software Sources->Other Software->Add...)

--- Code: ---echo "deb http://apt.wxwidgets.org/ lucid-wx main" >> /etc/apt/sources.list
--- End code ---

3) Add the key to trust the repository and update apt

--- Code: ---wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
sudo apt-get update
--- End code ---

4) Install the correct wxwidgets verion.

--- Code: ---sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common
--- End code ---

5) Install codeblocks 64 bit version (paste this line in the folder where you've downloaded and extracted the 10.05 package)

--- Code: ---sudo dpkg -i codeblocks_10.05-1_amd64.deb codeblocks-common_10.05-1_all.deb libcodeblocks0_10.05-1_amd64.deb codeblocks-contrib_10.05-1_amd64.deb codeblocks-contrib-common_10.05-1_all.deb libwxsmithlib0_10.05-1_amd64.deb codeblocks-doc-en_10.05-1_all.deb
--- End code ---

Klaw117:

--- Quote from: san on June 13, 2010, 12:40:45 pm ---*** short instructions to install codeblocks 10.05 on ubuntu 10.04 (64 bit) ***

1) If you have codeblocks 8.02 installed remove it.

--- Code: ---sudo apt-get remove codeblocks
--- End code ---

2) Add the wxwidgets repository to your system. (or add "deb http://apt.wxwidgets.org/ lucid-wx main" to your system throuh the gui System->Administration->Software Sources->Other Software->Add...)

--- Code: ---echo "deb http://apt.wxwidgets.org/ lucid-wx main" >> /etc/apt/sources.list
--- End code ---

3) Add the key to trust the repository and update apt

--- Code: ---wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
sudo apt-get update
--- End code ---

4) Install the correct wxwidgets verion.

--- Code: ---sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common
--- End code ---

5) Install codeblocks 64 bit version (paste this line in the folder where you've downloaded and extracted the 10.05 package)

--- Code: ---sudo dpkg -i codeblocks_10.05-1_amd64.deb codeblocks-common_10.05-1_all.deb libcodeblocks0_10.05-1_amd64.deb codeblocks-contrib_10.05-1_amd64.deb codeblocks-contrib-common_10.05-1_all.deb libwxsmithlib0_10.05-1_amd64.deb codeblocks-doc-en_10.05-1_all.deb
--- End code ---


--- End quote ---
What exactly do you mean when you say "paste this line in the folder where you've downloaded and extracted the 10.05 package" in step 5? I'm a huge noob when it comes to Ubuntu, so I usually don't understand anything about it. I tried to paste that code into the terminal, but it said something about an error because it could find the file/directory.

By the way, do I download codeblocks-10.05-1-debian-amd64.tar.bz2 or codeblocks-10.05-1-debian-dbg-amd64.tar.bz2?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version