Skip to content

Instantly share code, notes, and snippets.

@lowendgamer
Created September 14, 2022 12:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lowendgamer/23dbfe57df50cc9aa376d43f12baac74 to your computer and use it in GitHub Desktop.
Save lowendgamer/23dbfe57df50cc9aa376d43f12baac74 to your computer and use it in GitHub Desktop.
racket installation
ptrck@msi:~$ sh racket-8.0-x86_64-linux-bc.sh
This program will extract and install Racket v8.0.
Note: the required diskspace for this installation is 529M.
Do you want a Unix-style distribution?
In this distribution mode files go into different directories according
to Unix conventions. A "racket-uninstall" script will be generated
to be used when you want to remove the installation. If you say 'no',
the whole Racket directory is kept in a single installation directory
(movable and erasable), possibly with external links into it -- this is
often more convenient, especially if you want to install multiple
versions or keep it in your home directory.
Enter yes/no (default: no) > yes
Where do you want to base your installation of Racket v8.0?
(If you've done such an installation in the past, either
enter the same directory, or run 'racket-uninstall' manually.)
1 - /usr/... [default]
2 - /usr/local/...
3 - ~/... (/home/ptrck/...)
4 - ./... (here)
Or enter a different directory prefix to install in.
> 1
Error: The entered base directory is not writable: /usr
ptrck@msi:~$ sh racket-8.0-x86_64-linux-bc.sh
This program will extract and install Racket v8.0.
Note: the required diskspace for this installation is 529M.
Do you want a Unix-style distribution?
In this distribution mode files go into different directories according
to Unix conventions. A "racket-uninstall" script will be generated
to be used when you want to remove the installation. If you say 'no',
the whole Racket directory is kept in a single installation directory
(movable and erasable), possibly with external links into it -- this is
often more convenient, especially if you want to install multiple
versions or keep it in your home directory.
Enter yes/no (default: no) > yes
Where do you want to base your installation of Racket v8.0?
(If you've done such an installation in the past, either
enter the same directory, or run 'racket-uninstall' manually.)
1 - /usr/... [default]
2 - /usr/local/...
3 - ~/... (/home/ptrck/...)
4 - ./... (here)
Or enter a different directory prefix to install in.
> ^C
Error: Aborting...
ptrck@msi:~$ sudo sh racket-8.0-x86_64-linux-bc.sh
[sudo] password for ptrck:
This program will extract and install Racket v8.0.
Note: the required diskspace for this installation is 529M.
Do you want a Unix-style distribution?
In this distribution mode files go into different directories according
to Unix conventions. A "racket-uninstall" script will be generated
to be used when you want to remove the installation. If you say 'no',
the whole Racket directory is kept in a single installation directory
(movable and erasable), possibly with external links into it -- this is
often more convenient, especially if you want to install multiple
versions or keep it in your home directory.
Enter yes/no (default: no) > yes
Where do you want to base your installation of Racket v8.0?
(If you've done such an installation in the past, either
enter the same directory, or run 'racket-uninstall' manually.)
1 - /usr/... [default]
2 - /usr/local/...
3 - ~/... (/root/...)
4 - ./... (here)
Or enter a different directory prefix to install in.
> 1
Target Directories:
[e] Executables /usr/bin (exists)
[o] Libraries /usr/lib/racket (will be created)
[s] Shared files /usr/share/racket (will be created)
[c] Configuration /usr/etc/racket (will be created)
[d] Documentation /usr/share/racket/doc (will be created)
[a] .desktop files /usr/share/applications (exists)
[m] Man Pages /usr/share/man (exists)
[l] C Libraries /usr/lib (exists)
[h] C headers /usr/include/racket (will be created)
Enter a letter to change an entry, or enter to continue.
>
Checking the integrity of the binary archive... ok.
Unpacking into "/usr/racket-tmp-install" (Ctrl+C to abort)...
Done.
Moving bin -> /usr/bin
Moving collects -> /usr/share/racket/collects
Moving doc -> /usr/share/racket/doc
Moving lib -> /usr/lib/racket
Moving include -> /usr/include/racket
Moving share/applications -> /usr/share/applications
Moving share -> /usr/share/racket
Moving etc -> /usr/etc/racket
Moving man -> /usr/share/man
Moving README -> /usr/share/racket/doc/README
Writing uninstaller at: /usr/bin/racket-uninstall...
Rewriting configuration file at: /usr/etc/racket/config.rktd...
Installation complete.
ptrck@msi:~$ ^C
ptrck@msi:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment