Its been a while since I used Linux, but I think you can do it the same way as on windows.
Stop the server, go the the heatledger folder that also contains the blockchain folder.
Delete everything but your heat.properties file (and blockchain if you dont want to resync).
Copy the new files to the heatledger folder and restart the server.