LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2014, 05:45 AM   #1
Child85
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
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
 
Old 03-07-2014, 07:00 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,072
Blog Entries: 3

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
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.

Last edited by Drakeo; 03-07-2014 at 07:28 AM. Reason: and the third.
 
Old 03-07-2014, 11:35 AM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,164

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
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.
 
Old 03-07-2014, 09:20 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
In some distro's they include parts of wine and not all of it??


Otherwise I'd agree that someone installed it by hand.
 
Old 03-07-2014, 10:30 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
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.
 
Old 03-08-2014, 01:09 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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
 
Old 03-08-2014, 12:20 PM   #7
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,164

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
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.
 
Old 03-08-2014, 01:04 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
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?
 
Old 03-08-2014, 02:36 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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

Last edited by John VV; 03-08-2014 at 09:27 PM.
 
Old 03-08-2014, 09:15 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
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-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Yum erase/remove and uninstall rpm files dailyoliver Linux - Newbie 6 02-14-2012 12:40 PM
Can rpm/yum uninstall conflicting packages automatically? Akhran Red Hat 1 04-09-2007 02:46 AM
uninstall software ( those not installed by yum/rpm) sn68 Linux - Desktop 5 09-08-2006 03:36 PM
uninstall program without rpm wincrk Linux - Newbie 2 05-11-2006 05:52 AM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 04:03 PM


All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration