Results 1 to 4 of 4
I am trying out Zenwalk Linux and so far love it. I have had to compile a couple of bits of software from source and don't know how I would ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-28-2010 #1
How to update software compiled from source?
The options are:
1. Compile the new version and hope it overwrites the old one
2. Uninstall the old version and compile the new.
Option 2 feels safer but how do I uninstall a bit of software installed by compiling?
- 06-28-2010 #2
Just as you have "make install", you should also have an option "make uninstall" or similar from the makefile.Debian GNU/Linux -- You know you want it.
- 06-28-2010 #3
Thanks. I knew it would be easy but I didn't expect it to be that easy
- 06-28-2010 #4
- Join Date
- Nov 2009
Unfortunately, it often isn't that easy...
The best thing to do, is to build a package when you compile the software and install/upgrade using the package manager.
In Slackware, you do it like this:
make install DESTDIR=/tmp/something
This probably works in Zenwalk too.