Friday, May 10, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3297  / 2 Years ago, fri, january 14, 2022, 3:46:27

I'm running 11.10 (amd64). I see there's this package:



http://packages.ubuntu.com/source/oneiric/haskell-hunit



However:



$ sudo apt-get install haskell-hunit
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package haskell-hunit


How should I resolve this?


More From » installation

 Answers
2

That is a source package:




7.13 How do I install a source package?



Debian source packages can't actually be "installed", they are just unpacked in whatever directory you want to build the binary packages they produce.



Source packages are distributed on most of the same mirrors where you can obtain the binary packages. If you set up your APT's sources.list(5) to include the appropriate "deb-src" lines, you'll be able to easily download any source packages by running



 apt-get source foo


To help you in actually building the source package, Debian source package provide the so-called build-dependencies mechanism. This means that the source package maintainer keeps a list of other packages that are required to build their package. To see how this is useful, run



 apt-get build-dep foo


before building the source.




So you can't actually "install" it. However, there are binary packages
built from it:





One of them should contain what you want.


[#42805] Sunday, January 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
whipstder

Total Points: 189
Total Questions: 110
Total Answers: 99

Location: Uzbekistan
Member since Sat, Feb 27, 2021
3 Years ago
whipstder questions
Wed, Nov 9, 22, 09:45, 2 Years ago
Tue, Sep 14, 21, 10:54, 3 Years ago
Sun, May 28, 23, 03:52, 1 Year ago
Sat, Jul 17, 21, 07:10, 3 Years ago
;