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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-23-2015, 10:53 AM
|
#1
|
LQ Newbie
Registered: Mar 2015
Posts: 3
Rep: 
|
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.
|
|
|
03-23-2015, 11:01 AM
|
#2
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
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
|
|
|
03-23-2015, 11:12 AM
|
#3
|
LQ Newbie
Registered: Mar 2015
Posts: 3
Original Poster
Rep: 
|
@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?
|
|
|
03-23-2015, 11:50 AM
|
#4
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by whispay
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.
|
|
|
03-23-2015, 12:14 PM
|
#5
|
LQ Newbie
Registered: Mar 2015
Posts: 3
Original Poster
Rep: 
|
@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?
|
|
|
03-23-2015, 02:54 PM
|
#6
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
I would run the following:
Code:
apt-get remove wine
apt-get install wine
Substituting wine64 if that's the one you want.
|
|
|
03-23-2015, 03:29 PM
|
#7
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by whispay
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
|
|
|
03-24-2015, 09:35 PM
|
#8
|
Member
Registered: Dec 2014
Distribution: siduction
Posts: 264
Rep:
|
/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
|
|
|
All times are GMT -5. The time now is 05:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|