Pessoal,
segue abaixo instruções para remover uma instalação do Oracle em Linux, mas aplicadas especificamente ao Oracle XE 10G em um ambiente Linux RedHat;
Passo a passo:
[et_pb_dmb_code_snippet _builder_version=”4.0.6″ code=”W3Jvb3RAdGVzdGVfb3JhIH5dIyBzdSBvcmFjbGUK4oCUIExvZ2luIHBhcmEgcGFyYXIgbyBiYW5jbzoKW29yYWNsZUB0ZXN0ZV9vcmEgfl0kIHNxbHBsdXMgLyBhcyBzeXNkYmEKClNRTCpQbHVzOiBSZWxlYXNlIDEwLjIuMC4xLjAg4oCTIFByb2R1Y3Rpb24gb24gV2VkIFNlcCAyMSAxNzozMDoyMiAyMDExCkNvcHlyaWdodCAoYykgMTk4MiwgMjAwNSwgT3JhY2xlLiBBbGwgcmlnaHRzIHJlc2VydmVkLgoKQ29ubmVjdGVkIHRvOgpPcmFjbGUgRGF0YWJhc2UgMTBnIEV4cHJlc3MgRWRpdGlvbiBSZWxlYXNlIDEwLjIuMC4xLjAg4oCTIFByb2R1Y3Rpb24KClNRTD4gc2h1dGRvd24gaW1tZWRpYXRlOwpEYXRhYmFzZSBjbG9zZWQuCkRhdGFiYXNlIGRpc21vdW50ZWQuCk9SQUNMRSBpbnN0YW5jZSBzaHV0IGRvd24uCgpTUUw+IGV4aXQKRGlzY29ubmVjdGVkIGZyb20gT3JhY2xlIERhdGFiYXNlIDEwZyBFeHByZXNzIEVkaXRpb24gUmVsZWFzZSAxMC4yLjAuMS4wIOKAkyBQcm9kdWN0aW9uCgrigJQgUGFyYXIgbyBsaXN0ZW5lcjoKW29yYWNsZUB0ZXN0ZV9vcmEgfl0kIGxzbnJjdGwgc3RvcApMU05SQ1RMIGZvciBMaW51eDogVmVyc2lvbiAxMC4yLjAuMS4wIOKAkyBQcm9kdWN0aW9uIG9uIDIxLVNFUC0yMDExIDE3OjMyOjM0CkNvcHlyaWdodCAoYykgMTk5MSwgMjAwNSwgT3JhY2xlLiBBbGwgcmlnaHRzIHJlc2VydmVkLgpDb25uZWN0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mdWxseQoK4oCUIFZvbHRhciBhbyByb290CltvcmFjbGVAdGVzdGVfb3JhIH5dJCBleGl0CgrigJQgUHJvY3VyYXIgbyBsb2NhbCBhb25kZSBlc3TDoSBpbnN0YWxhZG8gbyBPcmFjbGUgWEU6Cltyb290QHRlc3RlX29yYSBsaWJdIyBsb2NhdGUgc3lzdGVtLmRiZgovdXNyL2xpYi9vcmFjbGUveGUvb3JhZGF0YS9YRS9zeXN0ZW0uZGJmCgrigJQgQWNlc3NvIGFvIGRpcmV0w7NyaW8gYSBzZXIgcmVtb3ZpZG86Cltyb290QHRlc3RlX29yYSBsaWJdIyBjZCAvdXNyL2xpYi9vcmFjbGUvCgrigJQgUmVtb8Onw6NvIGRvIGRpcmV0w7NyaW8gZSBkZSBzZXVzIHN1Yi1kaXJldMOzcmlvczogQ1VJREFETyBDT00gRVNTRSBDT01BTkRPIMOJIFJFQ09NRU5BRE8gUEVMTyBDQVJESU9MT0dJU1RBIQpbcm9vdEB0ZXN0ZV9vcmEgb3JhY2xlXSMgcm0gLVJmIHhlCgrigJQgRGlyZXTDs3JpbyB4ZSDigKYgcmVtb3ZpZG86Cltyb290QHRlc3RlX29yYSBvcmFjbGVdIyBscwpbcm9vdEB0ZXN0ZV9vcmEgb3JhY2xlXSMgY2QgLi4KCuKAlCBSZW1vdmVyIG8gZGlyZXTDs3JpbyBPcmFjbGUgcXVlIGVzdMOhIHZhemlvOgpbcm9vdEB0ZXN0ZV9vcmEgbGliXSMgcm1kaXIgb3JhY2xlLwoK4oCUIFZlcmlmaWNhciBzZSB0ZW0gbWFpcyBhbGdvIGFpbmRhIGRvIFhFOgpbcm9vdEB0ZXN0ZV9vcmEgbGliXSMgbG9jYXRlIFhF[/et_pb_dmb_code_snippet]
Obs.: Retornaram algumas coisas, mas são da interface gráfica KDE, no meu caso.
Att,
capin
Olá Capin,
eu adicionaria mais uma etapa ao processo, logo após de voltar ao modo root…
rpm -e oracle-xe ou rpm -e oracle-xe-univ (dependendo do seu pacote de instalação)
Desta forma o Oracle-xe vai sair também do catálogo de programas, além de remover os scripts de inicialização e desligamento.
Depois disso seguiria apagando os resquícios da instalação.
Att.
Alex
Alex,
Massa, essa parte eu não conhecia. Problema era saber qual o pacote de instalação que foi usado.
Obrigado pela colaboração.
Abraços
capin