LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-05-2018, 06:24 PM   #1
sdgengineer
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
bes place to put windows executeables in Linux (Ubuntu) file structure


Hello

I would like to run a windows file; multisim on my Linux box. I have WINE installed on my ubuntu box. Is there an ideal place to install the .exe and all the .dll and config files within the ubuntu file structure, or should I just make a directory any old place and put the program there?

Where are most executeable files installed in Linux?

SDG

Last edited by sdgengineer; 11-05-2018 at 06:27 PM.
 
Old 11-05-2018, 08:00 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
The short snarky answer is, where the wine docs tell you to. It's been a long time since I've used wine, but, as I recall, within wine there is a mock-up of the Windows file structure. That's where they would go.

Here are the Ubuntu pages on using wine. They are a bit dated, but I doubt anything significant has changed.
https://help.ubuntu.com/community/Wine
 
Old 11-06-2018, 12:36 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by frankbell View Post
It's been a long time since I've used wine, but, as I recall, within wine there is a mock-up of the Windows file structure. That's where they would go.
completetly correct.
you can also install window installer things the windows way with wine, and that's where they go.
 
Old 11-06-2018, 05:40 AM   #4
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by sdgengineer View Post
Hello

I would like to run a windows file; multisim on my Linux box. I have WINE installed on my ubuntu box. Is there an ideal place to install the .exe and all the .dll and config files within the ubuntu file structure, or should I just make a directory any old place and put the program there?

Where are most executeable files installed in Linux?

SDG
How about placing these things under /opt?

It is a self containing program and it is not intended to run under GNU, but under Wine.
I would say this description fit's well for something that should go into /opt in the file hiarchy.

Personally I have a 10gb partition for /opt. Not much is used though, but I expect it to be an important location. Some things are already there and can easily be shared between distroes. Not sure about what I will do with my Windows XP and Windows 7 virtual machine. I would also put those in /opt, but they are too big. I would need to increase the size of my /opt which would be difficult to justify as /opt is not something I use a whole lot.

I think perhaps I will drop my virtual box images under /mnt instead. It doesn't feel quite right, as /opt would be better, but for now it will have to be the solution.
 
1 members found this post helpful.
Old 11-06-2018, 09:38 AM   #5
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 553

Rep: Reputation: 115Reputation: 115
Wine is designed to work per user, so I reflect that in where I locate any Windows .exe's - they go somewhere under my home folder. If it's a Windows installer, Wine will direct the actual program to be in an appropriate folder also under your home folder.

In general on Linux desktops I would say don't put programs outside your home folder manually. Let package managers, install scripts, make install, and so on put their programs in the appropriate folder.
 
2 members found this post helpful.
  


Reply



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
Safest place to put database connection file charu Linux - Newbie 2 12-08-2010 12:56 PM
Convert directory structure from long file names in Linux to DOS 8.3 structure? manorina Linux - Software 5 09-12-2009 09:18 AM
To put a file from linux server to a windows client envisage Programming 1 01-31-2008 07:41 AM
Best place to put new programs. swamprat Linux - Newbie 5 10-04-2005 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 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