How to install dependencies (on a possibly broken system)

Asked by Isaiah Odhner

It's not explained how to install dependencies in the README or HACKING files.
I can't install them with apt-get. I was able to install libvala-0.26, although it seems that was supposed to already be installed...
I'm using a pre-beta-1 daily build of freya and it's sort of... slowly dieing.
Are these packages supposed to be available?
ie. installable with sudo apt-get install libgtk-3.0-dev libgtksourceview-3.0-dev libgranite libgconf-2.0-dev libzeitgeist-2.0
Do I need to add a PPA for -dev stuff?

Question information

Language:
English Edit question
Status:
Solved
For:
Scratch Edit question
Assignee:
No assignee Edit question
Solved by:
Isaiah Odhner
Solved:
Last query:
Last reply:
Revision history for this message
Fred Mwangi (mwangi-frederick) said :
#1

Make sure you have the right names of the files when using apt-get, the have changed.

My results with your supplied command:

Note, selecting 'libzeitgeist-2.0-dev' for regex 'libzeitgeist-2.0'
Note, selecting 'libzeitgeist-2.0-doc' for regex 'libzeitgeist-2.0'
Note, selecting 'libzeitgeist-2.0-0' for regex 'libzeitgeist-2.0'
Note, selecting 'libzeitgeist-2.0-0-dbg' for regex 'libzeitgeist-2.0'
E: Unable to locate package libgtk-3.0-dev
E: Couldn't find any package by regex 'libgtk-3.0-dev'
E: Unable to locate package libgranite
E: Unable to locate package libgconf-2.0-dev
E: Couldn't find any package by regex 'libgconf-2.0-dev'

Instead, search for each file needed in the apt repositories by issuing: apt-cache search NAME_OF_FILE

for example the old package from above is libgtk-3.0-dev

search for the new one:

apt-cache search libgtk-3

Result:

 libgtk-3-dev - development files for the GTK+ library

Revision history for this message
Isaiah Odhner (isaiahodhner) said :
#2

I don't remember if this solved my problem. I didn't end up contributing changes to Scratch like I had intended to, at any rate.