### Install and Initialize Quicklisp Source: https://www.quicklisp.org/beta/index.html Demonstrates downloading the installer, verifying the PGP signature, and running the installation within an SBCL session. ```shell $ **curl -O https://beta.quicklisp.org/quicklisp.lisp** % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 49843 100 49843 0 0 33639 0 0:00:01 0:00:01 --:--:-- 50397 $ **curl -O https://beta.quicklisp.org/quicklisp.lisp.asc** ... $ **gpg --verify quicklisp.lisp.asc quicklisp.lisp** gpg: Signature made Sat Feb 1 09:25:28 2014 EST using RSA key ID 028B5FF7 gpg: Good signature from "Quicklisp Release Signing Key " $ **sbcl --load quicklisp.lisp** This is SBCL 1.0.42.52, an implementation of ANSI Common Lisp. More information about SBCL is available at . SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. ==== quicklisp quickstart loaded ==== To continue, evaluate: (quicklisp-quickstart:install) * **(quicklisp-quickstart:install)** ; Fetching # ; 144.48KB ================================================== 147,949 bytes in 0.64 seconds (226.11KB/sec) ; Fetching # ; 160.00KB ================================================== 163,840 bytes in 0.76 seconds (211.36KB/sec) ; Fetching # ; 2.78KB ================================================== 2,846 bytes in 0.001 seconds (2779.30KB/sec) Upgrading ASDF package from version 2.004 to version 2.009 ; Fetching # ; 0.40KB ================================================== 408 bytes in 0.003 seconds (132.81KB/sec) ==== quicklisp installed ==== To load a system, use: (ql:quickload "system-name") To find systems, use: (ql:system-apropos "term") To load Quicklisp every time you start Lisp, use: (ql:add-to-init-file) For more information, see http://www.quicklisp.org/beta/ NIL * **(ql:system-apropos "vecto")** ``` -------------------------------- ### Install SLIME helper Source: https://www.quicklisp.org/beta/index.html Loads the helper system to configure SLIME for use with Quicklisp. ```Common Lisp (ql:quickload "quicklisp-slime-helper") ``` -------------------------------- ### Load Quicklisp manually Source: https://www.quicklisp.org/beta/index.html Loads the Quicklisp setup file from a specific path into a running session. ```Common Lisp (load "~/quicklisp/setup.lisp") ``` -------------------------------- ### Load Quicklisp into Lisp Source: https://www.quicklisp.org/beta/faq.html Commands to load the Quicklisp setup file or add it to the Lisp initialization file for automatic loading. ```Common Lisp (load (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname))) ``` ```Common Lisp (ql:add-to-init-file) ``` -------------------------------- ### Set Custom Quicklisp Installation Path Source: https://www.quicklisp.org/beta/faq.html Specify a non-default directory for the Quicklisp installation during setup. ```Common Lisp (quicklisp-quickstart:install :path ".quicklisp/") ``` ```Common Lisp (quicklisp-quickstart:install :path "/Users/xach/.quicklisp/") ``` -------------------------------- ### Configure Proxy for Quicklisp Source: https://www.quicklisp.org/beta/faq.html Set a proxy server for Quicklisp during initial installation or update the configuration value for existing sessions. Only plain HTTP is supported. ```Common Lisp (quicklisp-quickstart:install :proxy "http://myproxy.site.com:8080/") ``` ```Common Lisp (setf (ql-config:config-value "proxy-url") "http://proxy.value.here") ``` -------------------------------- ### ql:add-to-init-file Source: https://www.quicklisp.org/beta/index.html Configures Lisp to load Quicklisp on startup. ```APIDOC ## (ql:add-to-init-file) ### Description Appends code to the Lisp init file to ensure Quicklisp is loaded automatically. ``` -------------------------------- ### Configure Quicklisp startup Source: https://www.quicklisp.org/beta/index.html Appends initialization code to the Lisp init file to load Quicklisp automatically on startup. ```Common Lisp (ql:add-to-init-file) ``` -------------------------------- ### Load software with Quicklisp Source: https://www.quicklisp.org/beta/index.html Loads a system by name, automatically resolving and downloading dependencies. Use :verbose t to see full compilation output. ```Common Lisp (ql:quickload _system-name_) ``` ```Common Lisp CL-USER> **(ql:quickload "vecto")** To load "vecto": Install 5 Quicklisp releases: cl-vectors salza2 vecto zpb-ttf zpng _loading output here_ ``` -------------------------------- ### ql:quickload Source: https://www.quicklisp.org/beta/index.html Loads a software system into the current Lisp session, automatically downloading dependencies if necessary. ```APIDOC ## (ql:quickload system-name &key verbose) ### Description Loads a software system. It can also load local systems not part of Quicklisp. ### Parameters - **system-name** (string) - Required - The name of the system to load. - **verbose** (boolean) - Optional - If true, shows full compilation and loading output. ``` -------------------------------- ### Load a system with Quicklisp Source: https://www.quicklisp.org/beta/index.html Loads a specified library and its dependencies into the current Common Lisp session. ```Common Lisp (ql:quickload "vecto") ``` -------------------------------- ### Configure automatic initialization Source: https://www.quicklisp.org/beta/index.html Appends code to the user's init file to ensure Quicklisp is loaded automatically at startup. ```Common Lisp (ql:add-to-init-file) ``` -------------------------------- ### ql:system-apropos Source: https://www.quicklisp.org/beta/index.html Searches for available systems in Quicklisp matching a substring. ```APIDOC ## (ql:system-apropos substring) ### Description Returns a list of systems that match the provided substring. ``` -------------------------------- ### Configure SLIME for Quicklisp Source: https://www.quicklisp.org/beta/faq.html Set the Lisp implementation path in the .emacs file to resolve 'no such file or directory' errors. ```Emacs Lisp (setq inferior-lisp-program "sbcl") ``` -------------------------------- ### Add Local Projects to Quicklisp Source: https://www.quicklisp.org/beta/faq.html Methods for registering local projects, either by placing them in the local-projects directory or by updating the ASDF central registry. ```Shell $ cd ~/quicklisp/local-projects/ $ git clone git://github.com/xach/format-time.git ``` ```Common Lisp (push #p"/projects/my-project/" asdf:*central-registry*) (ql:quickload "my-project") ``` -------------------------------- ### Update software and client Source: https://www.quicklisp.org/beta/index.html Commands to update the library distribution or the Quicklisp client itself. ```Common Lisp (ql:update-dist "quicklisp") ``` ```Common Lisp (ql:update-client) ``` -------------------------------- ### ql:uninstall Source: https://www.quicklisp.org/beta/index.html Removes a software system by deleting its archive, source files, and metadata. ```APIDOC ## (ql:uninstall system-name) ### Description Deletes the system's tarball, source files, and metadata. Does not affect the current Lisp session if the system is already loaded. ``` -------------------------------- ### ql:update-client Source: https://www.quicklisp.org/beta/index.html Updates the Quicklisp client itself. ```APIDOC ## (ql:update-client) ### Description Checks for and installs updates to the Quicklisp client. ``` -------------------------------- ### Check system dependencies Source: https://www.quicklisp.org/beta/index.html Lists all systems that depend on the specified system. ```Common Lisp (ql:who-depends-on _system-name_) ``` -------------------------------- ### Search available systems Source: https://www.quicklisp.org/beta/index.html Finds systems matching a substring in their name or metadata. ```Common Lisp (ql:system-apropos _substring_) ``` ```Common Lisp CL-USER> **(ql:system-apropos "xml")** # # # # # # # # # # # # # # # # ``` -------------------------------- ### ql:who-depends-on Source: https://www.quicklisp.org/beta/index.html Lists systems that depend on a specific system. ```APIDOC ## (ql:who-depends-on system-name) ### Description Identifies and returns systems that have a dependency on the specified system. ``` -------------------------------- ### ql:update-dist Source: https://www.quicklisp.org/beta/index.html Updates the specified distribution of software. ```APIDOC ## (ql:update-dist dist-name) ### Description Updates the software distribution (e.g., "quicklisp"). ``` -------------------------------- ### Uninstall software Source: https://www.quicklisp.org/beta/index.html Removes a system's files and metadata, and clears the ASDF system cache. Does not affect the currently running Lisp session. ```Common Lisp (ql:uninstall _system-name_) ``` ```Common Lisp CL-USER> **(ql:uninstall "vecto")** T ``` -------------------------------- ### Exit the REPL Source: https://www.quicklisp.org/beta/index.html Terminates the current Common Lisp session. ```Common Lisp (quit) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.