Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing packages in Racket

I installed DrRacket, the full version not the minimal but I don't have the packages.

When I run this code:

#lang racket

(provide (all-defined-out))

(require rsound)

(play ding)

It gives me this error:

standard-module-name-resolver: collection not found
  for module path: rsound
  collection: "rsound"
  in collection directories:
   C:\Users\Theodor\AppData\Roaming\Racket\6.3\collects
   C:\Program Files\Racket\collects
   ... [161 additional linked and package directories] in: rsound
  no packages suggestions are available .

In "collects" I have only "catalog.sqlite".

How do I install packages for DrRacket? "Update catalog" didn't work. The other similar questions didn't help.

like image 949
Theodor Berza Avatar asked Jan 18 '16 10:01

Theodor Berza


People also ask

What are install packages?

An installation package contains all of the information that the Windows Installer requires to install or uninstall an application or product and to run the setup user interface.

What is package installation in Linux?

A package management system is comprised of sets of tools and file formats that are used together to install, update, and uninstall Linux apps. The two most common package management systems are from Red Hat and Debian. Red Hat, CentOS, and Fedora all use the rpm system (.


1 Answers

Author of rsound here. Yes, liweijian got it right, you need to install the package. There are two ways to do this:

  • In DrRacket, go to "File > Package Manager ..." and type "rsound" in the "do what I mean" box.

  • Or, at the command-line, run

    raco pkg install rsound
    

Let me know if you have any problems with this!

like image 124
John Clements Avatar answered Sep 22 '22 16:09

John Clements