How to uninstall locally installed ruby?

Discussion in 'Ruby' started by Artem Voroztsov, Mar 30, 2008.

  1. Linux.

    1) Why there is no target 'uninstall' in Makefile (generated by ./configure)?
    2) How to uninstall locally installed ruby?

    I just compiled and locally installed version 1.9 and want to roll back to 1.8

    Thanks!

    Artem
    Artem Voroztsov, Mar 30, 2008
    #1
    1. Advertising

  2. Artem Voroztsov

    Thomas Adam Guest

    On 30/03/2008, Artem Voroztsov <> wrote:
    > Linux.
    >
    > 1) Why there is no target 'uninstall' in Makefile (generated by ./configure)?


    Pass.

    > 2) How to uninstall locally installed ruby?


    Assuming you have the original source tree, you could do:

    make -n install > ./somefile

    And edit "somefile": s/cp|install/rm -fr/g -- as apropos, and then
    run the file through your shell.

    -- Thomas Adam
    Thomas Adam, Mar 30, 2008
    #2
    1. Advertising

  3. 2008/3/31, Thomas Adam <>:
    > On 30/03/2008, Artem Voroztsov <> wrote:
    > > Linux.
    > >
    > > 1) Why there is no target 'uninstall' in Makefile (generated by ./configure)?

    >
    >
    > Pass.
    >
    >
    > > 2) How to uninstall locally installed ruby?

    >
    >
    > Assuming you have the original source tree, you could do:
    >
    > make -n install > ./somefile
    >
    > And edit "somefile": s/cp|install/rm -fr/g -- as apropos, and then
    > run the file through your shell.
    >
    >
    > -- Thomas Adam
    >
    >


    Hmm. I'd prefer there was better way.

    But thanks!
    Artem Voroztsov, Mar 30, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    413
  2. Replies:
    12
    Views:
    2,272
    excord80
    Dec 15, 2008
  3. KishoreRP
    Replies:
    1
    Views:
    652
    Tim Golden
    Mar 15, 2011
  4. Rahul
    Replies:
    0
    Views:
    582
    Rahul
    Apr 24, 2008
  5. Am Nym
    Replies:
    4
    Views:
    690
    Am Nym
    May 21, 2012
Loading...

Share This Page