LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to Uninstall FreeRADIUS (https://www.linuxquestions.org/questions/linux-server-73/how-to-uninstall-freeradius-626405/)

Paris Heng 03-07-2008 09:17 AM

How to Uninstall FreeRADIUS
 
Dear,

I just installed a freeRADIUS through source (freeradius-server-2.0.2.tar.gz). How my going to uninstall it?
I read many documentation, there is no way for the freeRadius to be uninstall. Please some one assist.

huwnet 03-07-2008 02:33 PM

A lot of sources packages have a "make uninstall" as well as "make install"

Paris Heng 03-07-2008 08:40 PM

Quote:

Originally Posted by huwnet (Post 3081445)
A lot of sources packages have a "make uninstall" as well as "make install"

But the FreeRADIUS just don't have. How to remove in the other way? The command to make uninstall it just not there.

jailbait 03-07-2008 09:18 PM

Quote:

Originally Posted by Paris Heng (Post 3081657)
But the FreeRADIUS just don't have. How to remove in the other way? The command to make uninstall it just not there.

You can use checkinstall to uninstall FreeRADIUS.

http://www.asic-linux.com.mx/~izto/checkinstall/

What you do is use checkinstall to install FreeRADIUS a second time from freeradius-server-2.0.2.tar.gz. You use the commands:

./configure
make
checkinstall

checkinstall will create a deb or rpm package for you. You then install the deb or rpm package and then uninstall it.

-----------------
Steve Stites

rhermsen 05-25-2008 04:03 PM

Checkinstall is not working, it gives a lot of errors if make is trying to chmod files.

But it is possible to redirect the installation to a other directory (same as DESTDIR=/work/freeradius-server-2.0.4/builds) using:
make install R=/work/freeradius-server-2.0.4/builds

Then it should be possible to make a package, install this package and remove the package again.

Code:

/work/freeradius-server-2.0.4/builds# tree -L 2
.
|-- etc
|  `-- raddb
|-- usr
|  |-- bin
|  |-- include
|  |-- lib
|  |-- sbin
|  `-- share
`-- var
    |-- log
    `-- run



All times are GMT -5. The time now is 10:38 AM.