2015-10-29 18:20:14 +00:00
|
|
|
# Build Instructions using GCC
|
|
|
|
|
|
|
|
|
|
Linux binaries can be built for LOOT, and these instructions are for doing so on
|
2016-06-11 12:36:25 +01:00
|
|
|
Ubuntu 12.04, though they may also apply to other versions and
|
2015-10-29 18:20:14 +00:00
|
|
|
distributions.
|
|
|
|
|
|
2016-06-11 12:36:25 +01:00
|
|
|
## Building
|
|
|
|
|
|
2015-10-29 18:20:14 +00:00
|
|
|
Most of the procedure for building the API, tests and metadata validator can be
|
|
|
|
|
found in the `.travis.yml` file, which is the configuration file for LOOT's
|
|
|
|
|
Travis CI instance. However, Travis instances have a few more libraries and
|
2016-07-25 09:47:23 +01:00
|
|
|
utilities by default than Ubuntu 12.04 does, so installation of them will be
|
|
|
|
|
covered here.
|
2015-10-29 18:20:14 +00:00
|
|
|
|
|
|
|
|
Linux builds of the GUI application should be considered officially
|
|
|
|
|
**unsupported and unmaintained**, though contributions are welcome.
|
|
|
|
|
|
|
|
|
|
## Installing Missing Dependencies
|
|
|
|
|
|
2016-06-11 12:36:25 +01:00
|
|
|
### Base Dependencies
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
sudo apt-get install python-software-properties git build-essential libcurl4-openssl-dev
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### UI Dependencies
|
2015-10-29 18:20:14 +00:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 68576280
|
|
|
|
|
sudo apt-add-repository 'deb https://deb.nodesource.com/node_4.x precise main'
|
|
|
|
|
sudo apt-get update
|
2016-07-25 09:47:23 +01:00
|
|
|
sudo apt-get install nodejs
|
2015-10-29 18:20:14 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Runtime Differences
|
|
|
|
|
|
|
|
|
|
Not all LOOT's features have been implemented for Linux builds. Issues labelled
|
|
|
|
|
`linux` on LOOT's issue tracker cover such missing features where they can be
|
|
|
|
|
implemented. Unavoidable platform differences are documented here:
|
|
|
|
|
|
|
|
|
|
* On Windows, LOOT can detect game installs using their Registry entries. On
|
|
|
|
|
Linux this is obviously not possible, so either game paths will have to be
|
|
|
|
|
entered manually in LOOT's settings dialog when it is run, or LOOT will need
|
|
|
|
|
to be installed beside a game's Data folder for that game to be detected.
|