Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 5012  / 2 Years ago, sun, september 4, 2022, 11:01:49

I have a file downloaded from the Internet.



To be specific I downloaded Code::Blocks from its official site.
The file name is codeblocks.tar.bz2.



If I don't have Internet connection and also Ubuntu Software Center is not working, how do I install the software?



I think I will have to use terminal but I am not used to with terminal. So please make it as simple as possible.


More From » 12.04

 Answers
5

In codeblocks download section there are three options available.




  • Binaries

  • Source

  • SVN



Binaries



If you downloaded the package from Binaries section then your file will be something like this "codeblocks-10.05-1-debian-i386.tar.bz2"




  • untar the package file



    lbzip2 -d codeblocks-10.05-1-debian-i386.tar.bz2

    tar xvf codeblocks-10.05-1-debian-i386.tar



    or



    tar xvjf codeblocks-10.05-1-debian-i386.tar.bz2



    Then use dpkg -i package_name.deb or dpkg -i *.deb to install the package. Make sure you run the deb in proper order to avoid dependencies.




Source



Download the file, sample: codeblocks-10.05-1debian-src.tar.bz2 and untar it the same way how it is done for binaries.



./configure 
make
make install


make sure you have installed build-essential before trying the above steps.



SVN



You need install SVN package before proceeding the following steps.



Code base is at repository: http://svn.berlios.de/svnroot/repos/codeblocks/trunk



Checkout the code using command svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk. (This step needs internet connection.)



Read the README & README.debian for instructions on how to install without internet-access


[#34371] Tuesday, September 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mugustered

Total Points: 193
Total Questions: 123
Total Answers: 108

Location: Bermuda
Member since Wed, Mar 22, 2023
1 Year ago
;