LoginSignup
6
4

More than 5 years have passed since last update.

Raspbianにtmuxを導入する

Posted at

やりたいこと

Raspbianでもtmux使ってハッピーになりたい

導入を行った環境

  • Raspberry Pi 3 Model B+
  • Raspbian 8.0

手順

準備

セットアップ用にフォルダを作成

mkdir ~/tmp
cd ~/tmp

libeventの導入

libeventのversion2以上が必要になるので,自前でソースからビルドします.
apt-getlibevent-devを入れても可能かもしれませんが,試していないのでわかりません.

wget https://github.com/downloads/libevent/libevent/libevent-2.1.8-stable.tar.gz
tar xvfz libevent-2.1.8-stable.tar.gz 
cd libevent-2.1.8-stable

./configure 

make
sudo make install 

sudo ldconfig

ncuresesの導入

tmuxのconfigureでncuresesが必要なのでこちらも導入します.
こちらはapt-getから導入します.

sudo aptitude install libncurses5-dev

tmuxの導入

tmuxの導入準備が整いました.
libeventのときと同様にtmuxもソースからビルドします.

cd ~/tmp
wget https://github.com/tmux/tmux/releases/download/2.5/tmux-2.5.tar.gz
tar xvfz tmux-2.5.tar.gz
cd tmux-2.5/

./configure

make
sudo make install

これで導入は終わりです.
Raspberry Piでも良いtmuxライフを.

参考

6
4
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
6
4