Forum

Updating Hiawatha

RaGe10940
6 January 2014, 02:56
Hello,

I have Hiawatha running at 8.7 on a production server, and want to change that to the latest (9.3.1). Is it possible to just recompile the Binary with cmake? I can't seem to uninstall the server and redo the compilation. I didn't use the .deb package, I just took the source and compiled it with cmake. Is there a way to upgrade? If so any documentation on this? I can't seem to find any. Thanks a lot.

Hiawatha version: 8.7 (production) 9.3.1 (test bench)
Operating System: Ubuntu Server (production) Lubuntu (Test bench)
Hugo Leisink
6 January 2014, 09:36
If you didn't use a package manager, there is no way to upgrade automaticly. You can do a make again, which will overwrite existing files. This will very likely work, but it's better to use the dpkg package manager. What you can do is the following: unpack the source file and use
mkdir build
cd build
cmake ..
make install `pwd`/install

This will install Hiawatha in a subdirectory named 'install'. Look inside that directory to see what files are created at the root of your system via 'make install'. Remove those from your system. To create Debian package, simply execute the script extra/make_debian_package.
This topic has been closed.