mattintosh note

どこかのエンジニアモドキの備忘録

🐧 Linux に Komodo Edit をインストールする

Komodo Edit 8

Komodo Edit 8 を Linux Mint にインストールするまで。


Komodo Edit のおすすめポイント

  • OS XLinuxWindows に対応しているので OS が変わってもだいたい同じ操作で作業ができる。
  • vi、emacsキーバインドが使える。(お気に入りのキーバインドの設定も可)
  • Komodo Edit 内でコマンドの実行ができる。(編集中のファイルを実行したり、選択範囲を外部コマンドで編集したりなど)
  • UTF-8 と CP932 の変更が簡単。
  • 勝手に作業中のファイルをバックアップしておいてくれる。

などなど。

環境

公式のダウンロードページから tar をダウンロードしてくる。

インストールには専用のスクリプトを使用する。以下はインストール先を $HOME/Applications/Komodo-Edit とした場合の例。

mkdir -p $HOME/Applications/Komodo-Edit
tar xf Komodo-Edit-8.5.3-14067-linux-x86.tar.gz
cd Komodo-Edit-8.5.3.14067-linux-x86
./install.sh -I $HOME/Applications/Komodo-Edit

install.sh のヘルプ。

install.sh - ActiveState Komodo "AS Package" install script

Usage:
    install.sh [options...]

General Options:
    -h, --help          print this help and exit
    -v, --verbose       verbose output

    -I, --install-dir <dir>     specify install directory
    -s, --suppress-shortcut     do NOT install desktop shortcut

When called without arguments this script will interactively install
Komodo. If the install dir is specified then Komodo will be
installed without interaction.

デスクトップにデスクトップエントリファイルが置かれるので applications へ移動するかコピーする。

mv $HOME/Desktop/komodo-edit-8.desktop $HOME/.local/share/applications