ビープ音を消す
こちらの記事では「/etc/modprobe.d/blacklist.conf」に追記することになっているが、
使用しているDebian 7.5ではこのパスにこのようなファイルはなく、代わりに
/etc/modprobe.d/fbdev-blacklist.conf
があり、このファイルに以下を追記したらビープ音を消すことができた。
blacklist pcspkr
GNOME 端末のビープ音を消す
メニューバーから
[編集]-[プロファイルの設定]
し、「全般」タブの「端末ベルを鳴らす」のチェックを外す
参考
GNU GLOBALのインストール
公式サイトによるとDebianのパッケージは古いそうなので、ソースからビルド
まずは、上記のページからtar.gzをダウンロード、展開。
その後、展開したディレクトリへ移動し、以下を実行
$ ./configure
$ make
$ sudo make install
PowerTOPのインストール
Debianのapt-getでインストールできるものはv2.0と古く、「--auto-tune」のオプションが使えない。
そこで、ソースをダウンロードして、ビルド・インストールする。
0.既にインストールしていれば、アンインストール
$ sudo apt-get purge powertop
1.ソースをダウンロード、展開
$ tar zxf powertop-2.6.1.tar.gz
1.1 ビルドに必要なパッケージのインストール
$ sudo apt-get build-dep powertop
2.ビルド・インストール
展開したディレクトリへ移動
$ cd powertop-2.6.1/
ビルド・インストール
$ ./configure
$ make
$ sudo make install
3.省電力の最適化
$ sudo powertop --auto-tune
VMware Playerのインストール
ダウンロード
ここから以下をダウンロード
VMware Player for Linux 32-bit
ファイル名: VMware-Player-6.0.2-1744117.i386.bundle
インストール
$ sudo bash VMware-Player-6.0.2-1744117.i386.bundle
インストール後、再起動
$ sudo reboot
起動時に"This program requires version 2.4.0 of the Protocol Buffer runtime library"のエラー
対処法
以下で起動するようにする
$ LANG=C vmplayer
参考
[未解決]初回アップデートに失敗
症状
ログ(/tmp/vmware-root/vmware-modconfig-*.log)を見ると以下のエラーが出ている
Failed to build vmci
対処法2
最新版のLinuxカーネルを使わない
- 一度、VMware Playerをアンインストール
- Debianインストール時のカーネルで起動し、再度VMware Playerをインストール
なお、初回起動時のアップデートでカーネルヘッダを要求されるので、
予め以下のコマンドでインストールしておく
$ sudo apt-get install linux-headers-3.2.0-4-686-pae
※ インストールするカーネルヘッダのバージョンは、「uname -a」で調べること
※ パッケージ名は「apt-cache search headers --names-only」とかで調べる
対処法(失敗)
VMware Playerの参照するソースコードを修正する
ここの記事の修正はすでになされていた
アンインストール
$ sudo vmware-installer -u PRODUCT
「PRODUCT」の名前は以下のコマンドで調べられる
$ vmware-installer -l
参考
$ vmware-uninstall --help
「vmware-uninstall」というコマンドは現在は使わないほうが良い模様
ディスプレイマネージャの変更
$ sudo dpkg-reconfigure DM名
参考
sudoersへの追加
Debianでは/etc/sudoersに
%sudo ALL=(ALL:ALL) ALL
と書かれているため、sudoグループへ追加するだけで、
sudoを使用できる
sudoグループへの追加は以下のコマンドで行える
# adduser ユーザ名 sudo
参考
sudoers、.bash_history、ntp、localeなど
lvコマンドのインストール
$ sudo apt-get install lv
build-essentialのインストール
$ sudo apt-get install build-essential
awesomeのインストール(ソースコードからは保留)
以下でインストール
$ sudo apt-get install awesome awesome-extra
ビルドに必要なソフトウェアのインストール
$ sudo apt-get build-dep awesome
ダウンロード・インストール
展開後、READOMEに従う
(make、make installでいける様子)
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
make時に以下のエラー
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
以下で解決
$ sudo apt-get install doxygen
Not generating API documentation. Missing: ldoc
make時に以下のエラー
-- Not generating API documentation. Missing: ldoc
package 'gdk-pixbuf-2.0' not found
-- package 'gdk-pixbuf-2.0' not found
以下で解決
$ sudo apt-get install libgdk-pixbuf2.0-dev
package 'xcb-cursor' not found
-- package 'xcb-cursor' not found
以下で解決
$ git clone git://anongit.freedesktop.org/xcb/util-cursor
$ cd util-cursor/
$ git submodule update --init
./autogen.sh: 24: ./autogen.sh: autoreconf: not found
$ sudo apt-get install autoconf
$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
configure.ac:18: error: must install xorg-macros 1.6.0 or later before running autoconf/autogen
m4/xcb_util_common.m4:8: XCB_UTIL_COMMON is expanded from...
configure.ac:18: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
$ sudo apt-get install xutils-dev
$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
configure.ac:18: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
m4/xcb_util_common.m4:8: XCB_UTIL_COMMON is expanded from...
configure.ac:18: the top level
autoreconf: configure.ac: tracing
configure.ac:18: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
m4/xcb_util_common.m4:8: XCB_UTIL_COMMON is expanded from...
configure.ac:18: the top level
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure.ac:18: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
m4/xcb_util_common.m4:8: XCB_UTIL_COMMON is expanded from...
configure.ac:18: the top level
configure:4378: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
ソースからインストールするのはあきらめた
gitのインストール
$ sudo apt-get install git
GNU Screenのインストール(ソースコードから)
ビルドに必要なソフトウェアのインストール
$ sudo apt-get build-dep screen
ダウンロード・インストール
展開後、INSTALLに従う
(./configure、make、make installでいける様子)
開発版をインストールする場合
git cloneしたディレクトリにあるmktar.plを実行すると
tarボールが作成されるので、それを任意のディレクトリに展開
configure.inが用意されているので、これのあるディレクトリで
autoconfを実行
また、config.h.inを生成するために
autoheaderを実行
その後、
./configure、make、make install
なお、./configure時に「--enable-colors256」のオプションをつけておくと
256色のカラー表示ができるようになる
参考:
emacsのインストール(ソースコードから)
最終更新:2014年08月11日 22:57