LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-24-2010, 07:20 AM   #31
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33

I don't understand why 64 MB is needed for a "minor number change".
How can I just get the updates without reinstalling everthing ?.
Will synaptic help me to do that ?
I just noticed, I actually already had it.

Last edited by elishac; 01-24-2010 at 07:23 AM.
 
Old 01-24-2010, 07:30 AM   #32
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
1. You have to download the new package every time there is a new package.
2. You always have to install the new package.
3. Yes. Synaptic will do everything without giving you messages that you don't understand.

Cool, you already have it. Imagine that. Go to Settings - Repositories, and check main through universe.
 
Old 01-24-2010, 08:00 AM   #33
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,107

Rep: Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114
Quote:
Originally Posted by elishac View Post
I've told you I'm a beginner, I have no idea what I'm doing.
The general rule for installing anything on Linux is to get it from the repositories associated with your distribution.

On rare occasions, what you want isn't there. On rarer occasions, it is there but there is some good reason for getting it elsewhere (such as direct from the project supporting the software you want). But unless you have a good understanding of why you are getting a specific piece of software from somewhere other than the repositories, you're probably making a mistake.

The apt-get system provides command line access to the repositories. The commands you quoted in your first post get (from the repositories) several packages that are either needed by codeblocks itself or that you would need in order to use codeblocks.

The Synaptic program is a GUI front end for the same repository system accessed by apt-get. In cases where you don't know exactly what you want to get, it is much easier to use Synaptic rather than apt-get. The results are the same.

On most of what has been said in this thread, I agree with slightlystoopid. Everyone else seems to be posting links to instructions to get codeblocks from the project maintaining codeblocks. It is simpler and probably better to get codeblocks using apt-get or Synaptic.

When you use apt-get or synaptic, any other software needed by the package you are installing will be installed automatically. That makes most of what you already did with apt-get to prepare for codeblocks unnecessary, but not in any way harmful.

Unlike most packages, codeblocks does not require for installation all of the other packages that you will need to really use codeblocks. Maybe you already covered what you need with the apt-get commands you already gave. But I suspect not. Once codeblocks is actually installed and you start trying to compile projects that you create in it, you will probably discover some other packages are missing, generic parts of the system needed for codeblocks to compile anything and/or packages specific to the type of project you decide to create in codeblocks.

I don't recall enough to predict exactly what extra items you might need. If you get stuck, post the error message from the attempt to do something in codeblocks and someone will tell you what extra package is needed to get past that error. It can be a little frustrating to start, but soon you will be past all those issues and codeblocks will operate smoothly.
 
Old 01-24-2010, 08:18 AM   #34
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Ok thanks, I think I understand it better now, I'll try to use synaptic from now on.
But what exactly should I do now to update to the newest version without downloading everything (64MB) all over again ?
Moreover, according to what you just said, I should not remove the things that I installed in the first post then, right ?
 
Old 01-24-2010, 08:32 AM   #35
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,107

Rep: Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114
Quote:
Originally Posted by elishac View Post
But what exactly should I do now to update to the newest version without downloading everything (64MB) all over again ?
Sorry. It doesn't work that way. Even if the difference within each file between two versions is tiny, entire files are included in the update.

Most of us have internet connections for which a 64MB download is not a big deal.

After you get codeblocks initially working, you might want to be more selective about how often you take updates. Ubuntu will notice available updates quite often. But you don't need to get them all immediately.

Quote:
I should not remove the things that I installed in the first post then, right ?
Correct. In the first post you described only installing things with apt-get. None of that did any harm. It probably was needed and if so it was correct. If any of it wasn't needed (which I doubt), it is taking a little unnecessary disk space but otherwise doing no harm. I hope your disk isn't so small that you need to remove every unnecessary package.

Many of the instructions discussed beyond the first post are for installing things other ways (not with apt-get nor with Synaptic). On first read of the thread, I thought you had followed some of those instructions. On reread, I'm not so sure. If you had followed some of those instructions, some of what you did may justify being undone.

Last edited by johnsfine; 01-24-2010 at 08:37 AM.
 
Old 01-24-2010, 08:36 AM   #36
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I don't care about downloading 64MB, but I'd rather not use disk space for nothing.
What will happen to these 64MB ? (surely the minor update isn't 64MB?)
Will it get automatically deleted ?
 
Old 01-24-2010, 08:53 AM   #37
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,107

Rep: Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114
I don't use apt-get (rather than Synaptic) often enough to really understand its messages, but the messages you quoted included

Code:
The following extra packages will be installed:
codeblocks-contrib codeblocks-dbg
I also don't know why codeblocks seems to depend on codeblocks-dbg. I would have expected codeblocks-dbg and maybe also codeblocks-contrib would be extras you might want with codeblocks rather than necessary parts. But the repositories used by Ubuntu seems to think those are necessary parts.

So you did add things not just update things.

I don't know what fraction of the 64MB is explained by that.

Unless you tell it not to, Synaptic keeps update files in a form that lets you undo and redo some updates without redownloading anything. That takes space. I don't know details nor limits nor whether apt-get does the same nor how much of your 64MB might be there. My hard drive is big and mostly empty and I don't tend to worry about such things.

Also, I noticed in post #14 you installed something using dpkg. dpkg is also part of the same system with apt-get and Synaptic, so I think anything you installed as you described in post #14 that needed to be removed to correctly update codeblocks would have been automatically removed by apt-get. But that's getting outside my expertise and I didn't carefully ready what led to post #14. So maybe someone else has a better idea about whether/how you ought to undo what you described doing in post #14.

Last edited by johnsfine; 01-24-2010 at 09:00 AM.
 
Old 01-25-2010, 04:27 AM   #38
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
ok, thanks.
Just one last question : I also noticed I have a "ubuntu software center" in applications. Which is best, this one or synaptic ? (are ubuntu software center and synaptic installed by default in ubuntu?)
 
Old 01-25-2010, 01:12 PM   #39
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Which one should I use ?
 
Old 01-25-2010, 06:39 PM   #40
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Nobody ever heard of "ubuntu software center" ? (I'm not sure whether it was already bundled with ubuntu or it was installed later)
 
Old 01-25-2010, 11:51 PM   #41
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
Quote:
Originally Posted by elishac
Which is best, this one or synaptic ?

Which one should I use ?

Nobody ever heard of "ubuntu software center" ?
Nobody's going to tell you how to dress yourself. Nobody's going to tell you whether to drink Coke or Pepsi. What you are experiencing is part of a time-honored tradition called "learning". The differences between these two pieces of software is blatantly obvious by simply opening them. Why don't you try it?

And they are both installed by default on Mint, the same is probably true for Ubuntu as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code::Blocks h3x0r Programming 2 04-13-2007 08:35 AM
code::blocks compiling sharapchi Programming 2 11-23-2006 12:50 PM
Scrolling thru threads with code blocks - Thanks minrich LQ Suggestions & Feedback 2 09-01-2006 01:21 PM
What's difference between the two small blocks of c++ code clinux_rulz Programming 9 12-04-2005 08:39 AM
Smilies in Code Blocks Matir LQ Suggestions & Feedback 6 08-19-2005 04:49 AM


All times are GMT -5. The time now is 10:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration