Linux Lite Forums

Software - Support => Installing Software => Topic started by: SweetAction22 on June 04, 2014, 10:11:39 PM

Title: Trouble Installing Code: Blocks
Post by: SweetAction22 on June 04, 2014, 10:11:39 PM
I downloaded the .deb files and installed most, however some dependencies were missing from the compressed file..
How would i get these missing files?
Or, how would i find the name to sudo Code: Blocks :: example: sudo apt-get install ??

Thanks
Title: Re: Trouble Installing Code: Blocks
Post by: gold_finger on June 05, 2014, 12:59:40 AM
Always best to check official repositories before downloading software from internet.  Most of the times, things you are looking for are in them and easily installed with either Synaptic Package Manager (Menu -> System -> Install/Remove Software), or through terminal commands.

If you don't know the exact package name to use a terminal command, best to open Synaptic and use it's search feature.  Type either "codeblocks", or "code blocks" (without the quote marks) into the search and it will return choices.  You'll see that it turns out that the package is called "codeblocks".  Click the box next to its name and choose "Mark for installation".  It will then tell you if other dependencies are needed and you just tell it to install those also.  If you want to install other software, find it, mark it for installation also.  When done selecting things to install, hit "Apply".

Screen confirming your choices will show.  It will list what is to be installed.  It may also show items that have been "held back".  Don't worry about those if any are listed.  Usually they are things available for upgrading, but are not things that the system is set-up to do automatically for various reasons that I won't get into.  (They're not related to what you're installing.)

Something else you may want to check out at some point is installing something like the Ubuntu Software Center, or the Lubuntu Software Center.  Those organize available packages by category, have brief descriptions, screenshots, etc. and are generally easier to use when you're not sure what the names of things are and/or when you just want to browse a category of software to see what's available.  Do a search on Youtube for those.  You'll get a much better idea of what I'm talking about when you see them.