Poughon Victor <[email protected]> wrote:
> 
> Regarding the old packages, I think things should work with both
> installed. The first one in the PATH will be called. Although you are
> right that it could cause issues. How to remove it depends on the way
> you installed it:
>
> with package manager -> remove with package manager
> with "sudo make install" -> no automated way AFAIK (that's why sudo make 
> install is a bad idea IMO)

This is more of a comment for otb-devs:

make install knowns what to install, therefore, make uninstall should be able 
to remove things. I think that used to be an option in automake/autoconf. For 
CMake, there is this thing here:

https://cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F

Jordi


>
> Victor Poughon
>
> ________________________________________
> De : [email protected] [[email protected]] de la part de 
> Agustin Lobo [[email protected]]
> Envoyé : lundi 6 juin 2016 15:51
> À : [email protected]
> Objet : [otb-users] Running otbenv.profile does not update my env. variables
>
> I have just installed OTB-5.4.0 using the self-extracting binary
> version for Linux.
> https://www.orfeo-toolbox.org/CookBook/CookBooksu2.html#x10-90001.2.2
> states:
> "you should before initialize your environment with otbenv.profile"
>
> I do:
> sudo chmod a+x otbenv.profile
> ./otbenv.profile
> or
> sh ./otbenv.profile
>
> but
> $ echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
>
> which is the same as before running otbenv.profile
>
> Also, I still have old binaries under /usr/bin. Should I remove them?
> how? using synaptic
> to remove the old package?
>
> Thanks
>
> Agus
>
> --
> --
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups 
> "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
> -- 

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to