MATEwiki
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Building and Installing

To run the newest version of a MATE project, often it is not enough to build it from source (i.e. it can not be executed with ./my-program). To work properly it need to be installed, because the installation process ensures that all the needed files are copied to the right places.

Building

First make sure you have all dependencies of the package installed:

$ sudo apt build-dep <package-name>
$ sudo dnf builddep <package-name>

All MATE applications are built in the same way:

$ git submodule update --init --recursive   # Init Git submodules
$ ./autogen.sh --prefix=/usr                # Build configuration
$ make                                      # Build

Installing

Warning: This procedure doesn’t install in a separate prefix, so it may overwrite your system binaries.

After building the package you may install it:

[ Become root if necessary ]
$ make install                              # Installation

Uninstall

To uninstall just do:

[ Become root if necessary ]
$ make uninstall