LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-23-2015, 10:53 AM   #1
whispay
LQ Newbie
 
Registered: Mar 2015
Posts: 3

Rep: Reputation: Disabled
Accidentally Deleted wine in usr/bin folder


Hello,

im pretty much a noob in terms of handling linux.
Today i accidentally removed wine in the usr/bin folder.
Now i cannot execute wine anymore.
I tried to reinstall it, hoping that it would appear again in the folder. But it didnt.
Need help!
Im working on a Debian Wheezy 7.8 Server.

Everytime i execute wine.
It says :

"/usr/bin/wine: No such File or Directory"
well because its not there, because i deleted it.
And i dont know how to get it back!

Wine 1.4.1 is installed.
 
Old 03-23-2015, 11:01 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi & welcome to LQ.
You can try reinstalling wine. If you're using wine64 then try this command from a terminal (or the equivalent apt-get command, if you prefer)
Code:
sudo aptitude reinstall wine64
assuming you're using a 64bit system.
jdk
 
Old 03-23-2015, 11:12 AM   #3
whispay
LQ Newbie
 
Registered: Mar 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
@jdkaye

thanks for the fast reply!
I just tried that. But nothing happens :/ it just says that 1 reinstalled.
Then "Setting up wine(1.4.1-4)

i looked into the usr/bin folder but its still not back.
same goes when i try to execute wine.
Any other idea on how i can get back the exec from wine?
 
Old 03-23-2015, 11:50 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by whispay View Post
I tried to reinstall it, hoping that it would appear again in the folder. But it didnt.
Please try
Code:
sudo aptitude install wine
See http://pastie.org/pastes/10047611/te...3sdltejbljjxbg for package install details.

Last edited by Habitual; 03-23-2015 at 11:52 AM.
 
Old 03-23-2015, 12:14 PM   #5
whispay
LQ Newbie
 
Registered: Mar 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
@Habitual

Yes i tried that too! But i have the same output!
At the moment im trying to reinstall it by downloading the source and
./configure
make
sudo make install
hopefully that works!
In case it doesnt.. any other ideas?
 
Old 03-23-2015, 02:54 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I would run the following:
Code:
apt-get remove wine
apt-get install wine
Substituting wine64 if that's the one you want.
 
Old 03-23-2015, 03:29 PM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by whispay View Post
any other ideas?
No, but I have some advice: Linux "noobs" should stick to repository packaging.</opinion>

It was originally installed with this method?
Code:
./configure
make
make install
 
Old 03-24-2015, 09:35 PM   #8
seasons
Member
 
Registered: Dec 2014
Distribution: siduction
Posts: 264

Rep: Reputation: 58
/usr/bin/wine is from the wine64 package. That's probably not what you want (unless you really want to run 64-bit Windows programs). If you do want to use 64-bit wine:
Code:
apt-get install --reinstall wine64-bin
 
  


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
Help: I accidentally deleted /usr directory diteshshetty Linux - Newbie 9 06-29-2011 09:55 PM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08:33 AM
Accidentally Linked /usr/bin to /bin... worldgnat Linux - Software 2 04-01-2006 06:51 PM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 07:55 PM
Accidentally deleted /usr/bin/net larley Linux - General 2 07-26-2004 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:00 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
Open Source Consulting | Domain Registration