Emacs in WSL2

git clone git://git.sv.gnu.org/emacs.git
# 위 명령어로는 emacs 30.x 버젼의 소스를 얻습니다. 작동은 하긴 하지만 정식 버젼은 29.x
git clone git://git.savannah.gnu.org/emacs.git emacs-29
git checkout emacs-29
# 이렇게 하면 29.x (2024/7/9 현재 29.4.50) 소스가 설치됨
sudo apt install build-essential libgtk-3-dev libgnutls28-dev libtiff5-dev libgif-dev libjpeg-dev libpng-dev libxpm-dev libncurses-dev texinfo<br>sudo apt install autoconf -y
sudo apt install libtree-sitter-dev  
# 잘은 모르지만 tree-sitter 를 넣어서 컴파일 하려고...^^;;;;
cd emacs
./autogen.sh
./configure --with-native-compilation --with-pgtk --with-tree-sitter
make -j8<br>src/emacs --version
sudo make install

# Install the latest version of R
# update indices
sudo apt update -qq
# install two helper packages we need
sudo apt install --no-install-recommends software-properties-common dirmngr
# add the signing key (by Michael Rutter) for these repos
# To verify key, run gpg --show-keys /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc 
# Fingerprint: E298A3A825C0D65DFD57CBB651716619E084DAB9
wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
# add the R 4.0 repo from CRAN -- adjust 'focal' to 'groovy' or 'bionic' as needed
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
sudo apt install --no-install-recommends r-base

# install tidyverse and other packages in R
# install dependecies
# 3.3.x 버젼일 경우 필요: 
sudo apt install libcurl4-openssl-dev libxml2-dev libssl-dev

sudo -i R
> install.packages(c("tidyverse", "data.table", "survival", "reticulate"))

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다