Difference between revisions of "Obtaining Vifm"
Jump to navigation
Jump to search
m (Xaizek moved page Build instructions to Obtaining Vifm: Title doesn't match contents) |
(→From sources: Fill the section) |
||
Line 3: | Line 3: | ||
==== From sources ==== | ==== From sources ==== | ||
− | ''' | + | Building from sources shouldn't cause any troubles. |
+ | |||
+ | Prerequisites: | ||
+ | |||
+ | * '''development''' version (the one that includes header files) of [https://en.wikipedia.org/wiki/Curses_(programming_library) curses library] (most likely [https://en.wikipedia.org/wiki/Ncurses ncurses]) built as shared library with enabled wide-character support (should be available on most systems). On Debian-based systems package you need is called <code>libncursesw5-dev</code>. | ||
+ | |||
+ | The standard set of command should work just fine: | ||
+ | <source lang="bash"> | ||
+ | ./configure | ||
+ | make | ||
+ | make install | ||
+ | </source> | ||
+ | |||
+ | By default Vifm will be installed under `/usr/local`, if you want to have it in `/usr`, specify `--prefix` parameter: | ||
+ | <source lang="bash"> | ||
+ | ./configure --prefix=/usr | ||
+ | </source> | ||
+ | |||
+ | If you know how to make a package on for your distribution, it's recommended to | ||
+ | make one and install it rather than running <code>make install</code>. E.g. on | ||
+ | [https://en.wikipedia.org/wiki/Slackware Slackware Linux] one could do: | ||
+ | <source lang="bash"> | ||
+ | mkdir build | ||
+ | make DESTDIR="$PWD/build" install | ||
+ | su | ||
+ | cd build | ||
+ | makepkg ../vifm-dev.txz | ||
+ | installpkg ../vifm-dev.txz | ||
+ | </source> | ||
=== GNU/Linux === | === GNU/Linux === |
Revision as of 20:16, 7 September 2014
*nix like
From sources
Building from sources shouldn't cause any troubles.
Prerequisites:
- development version (the one that includes header files) of curses library (most likely ncurses) built as shared library with enabled wide-character support (should be available on most systems). On Debian-based systems package you need is called
libncursesw5-dev
.
The standard set of command should work just fine:
./configure
make
make install
By default Vifm will be installed under `/usr/local`, if you want to have it in `/usr`, specify `--prefix` parameter:
./configure --prefix=/usr
If you know how to make a package on for your distribution, it's recommended to
make one and install it rather than running make install
. E.g. on
Slackware Linux one could do:
mkdir build
make DESTDIR="$PWD/build" install
su
cd build
makepkg ../vifm-dev.txz
installpkg ../vifm-dev.txz
GNU/Linux
Using package managers
See Downloads page for a list (probably incomplete) of Vifm packages in various operating systems.
Note that there is no guarantee that packages are up to date. To use the latest version of Vifm refer to section on building Vifm from sources.
Windows
Cygwin
TODO
Using MXE (on GNU/Linux)
TODO
Using MinGW
TODO
OS X
Using HomeBrew
TODO
Using MacPorts
TODO