LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to uninstall a Program without rpm or yum (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-uninstall-a-program-without-rpm-or-yum-4175497357/)

Child85 03-07-2014 04:45 AM

How to uninstall a Program without rpm or yum
 
Hello,

im a bit confused. On my RHEL 6 is a Wine Installation.

RPM says wine is not installed
YUM says wine ist not installed but available.

I can install .exe files by wine. But everything Crashes after installation.

If i write "wine" in the Terminal, wine opens.


How can i remove it without rpm and yum? :-/

Thanks for ur time

Drakeo 03-07-2014 06:00 AM

Quote:

How to uninstall a Program without rpm or yum
well one should always build for there package manager. but usually it pretty simple download the source and read the reame and the install. 90 percent of the time from a terminal you will run ./configure then make then make install. then make uninstall. and many of these programs may have a make spec file for rpm etc etc.

your question should be how do I uninstall wine on a rpm system. you use the package manager locate wine and select uninstall.


as far as wine goes. and rpm command line would look like this
Quote:

rpm -evv wine The -e (erase) option is used to remove package.
here is a nice help page on yum command line

I would suggest not to manually delete stuff that has been installed by a package manager. If you have already installed with a package manager and went in and deleted stuff re-install it then uninstall it. hopefully you did not break anything.
you may want to check and see if you have cross over installed for some other programs this will do this.

rm /usr/bin/wine if you really hate that much.

DavidMcCann 03-07-2014 10:35 AM

The messages from rpm and yum show that Wine was not installed from an rpm package, but presumably compiled from source. If you still have the source, you can use "make uninstall", but otherwise you just have to do "whereis wine" and manually remove the files. Then you can get a version intended for RHEL from EPEL.

jefro 03-07-2014 08:20 PM

In some distro's they include parts of wine and not all of it??


Otherwise I'd agree that someone installed it by hand.

Ztcoracat 03-07-2014 09:30 PM

Quote:

Originally Posted by jefro (Post 5130887)
In some distro's they include parts of wine and not all of it??


Otherwise I'd agree that someone installed it by hand.

If it was compiled by hand it would be in the /usr directory I (think).
With Fedora all compiled programs by default go into the /usr/bin directory.

Curious what the output of "whereis" like DavidMcCann mentioned.

John VV 03-08-2014 12:09 AM

IF, and that is a unknown amount of if

if a source build ...
wine would have defaulted to the Debian default
/usr/local

/usr/local is NOT!!!! in the redhat $PATH
redhat uses /usr as the default install location

also a lot of Microsoft windows programs will NOT install or run in wine

DavidMcCann 03-08-2014 11:20 AM

My output of whereis in CentOS is
/usr/bin/wine /usr/lib/wine /usr/include/wine /usr/share/wine

Actually my Wine is an rpm from the Wine Project, since my one must-have Windows program doesn't like the EPEL version. It doesn't like much, actually: I tested 17 versions of Wine and had 11 failures. But that's Wine for you.

Ztcoracat 03-08-2014 12:04 PM

Quote:

Originally Posted by DavidMcCann (Post 5131138)
My output of whereis in CentOS is
/usr/bin/wine /usr/lib/wine /usr/include/wine /usr/share/wine

Actually my Wine is an rpm from the Wine Project, since my one must-have Windows program doesn't like the EPEL version. It doesn't like much, actually: I tested 17 versions of Wine and had 11 failures. But that's Wine for you.

If OP were to run "whereis" I'm thinking that the output; most likely would be much the same as yours, right?

11 failures: that's discouraging-- Maybe that will change in the future?

John VV 03-08-2014 01:36 PM

until the OP actually posts the needed information

where the wine binary is ?
if the op has permission to write into the wine "C:\\" drive ?
if it is not in the op's home folder
and just WHAT this unknown windows *.exe is

for all we know it is photoshop or ms office 2012

or even some windows software patch for hardware

we can not really offer any help other than just guesses

Ztcoracat 03-08-2014 08:15 PM

Quote:

Originally Posted by John VV (Post 5131196)
until the OP actually posts the needed information

where the wind binary is ?
if the op has permission to write into the wine "C:\\" drive ?
if it is not in the op's home folder
and just WHAT this unknown windows *.exe is

for all we know it is photoshop or ms office 2012

or even some windows software patch for hardware

we can not really offer any help other than just guesses

I concur with you completly John VV-:)


All times are GMT -5. The time now is 04:08 PM.