LoginSignup
0
0

More than 3 years have passed since last update.

Emacs: package manager

Last updated at Posted at 2020-09-05

目的

  • emacs の package manager の使用方法を記述する
    • emacs ver24 では標準搭載らしい // 未確認
  • 初期状態では使用可能 package が少ないため, 増強する

想定環境

  • emacs ver24以上
  • mac, linux 系

package 増強 // repository 登録

  • 以下を記述し, emacs を再起動する
$ emacs ~/.emacs.d/init.el
(package-initialize)
(setq package-archives
      '(("gnu"   . "http://elpa.gnu.org/packages/")
        ("melpa" . "http://melpa.org/packages/")
        ("org"   . "http://orgmode.org/elpa/")))

package list を開く

M-x package-list-packages

# M-x は, meta key と,  x key を同時に押下.
  • 上記で package list が出力される
  • install したい package 行へ移動へ, i でチェックを付与
  • x で install を実行する
  • install 後の使用方法, 有効化は個別の package の readme などを参照する必要あり

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0