Configure, make, checkinstall: Point taken

lukew made a good point on the end of the Compile-VICE howto. I originally had configure-make-sudo make install as the procedure, but looking back on it two months later, it really should use checkinstall.

If something goes wrong, it’s a lot easier to clean up after checkinstall. And if somebody doesn’t like it or wants to uninstall it, it’s easier to dpkg -r that deb than to weasel out of a sudo make install.

I’ll touch up the howto, and make it a little more user-friendly, instead of just hoping to be newb-friendly.

2 thoughts on “Configure, make, checkinstall: Point taken

  1. Pawel Stolowski

    Another good solution (that I prefer for software I compile by myself) is to use stow. You have to configure the package with –prefix=/usr/local, then install the package to a temporary location (e.g. by ‘make install DESTDIR=/tmp/foo) and then move its contents to a dedicated directory (e.g. /usr/local/stow/packagename). The you do ‘cd /usr/local/stow; stow packagename’; stow maintains symlinks in /usr/local and allows you to easily remove packages with ‘stow -D packagename’.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s