PDA

View Full Version : [ubuntu] change programs installation path



gggggggg
April 16th, 2013, 12:56 PM
Hi, i'm new in ubuntu. i want to install ntop but it has problem with RRDTOOl that want it was install to a particular path.how can i change RRDTOOL install path?

i use this commands:
./configure
make
make install

MG&TL
April 16th, 2013, 05:33 PM
Why do you want to install via source builds? You can install ntop right away:


sudo apt-get install ntop

In the (unlikely) event that you do need to build from source, normally with configure scripts, you use:


./configure --prefix=/some/path/to/install/path

to specify the installation path.

gggggggg
April 17th, 2013, 12:44 PM
thanks for your reply.
if i use

sudo apt-get install ntop


it install old version of ntop.

MG&TL
April 17th, 2013, 02:01 PM
it install old version of ntop.

Is it that important? Anyway, you've got two choices:

1) Wait until 13.04 comes out shortly, presumably with an updated ntop.

2) Try the configure command I gave above.