To be able to install CodeBlocks in Ubuntu 18.04
Step 1: Download codeblocks software from the website: http://www.codeblocks.org/
Step 2: Downloding it from sourceforge website:
$ wget -c https://excellmedia.dl.sourceforge.net/project/codeblocks/Binaries/17.12/Linux/Debian%20stable/codeblocks_17.12-1_amd64_stable.tar.xz
--2018-09-20 11:48:57-- https://excellmedia.dl.sourceforge.net/project/codeblocks/Binaries/17.12/Linux/Debian%20stable/codeblocks_17.12-1_amd64_stable.tar.xz
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13759596 (13M) [application/octet-stream]
Saving to: ‘codeblocks_17.12-1_amd64_stable.tar.xz’
codeblocks_17.12-1_amd64_stable.tar. 100%[===================================================================>] 13.12M 155KB/s in 96s
2018-09-20 11:50:41 (140 KB/s) - ‘codeblocks_17.12-1_amd64_stable.tar.xz’ saved [13759596/13759596]
$
Step 1: Download codeblocks software from the website: http://www.codeblocks.org/
Step 2: Downloding it from sourceforge website:
$ wget -c https://excellmedia.dl.sourceforge.net/project/codeblocks/Binaries/17.12/Linux/Debian%20stable/codeblocks_17.12-1_amd64_stable.tar.xz
--2018-09-20 11:48:57-- https://excellmedia.dl.sourceforge.net/project/codeblocks/Binaries/17.12/Linux/Debian%20stable/codeblocks_17.12-1_amd64_stable.tar.xz
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13759596 (13M) [application/octet-stream]
Saving to: ‘codeblocks_17.12-1_amd64_stable.tar.xz’
codeblocks_17.12-1_amd64_stable.tar. 100%[===================================================================>] 13.12M 155KB/s in 96s
2018-09-20 11:50:41 (140 KB/s) - ‘codeblocks_17.12-1_amd64_stable.tar.xz’ saved [13759596/13759596]
$
Step 3: Uncompress the tar archive:
$ tar xvf codeblocks_17.12-1_amd64_stable.tar.xz
codeblocks_17.12-1_amd64.buildinfo
codeblocks_17.12-1_amd64.changes
codeblocks_17.12-1_amd64.deb
codeblocks-common_17.12-1_all.deb
codeblocks-contrib_17.12-1_amd64.deb
codeblocks-contrib-common_17.12-1_all.deb
codeblocks-dev_17.12-1_amd64.deb
codeblocks-headers_17.12-1_all.deb
codeblocks-libwxcontrib0_17.12-1_amd64.deb
codeblocks-wxcontrib-dev_17.12-1_amd64.deb
codeblocks-wxcontrib-headers_17.12-1_all.deb
libcodeblocks0_17.12-1_amd64.deb
libwxsmithlib0_17.12-1_amd64.deb
libwxsmithlib0-dev_17.12-1_amd64.deb
wxsmith-dev_17.12-1_amd64.deb
wxsmith-headers_17.12-1_all.deb
$
Step 4: There are numerous files here. Let us install them in the following order:
- sudo dpkg -i codeblocks-common_17.12-1_all.deb
- sudo dpkg -i wxsmith-headers_17.12-1_all.deb
- sudo apt-get install -f
- sudo dpkg -i libcodeblocks0_17.12-1_amd64.deb
- sudo dpkg -i libwxsmithlib0_17.12-1_amd64.deb
- sudo dpkg -i libwxsmithlib0-dev_17.12-1_amd64.deb
- sudo dpkg -i wxsmith-dev_17.12-1_amd64.deb
- sudo apt-get install -f
- sudo dpkg -i codeblocks-libwxcontrib0_17.12-1_amd64.deb
- sudo dpkg -i codeblocks-wxcontrib-dev_17.12-1_amd64.deb
- sudo dpkg -i codeblocks-wxcontrib-headers_17.12-1_all.deb
- sudo dpkg -i codeblocks-headers_17.12-1_all.deb
- sudo dpkg -i codeblocks-dev_17.12-1_amd64.deb
- sudo dpkg -i codeblocks-contrib-common_17.12-1_all.deb
- sudo dpkg -i codeblocks_17.12-1_amd64.deb
- sudo apt-get install libcanberra-gtk-module:i386
To check the installation codeblocks:
$ which codeblocks
/usr/bin/codeblocks
$ which codeblocks
/usr/bin/codeblocks
To run codeblocks:
$ codeblocks
$ codeblocks
No comments:
Post a Comment