Questions tagged [raco]

The raco program supports various Racket tasks from a command line

raco: Racket Command-Line Tools

The raco program supports various tasks from a command line. The first argument to raco is always a specific command name. For example, raco make starts a command to compile a Racket source module to bytecode format.

The set of commands available through raco is extensible. Use raco help to get a complete list of available commands for your installation. This manual covers the commands that are available in a typical Racket installation.

23 questions
11
votes
1 answer

Where does raco install packages?

Where would a raco pkg install --auto drracket install the drracket package by default? This is off of a preexisting homebrew installation of racket.
Kinnard Hockenhull
  • 2,790
  • 5
  • 27
  • 34
4
votes
1 answer

Raco manage package dependencies

With javascript using yarn or npm, a user can update a projects package.json file and use npm install. This is a simple workflow that is easy to follow as it separates the deps specification with the actual installation. Is there something similar…
aqui8
  • 511
  • 3
  • 11
3
votes
1 answer

Racket/Scheme compile to single binary, no dependencies? FFI and static linking

Say I'm building an app in Racket. And say eventually I want to compile that app as a single binary file that could be distributed to users, without them having Racket or any other software libs installed. I believe this is possible, yes? Say in…
Anentropic
  • 32,188
  • 12
  • 99
  • 147
3
votes
1 answer

Is there a way to specify where raco should install a package?

Many languages' package management systems install third-party packages in a subfolder of a given project's root repository. (E.g. node_modules/, deps/, etc.) This is nice as it allows multiple versions of a single package to coexist nicely, as each…
Ashton Wiersdorf
  • 1,865
  • 12
  • 33
3
votes
1 answer

Linking a Racket program to a Fortran library

I have a Racket program I want to link against a Fortran library and another library, because the Fortran API works well. I saw from a Stack Overflow answer by Jens Axel Søgaard that he was able to link to CBLAS and LAPACK. The libraries I'm using…
gknauth
  • 2,310
  • 2
  • 29
  • 44
2
votes
0 answers

How do I run Pie (from The Little Typer) from the command line?

I've been reading The Little Typer for a while now and I want to actually try out Pie now instead of just reading about it. Here are the steps in which I tried to get a Pie REPL up and running in the command line (on a Mac): brew install racket raco…
Caspian Ahlberg
  • 934
  • 10
  • 19
2
votes
0 answers

Signing error when trying to open executable created with raco (macOS)

I've been breaking my head on this issue and have come to SO to ask for some help. I'm running Racket v7.7 on macOS 10.14. I've built an application with a GUI (https://github.com/layetri/markoviser), and when I compile it with raco exe --gui, all…
2
votes
1 answer

Installing racket packages as native executables on linux

Is there a way to install a racket package either: as a statically linked native executable? have raco install it to specific path where it can be packaged and distributed as native linux distribution package?
b2Wc0EKKOvLPn
  • 2,054
  • 13
  • 15
2
votes
1 answer

Upgrading Minimal Racket and DrRacket

I'm on Mac OS X Sierra and I've been using homebrew to get hold of minimal racket and then adding the things I want on top via raco. One of those things being drracket. However after upgrading from 6.10 to 6.11 things have gone a bit awry. When…
robertpostill
  • 3,820
  • 3
  • 29
  • 38
2
votes
1 answer

Programmatically determining if a Racket package is installed

Is there any programmatic way to determine if a package has been installed? I know about raco pkg show, but it only seems to return a string with information about the scope that is installed. For example, if I run it from the command line: $ raco…
Leif Andersen
  • 21,580
  • 20
  • 67
  • 100
1
vote
0 answers

Is there any way to install racket documentation only for specific package

I ran raco setup with --no-docs option. Now I want documentation for some packages. Is there any way to install documentation of only specific packages?
Arun
  • 183
  • 2
  • 9
1
vote
1 answer

'raco' is not recognized on the windows 10 command line

I'm trying to get familiar with DrRacket plugin framework, and I'm using the following tutorial: https://lang.video/blog/2018/03/21/making-an-ide-plugin-for-drracket/ I'm stuck at the step where raco is used: When i run the command, my windows 10…
TomatoFarmer
  • 463
  • 3
  • 13
1
vote
1 answer

iracket can't find jupyter, even though it's already installed

When trying to install the iracket kernel, it throws cannot find jupyter executable I already put python and racket in the PATH, I don't know if it helps but when entering the command raco iracket check it throws me IRacket install-history file:…
JesusDD
  • 13
  • 2
1
vote
1 answer

DrRacket local Package installation for Windows

I want to install the yaml (and any other including iracket ..) package to my local Racket directory (portable on a stick) - Package installation using DrRacket or raco uses C:\Users\name\AppData\Roaming so my stick does not work on other machines.…
Erich
  • 41
  • 7
1
vote
1 answer

raco: How to install a package or update it if it already exists?

raco pkg install installs a package if it does not yet exist, and fails if the package already exists. raco pkg update updates a package, and fails if the package does not yet exist. Is there a raco command that…
Flux
  • 9,805
  • 5
  • 46
  • 92
1
2