lisp - How to install a package with quicklisp -


i tried install lisplab asdf , quicklisp turned out fail.

i use sbcl , slime.

anyone can me installation. , want manipulate matrix within lisp:)

thanks, lisper!

the first thing installing lisp library using quicklisp, see if available via quicklisp:

(note answer i'm using configuration roswell slime sbcl on antergos)

cl-user> (ql:system-apropos "lisplab") ; no value 

in case project not included, can update quicklisp, in case not necessary. project not in quicklisp , maybe not in future. can choose continue installing or search atertnative thake quickdocs search math

let's try install quicklisp says this:

can load local project isn't part of quicklisp? yes. easiest way put project's directory in quicklisp's local-projects directory. example:

$ cd ~/quicklisp/local-projects/ $ git clone git://github.com/xach/format-time.git 

the project loadable via (ql:quickload "format-time")

also, system file can found via asdf's source registry system can loaded ql:quickload.

for example, if have system file my-project.asd in /projects/my-project/, can this:

(push #p"/projects/my-project/" asdf:*central-registry*) (ql:quickload "my-project") 

if my-project depends on systems available via quicklisp not installed, automatically installed.

so project download tarball , extract or download repository in local-projects folder, suggested in comment. in case ./roswell/local-projects in case should cd ~/quicklisp/local-projects/

after "can" load quicklisp, believe since library not maintained, have errors,

if want manipulate matrix lisp recommend use lisp-matrix sure have installed lapack in computer , read documentaaion especcilay code @ end of readme , tests.

cl-user> (ql:quickload :lisp-matrix) load "lisp-matrix":   load 1 asdf system:     lisp-matrix ; loading "lisp-matrix"  (:lisp-matrix) cl-user> (in-package :lisp-matrix-user) #<package "lisp-matrix-user"> lisp-matrix-user> (m* (ones 2 2 :implementation :lisp-array)     (ones 2 2 :implementation :lisp-array)) #<la-simple-matrix-double  2 x 2  2.0d0 2.0d0  2.0d0 2.0d0> 

(be aware foreign-array doesn't work integers)


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -