User forums > Help
how to install codeblocks 10.05 on ubuntu 11.04 (offline)?
vikash:
I have downloaded codeblocks for debian from ubuntu download page.
There are a lot of .deb packages How to install them. I try to install one of them. As i click on that it comes to software. After clicking install it still tries to connect Internet. But here i am trying to install it off line.
most of all i want to ask how to install codeblocks on ubuntu 11.04 off-line.
thanks for reply.
oBFusCATed:
Have you read this: http://www.debian.org/doc/FAQ/ch-pkgtools.en.html ?
Also have you tried to install the packages with dpkg?
hint1: you should add all packages to the command
hint2: read the manual for dpkg
hint3: execute "man dpkg" for the manual
vikash:
--- Quote from: oBFusCATed on August 23, 2011, 12:59:27 pm ---Have you read this: http://www.debian.org/doc/FAQ/ch-pkgtools.en.html ?
Also have you tried to install the packages with dpkg?
hint1: you should add all packages to the command
hint2: read the manual for dpkg
hint3: execute "man dpkg" for the manual
--- End quote ---
I try this
--- Code: ---cd Desktop
cd i386 //all deb files are inside this folder
dpkg --install codeblocks_10.05-1_i386.deb
--- End code ---
but it says error see attachment.
you say add all the packages to the command what does it mean.
You can see the desktop environment in the attachment can you tell me the suitable command.
thanks for you useful reply waiting for next one.
oBFusCATed:
facepalm1: you've not learned to search with the error messages from the programs
facepalm2: you don't know how to copy paste text, but you've attached a screen shot
Freem:
Running dpkg is the same as running apt-get or aptitude or synaptic...
You need to be a super user to install something.
Aptitude and synaptics can allow you to become admin by asking you the pass.
But with the vast majority of command line tools, you will have to become admin before.
Ubuntu give the "sudo" command for this, or you may prefer (as I) "su".
Your command should be:
--- Code: ---sudo dpkg -i codeblocks_10.05-1_i386.deb
--- End code ---
But that will probably fail too, because other packages could be absent.
If all packages are in your directory and there are no other, you can use:
--- Code: ---sudo dpkg -i *
--- End code ---
To be faster.
Else, you will have to precise all packages manually, like this:
--- Code: ---sudo dpkg -i codeblocks_10.05-1_i386.deb another_12.34-5_arch.deb package_23.45-6_arch.deb
--- End code ---
Obviously, replace the 2 I added which are fictive by the real ones.
BTW you should really read some docs about CLI and posix privileges... the error message is really easy to understand...
PS: I love this image oBFusCATed... Will put it in favorites as a nice tool
Navigation
[0] Message Index
[#] Next page
Go to full version