from: Josh Teneycke for: ubuntu linux OS
sudo apt-get install sbcl
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp
############################### | |
# install telegram-cli in ubuntu | |
############################### | |
cd # home folder | |
git clone --recursive https://github.com/vysheng/tg.git && cd tg | |
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev | |
cd tg | |
./configure --disable-openssl | |
make |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; setting up clojure completely without emacs | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;;;;;;; | |
;; installing clojure | |
;; this worked for me (for both 64 bit and 32 bit computer) | |
;;;;;;;;;;;;;;;;;;;;;;;; | |
;; download clojure by git |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; set up clojure with emacs | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; following http://clojure-doc.org/articles/tutorials/emacs.html | |
;; install leiningen following the gist https://gist.github.com/lisp-is-the-future/4962c05d86652e7f40c0ae1a9efc2a6a | |
;;;;;;;;;;;;;;;;;;;;;;;; | |
;;;; 0. install emacs |
;; quickest way to get started: download and extract `portacle` | |
;; (cave: This works ONLY for 64-bit! In 32-bit it doesn't work!) | |
;; portacle contains: | |
;; - emacs editor with slime modus for cl with slime mode *for usage see gist: | |
;; https://gist.github.com/lisp-is-the-future/b1cdefe877fbb5f61bbb4b020618a757 | |
;; - sbcl most optimal lisp implementation | |
;; - quicklisp (package manager for lisp packages) | |
;; - git |
# linux (ubuntu): | |
$ sudo apt install rlwrap | |
# use sbcl using it: | |
$ rlwrap sbcl | |
# enjoy! | |
################################# | |
# use macros for repetitive tasks | |
################################# | |
## record a macro | |
# begin macro C-x ( | |
# do stuff in between |
One obstacle which one faces when beginning with common lisp is emacs. | |
It is so difficult to learn. | |
But actually, there exist a minimal set of commands | |
which one needs for programming. | |
I use these commands currently: | |
;;;;;;;;;;;;;;;;;;; | |
;; install emacs in conda |
#################################################################
# How to install Arch in your Android (into the App TermuxArch)
# and be able to use your Android device like a personal computer
# even running a X server to have GUI
#################################################################
###############################
# Install Termux