Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What are the best tools for resolving unmet dependencies when compiling from source? I read about 'apt-file' and 'checkinstall' from ubuntu documentation however i just can't seem to install these two(2) packages in the terminal with sudo apt-get install command or through synaptic package manager or software centre. Thanks in advance

share|improve this question
    
why can't you install those packages? Are there errors? –  user1974 Apr 5 '11 at 0:19
    
Well terminal reports that those packages can't be found –  Mysterio Apr 5 '11 at 5:05
    
maybe you don't have the universe repository installed? You may find apt-cache policy (package) useful. It tells you whether the package is installable. –  user1974 Apr 6 '11 at 1:49
    
Got the packages now all i had to do was a sudo apt-get update after enabling all the repos in the software sources. Can you throw more light weight the your apt-cache policy command –  Mysterio Apr 6 '11 at 8:25
add comment

1 Answer

up vote 3 down vote accepted

sudo apt-get build-dep (package)

That should install all the packages needed to build something. You may also need to install build-essentials

share|improve this answer
    
Already installed build essentials but still can't those two packages. I'll try the build-dep later and report –  Mysterio Apr 5 '11 at 5:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.