января 16, 2009
января 13, 2009
Установка программ из исходников
Сразу скажу, что в системе с пакетным менеджером так делать нельзя, никогда и ни под каким предлогом. Нужно пользоваться ports, pkg, apt, yum, etc.
Но иногда приходится. Допустим необходимой программы нет в репозитории, или она не той версии. Лучшей отговоркой будет - тестирование новых версий ПО. Правильный путь в этом случае - сборка пакетов. Но часто это лень делать. Нашел программу: Paco - менеджер установленного из исходников ПО (http://paco.sourceforge.net/)
Paco is a source code package organizer for Unix/Linux systems, originally written to aid package management when installing an LFS system.
When installing a package from sources, paco wraps the "make install" command (or whatever is needed to install the files into the system), and generates a log containing the list of all installed files.
Technically, this is done by preloading a shared library before installation using the environment variable LD_PRELOAD. During installation this library catches the system calls that cause filesystem alterations, logging the created files.
Like any other package manager, paco also provides several options to show package information in different formats. It can remove packages too, among some other basic operations. See the man page for more details.
Gpaco is the graphic interface of paco. It's included in the same tarball and installed by default, althought it can be disabled at configure time. Gpaco requires GTK+ (2.6 or later). As of version 2.0.0 gpaco requires also GTKMM (2.8 or later).
See some screenshots here.
Paco is protected by the GNU General Public License. Look at the COPYING file in the tarball for more details.
Рекомендую для самых ленивых.
Но иногда приходится. Допустим необходимой программы нет в репозитории, или она не той версии. Лучшей отговоркой будет - тестирование новых версий ПО. Правильный путь в этом случае - сборка пакетов. Но часто это лень делать. Нашел программу: Paco - менеджер установленного из исходников ПО (http://paco.sourceforge.net/)
Paco is a source code package organizer for Unix/Linux systems, originally written to aid package management when installing an LFS system.
When installing a package from sources, paco wraps the "make install" command (or whatever is needed to install the files into the system), and generates a log containing the list of all installed files.
Technically, this is done by preloading a shared library before installation using the environment variable LD_PRELOAD. During installation this library catches the system calls that cause filesystem alterations, logging the created files.
Like any other package manager, paco also provides several options to show package information in different formats. It can remove packages too, among some other basic operations. See the man page for more details.
Gpaco is the graphic interface of paco. It's included in the same tarball and installed by default, althought it can be disabled at configure time. Gpaco requires GTK+ (2.6 or later). As of version 2.0.0 gpaco requires also GTKMM (2.8 or later).
See some screenshots here.
Paco is protected by the GNU General Public License. Look at the COPYING file in the tarball for more details.
Рекомендую для самых ленивых.
midnight commander в gnome-terminal
Не разобрался ни с gnome-commander, ни с крусаддером. просто сделал кнопку запуска midnight commander на рабочем столе:
gnome-terminal -t mc --default-working-directory=~ --hide-menubar --geometry 140x40+100+100 -e mc
gnome-terminal -t mc --default-working-directory=~ --hide-menubar --geometry 140x40+100+100 -e mc
января 05, 2009
как в Ubuntu отключить спикер.
Поздно вечером настраивал на десктопе wi-fi (делал точку доступа). В процесе сломал иксы. Перешел в консоль - и через раз на нажатие `TAB` дружественный интерфейс отвечал громким писком спикера. Короче, вот так его отключать:
echo "blacklist pcspkr" /etc/modprobe.d/blacklist
и перезагрузиться
либо rmmod pcspkr
p.s. Система: Ubuntu 8.10, ядро - 2.6.28
echo "blacklist pcspkr" /etc/modprobe.d/blacklist
и перезагрузиться
либо rmmod pcspkr
p.s. Система: Ubuntu 8.10, ядро - 2.6.28
Подписаться на:
Сообщения (Atom)