SlideShare a Scribd company logo
maXbox Starter 46
Work with WineHQ
1.1 A compatibility layer for operating systems
Today we step through emulator and NOT emulator.
The framework Wine (originally an acronym for “Wine Is Not an Emulator”)
is a compatibility layer capable of running Windows applications on several
POSIX-compliant operating systems, such as Linux (Ubuntu, RedHat, Suse,
Debian etc.), OS X, Solaris and Free BSD. Instead of simulating internal
Windows logic like a virtual machine or emulator Wine translates and
converts API calls from the original Win Exe!
So it translates Win API calls into POSIX calls on-the-fly and runtime,
eliminating the performance, data structure and memory penalties of
other methods and allowing you to cleanly integrate Win applications into
your desktop just with a separate loader.
Wine is free software under constant development and improvement.
Other platforms may benefit as well.
• Loads Windows 9x/NT/2000/XP/Vista/7/8,10 Windows 3.x and
DOS programs and libraries
• Win32 compatible memory layout, exception handling, file-
system threads and processes
• Designed for POSIX compatible operating systems (eg. Linux,
Solaris and FreeBSD)
• “bug-for-bug” stack compatibility with Windows
It also has a registry of your own (builtin reg.exe utility):
Many of the most common configuration changes can be done with the
winecfg tool. We'll go through an easy, step-by-step introduction to
winecfg and outline the options available. I
https://www.winehq.org/docs/wineusr-guide/config-wine-main
Finally, some things you might want to configure fall out of the scope of
winecfg and regedit, and we'll go over those.
1.2 How to install it?
Wine provides a run-time environment for a Windows application by
serving Windows APIs called by the application. As of today, there are
more than 20,000 Windows applications that are supported by Wine.
http://www.winehq.org/
Since Wine is included in the most default and known repository of Linux
(Debian, Ubuntu, Suse), you can install it with apt-get. However, if you are
using 64-bit Debian or Ubuntu, you need to enable multi-architecture, as
Wine is a 32-bit application:
$ sudo apt-get install wine
On Ubuntu-derivatives (Kubuntu or Lubuntu) or Linux Mint, you can install
Wine using the Wine PPA maintained by WineHQ team.
2
http://ask.xmodulo.com/install-wine-linux.html
Installation of Wine is also straightforward on Ubuntu as we did with
Ubuntu 14 and Wine 1.6.2 (actually 1.9):
https://github.com/maxkleiner/maXbox4.git
For example maXbox runs out of the box without any settings or changes
in the winecfg. Changing settings in the Applications and Libraries tabs of
the winecfg will have the most impact on getting an application to run. The
other settings focus on getting Wine itself to behave the way you want it
to.
Note: The Applications, Libraries, and Graphics tabs are linked together! If
you have "Default Settings" selected under Applications, all of the changes
made within the Libraries and Graphics tabs will be changed for all
applications to use it.
So this is not the end of the line, install on Mac is a bit different.
Nowadays, Windows and Mac play almost nicely together.
You can install Windows and Mac side by side and switch between them
using Boot Camp, but that requires a reboot every time, and you can only
use one operating system at a time. With wine WineBottler you get both!
3
Wine is different. When any program runs, it requests resources like
memory and disk space from the operating system. All that Wine does is
make sure that those requests get answered so that the program can run
correctly. If you want a version of Wine that is packaged specifically for OS
X, then use WineBottler, available here:
http://winebottler.kronenberg.org/
A lot of people discover Wine because they have one specific Windows
program that they need to use like maXbox:
As you can see also the 3 PI icons down right gets extracted from the
resource part of the exe and once again, its the same exe (maXbox4.exe)
as on windows running.
The Wine project maintains also a database called the AppDB that has user
reviews of how well specific or known Win programs work under Wine.
Search for your program and find out!
http://appdb.winehq.org/
We tested a lot of the same scripts on Win, Linux and Mac with big
numbers concerning correctness, stability and performance and it seems
nested loops, for each and recursions are more slower than the original
computation on Win, we don't know the reason yet.
All examples can be found online:
4
..examples161_bigint_class_maxprove3.txt
http://www.softwareschule.ch/examples/161_bigint_class_maxprove3.txt
The call respectively the calculation goes like this:
function GetBigIntFact(aval: byte): string;
//call of unit mybigint
var mbRes: TMyBigInt;
i: integer;
begin
mbRes:= TMyBigInt.Create(1);
try
//multiplication of factor
for i:= 1 to aval do
mbRes.Multiply1(mbres, i);
Result:= mbRes.ToString;
finally
//FreeAndNil(mbResult);
mbRes.Free;
end;
end;
Or you want the power of 100 like 2^100=
12676506002282299670376
function BigPow(aone, atwo: integer): string;
var tbig1, tbig2: TInteger;
begin
tbig1:= TInteger.create(aone);
//tbig2:= TInteger.create(10);
try
tbig1.pow(atwo);
finally
result:= tbig1.toString(false);
tbig1.Free;
end;
end;
At least one really big, it's 333^4096 (10332 decimal digits)!
With wine -dbg you can also find out more of the application you want to
run or recompile the whole project like Homebrew on mac.
Homebrew is a package manager that makes installing open source
programs much easier. In particular, trying to install a large program like
Wine without the help of a package manager would be tremendously
difficult.
5
 One useful application to install along with Wine is PlayOnLinux. This
program allows you to quickly configure Wine for a pool of well-known
Windows applications and games.
Conclusion Many people want to be able to run Win programs the
same way they run other programs on Win with Wine! Wine also prints out
error messages in the Terminal when something goes wrong.
Feedback @ max@kleiner.com
Literature: Kleiner et al., Patterns konkret, 2003, Software & Support
http://www.softwareschule.ch/download/XXL_BigInt_Tutorial.pdf
http://www.ultimatetech.org/install-configure-wine-ubuntu/
http://ask.xmodulo.com/install-wine-linux.html
https://github.com/maxkleiner/maXbox4/releases
6

More Related Content

What's hot

テストプラン
テストプランテストプラン
テストプラン
stucon
 
Dockerizing Symfony Applications - Symfony Live Berlin 2014
Dockerizing Symfony Applications - Symfony Live Berlin 2014Dockerizing Symfony Applications - Symfony Live Berlin 2014
Dockerizing Symfony Applications - Symfony Live Berlin 2014D
 
Getting Started with (Distributed) Version Control
Getting Started with (Distributed) Version ControlGetting Started with (Distributed) Version Control
Getting Started with (Distributed) Version ControlJohn Paulett
 
InstallingRoRinLinux
InstallingRoRinLinuxInstallingRoRinLinux
InstallingRoRinLinuxtutorialsruby
 
Playing with WP-CLI (WordPress Command Line Interface)
Playing with WP-CLI (WordPress Command Line Interface)Playing with WP-CLI (WordPress Command Line Interface)
Playing with WP-CLI (WordPress Command Line Interface)
Anam Ahmed
 
Conhecendo o-composer-por-nandokstronet
Conhecendo o-composer-por-nandokstronetConhecendo o-composer-por-nandokstronet
Conhecendo o-composer-por-nandokstronet
Code Experts Learning
 
DomDisc and the Domino data api
DomDisc and the Domino data apiDomDisc and the Domino data api
DomDisc and the Domino data apiJens Bruntt
 
Websocket 101 in Python
Websocket 101 in PythonWebsocket 101 in Python
Websocket 101 in Python
Juti Noppornpitak
 
WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011
Alfred Ayache
 
Cowboy rabbit-websockets
Cowboy rabbit-websocketsCowboy rabbit-websockets
Cowboy rabbit-websocketsWade Mealing
 
Composer
ComposerComposer
Composer
Arshad Ali
 
Dockerize Me: Distributed PHP applications with Symfony, Docker, Consul and A...
Dockerize Me: Distributed PHP applications with Symfony, Docker, Consul and A...Dockerize Me: Distributed PHP applications with Symfony, Docker, Consul and A...
Dockerize Me: Distributed PHP applications with Symfony, Docker, Consul and A...
Alexey Petrov
 
Creating your own AtoM demo data set for re-use with Vagrant
Creating your own AtoM demo data set for re-use with VagrantCreating your own AtoM demo data set for re-use with Vagrant
Creating your own AtoM demo data set for re-use with Vagrant
Artefactual Systems - AtoM
 
Building websites with TYPO3 Neos
Building websites with TYPO3 NeosBuilding websites with TYPO3 Neos
Building websites with TYPO3 Neos
Fedir RYKHTIK
 
Build a typo3 website in an hour
Build a typo3 website in an hourBuild a typo3 website in an hour
Build a typo3 website in an hourTony Lush
 
Volunteering atyouseeforit services
Volunteering atyouseeforit servicesVolunteering atyouseeforit services
Volunteering atyouseeforit servicesYouSee
 
Managing your Drupal project with Composer
Managing your Drupal project with ComposerManaging your Drupal project with Composer
Managing your Drupal project with Composer
Matt Glaman
 
Running virtual box from the linux command line
Running virtual box from the linux command lineRunning virtual box from the linux command line
Running virtual box from the linux command line
Eric Javier Espino Man
 
Thrift+scribe实现分布式日志收集,并与log4j集成
Thrift+scribe实现分布式日志收集,并与log4j集成Thrift+scribe实现分布式日志收集,并与log4j集成
Thrift+scribe实现分布式日志收集,并与log4j集成
zhongbing liu
 
Creating Custom Slack Integrations with Vapor 3 (Redux)
Creating Custom Slack Integrations with Vapor 3 (Redux)Creating Custom Slack Integrations with Vapor 3 (Redux)
Creating Custom Slack Integrations with Vapor 3 (Redux)
🔴 Keli'i Martin
 

What's hot (20)

テストプラン
テストプランテストプラン
テストプラン
 
Dockerizing Symfony Applications - Symfony Live Berlin 2014
Dockerizing Symfony Applications - Symfony Live Berlin 2014Dockerizing Symfony Applications - Symfony Live Berlin 2014
Dockerizing Symfony Applications - Symfony Live Berlin 2014
 
Getting Started with (Distributed) Version Control
Getting Started with (Distributed) Version ControlGetting Started with (Distributed) Version Control
Getting Started with (Distributed) Version Control
 
InstallingRoRinLinux
InstallingRoRinLinuxInstallingRoRinLinux
InstallingRoRinLinux
 
Playing with WP-CLI (WordPress Command Line Interface)
Playing with WP-CLI (WordPress Command Line Interface)Playing with WP-CLI (WordPress Command Line Interface)
Playing with WP-CLI (WordPress Command Line Interface)
 
Conhecendo o-composer-por-nandokstronet
Conhecendo o-composer-por-nandokstronetConhecendo o-composer-por-nandokstronet
Conhecendo o-composer-por-nandokstronet
 
DomDisc and the Domino data api
DomDisc and the Domino data apiDomDisc and the Domino data api
DomDisc and the Domino data api
 
Websocket 101 in Python
Websocket 101 in PythonWebsocket 101 in Python
Websocket 101 in Python
 
WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011
 
Cowboy rabbit-websockets
Cowboy rabbit-websocketsCowboy rabbit-websockets
Cowboy rabbit-websockets
 
Composer
ComposerComposer
Composer
 
Dockerize Me: Distributed PHP applications with Symfony, Docker, Consul and A...
Dockerize Me: Distributed PHP applications with Symfony, Docker, Consul and A...Dockerize Me: Distributed PHP applications with Symfony, Docker, Consul and A...
Dockerize Me: Distributed PHP applications with Symfony, Docker, Consul and A...
 
Creating your own AtoM demo data set for re-use with Vagrant
Creating your own AtoM demo data set for re-use with VagrantCreating your own AtoM demo data set for re-use with Vagrant
Creating your own AtoM demo data set for re-use with Vagrant
 
Building websites with TYPO3 Neos
Building websites with TYPO3 NeosBuilding websites with TYPO3 Neos
Building websites with TYPO3 Neos
 
Build a typo3 website in an hour
Build a typo3 website in an hourBuild a typo3 website in an hour
Build a typo3 website in an hour
 
Volunteering atyouseeforit services
Volunteering atyouseeforit servicesVolunteering atyouseeforit services
Volunteering atyouseeforit services
 
Managing your Drupal project with Composer
Managing your Drupal project with ComposerManaging your Drupal project with Composer
Managing your Drupal project with Composer
 
Running virtual box from the linux command line
Running virtual box from the linux command lineRunning virtual box from the linux command line
Running virtual box from the linux command line
 
Thrift+scribe实现分布式日志收集,并与log4j集成
Thrift+scribe实现分布式日志收集,并与log4j集成Thrift+scribe实现分布式日志收集,并与log4j集成
Thrift+scribe实现分布式日志收集,并与log4j集成
 
Creating Custom Slack Integrations with Vapor 3 (Redux)
Creating Custom Slack Integrations with Vapor 3 (Redux)Creating Custom Slack Integrations with Vapor 3 (Redux)
Creating Custom Slack Integrations with Vapor 3 (Redux)
 

Viewers also liked

Hackers 퍼블리시팀 Git
Hackers 퍼블리시팀 GitHackers 퍼블리시팀 Git
Hackers 퍼블리시팀 Git
Wasabi-Jin
 
Depthセンサーで稼ぐ
Depthセンサーで稼ぐDepthセンサーで稼ぐ
Depthセンサーで稼ぐ
Kaoru NAKAMURA
 
Liderazgo, tipos y clasificación
Liderazgo, tipos y clasificaciónLiderazgo, tipos y clasificación
Liderazgo, tipos y clasificación
Ana Pacheco
 
HMCN - センサー&デバイスでできる楽しい事例紹介
HMCN - センサー&デバイスでできる楽しい事例紹介HMCN - センサー&デバイスでできる楽しい事例紹介
HMCN - センサー&デバイスでできる楽しい事例紹介
Satoshi Maemoto
 
watch movies action
watch movies actionwatch movies action
watch movies action
Jason45t
 
watch movies az
watch movies azwatch movies az
watch movies az
Jason45t
 
watch movies by genre
watch movies by genrewatch movies by genre
watch movies by genre
Jason45t
 
watch movies apk
watch movies apkwatch movies apk
watch movies apk
Jason45t
 

Viewers also liked (8)

Hackers 퍼블리시팀 Git
Hackers 퍼블리시팀 GitHackers 퍼블리시팀 Git
Hackers 퍼블리시팀 Git
 
Depthセンサーで稼ぐ
Depthセンサーで稼ぐDepthセンサーで稼ぐ
Depthセンサーで稼ぐ
 
Liderazgo, tipos y clasificación
Liderazgo, tipos y clasificaciónLiderazgo, tipos y clasificación
Liderazgo, tipos y clasificación
 
HMCN - センサー&デバイスでできる楽しい事例紹介
HMCN - センサー&デバイスでできる楽しい事例紹介HMCN - センサー&デバイスでできる楽しい事例紹介
HMCN - センサー&デバイスでできる楽しい事例紹介
 
watch movies action
watch movies actionwatch movies action
watch movies action
 
watch movies az
watch movies azwatch movies az
watch movies az
 
watch movies by genre
watch movies by genrewatch movies by genre
watch movies by genre
 
watch movies apk
watch movies apkwatch movies apk
watch movies apk
 

Similar to maXbox starter46 work with Wine

.Net framework 4.5 on raspberry pi
.Net framework 4.5 on raspberry pi.Net framework 4.5 on raspberry pi
.Net framework 4.5 on raspberry pi
Nguyen Huu Thien An
 
.Net framework 4.5 on raspberry pi
.Net framework 4.5 on raspberry pi.Net framework 4.5 on raspberry pi
.Net framework 4.5 on raspberry pi
Nguyen Huu Thien An
 
Continuous Integration with Hackintosh
Continuous Integration with HackintoshContinuous Integration with Hackintosh
Continuous Integration with Hackintosh
David Ventura, M.E.T.
 
Introductiontoasp netwindbgdebugging-100506045407-phpapp01
Introductiontoasp netwindbgdebugging-100506045407-phpapp01Introductiontoasp netwindbgdebugging-100506045407-phpapp01
Introductiontoasp netwindbgdebugging-100506045407-phpapp01Camilo Alvarez Rivera
 
Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014
André Rømcke
 
Comp10080 Os L12
Comp10080  Os L12Comp10080  Os L12
Comp10080 Os L12gueste5b156
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To Linux
Zeeshan Rizvi
 
Mpeg guide
Mpeg  guideMpeg  guide
Mpeg guide
kimsach
 
How to test drive development using Linux
How to test drive development using LinuxHow to test drive development using Linux
How to test drive development using Linux
Craig Dickson
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
karlhennesey
 
WinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolWinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage Tool
Brent Muir
 
AtoM and Vagrant: Installing and Configuring the AtoM Vagrant Box for Local T...
AtoM and Vagrant: Installing and Configuring the AtoM Vagrant Box for Local T...AtoM and Vagrant: Installing and Configuring the AtoM Vagrant Box for Local T...
AtoM and Vagrant: Installing and Configuring the AtoM Vagrant Box for Local T...
Artefactual Systems - AtoM
 
Vagrant development environment
Vagrant   development environmentVagrant   development environment
Vagrant development environment
Hiraq Citra M
 
Making Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a ProductMaking Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a Product
NETWAYS
 
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebula Project
 
Making clouds: turning opennebula into a product
Making clouds: turning opennebula into a productMaking clouds: turning opennebula into a product
Making clouds: turning opennebula into a product
Carlo Daffara
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy System
adrian_nye
 

Similar to maXbox starter46 work with Wine (20)

.Net framework 4.5 on raspberry pi
.Net framework 4.5 on raspberry pi.Net framework 4.5 on raspberry pi
.Net framework 4.5 on raspberry pi
 
.Net framework 4.5 on raspberry pi
.Net framework 4.5 on raspberry pi.Net framework 4.5 on raspberry pi
.Net framework 4.5 on raspberry pi
 
Windows & Mac OS X
Windows & Mac OS XWindows & Mac OS X
Windows & Mac OS X
 
Howto Pxeboot
Howto PxebootHowto Pxeboot
Howto Pxeboot
 
Continuous Integration with Hackintosh
Continuous Integration with HackintoshContinuous Integration with Hackintosh
Continuous Integration with Hackintosh
 
Introductiontoasp netwindbgdebugging-100506045407-phpapp01
Introductiontoasp netwindbgdebugging-100506045407-phpapp01Introductiontoasp netwindbgdebugging-100506045407-phpapp01
Introductiontoasp netwindbgdebugging-100506045407-phpapp01
 
Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014
 
Comp10080 Os L12
Comp10080  Os L12Comp10080  Os L12
Comp10080 Os L12
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To Linux
 
Mpeg guide
Mpeg  guideMpeg  guide
Mpeg guide
 
How to test drive development using Linux
How to test drive development using LinuxHow to test drive development using Linux
How to test drive development using Linux
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
 
WinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolWinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage Tool
 
AtoM and Vagrant: Installing and Configuring the AtoM Vagrant Box for Local T...
AtoM and Vagrant: Installing and Configuring the AtoM Vagrant Box for Local T...AtoM and Vagrant: Installing and Configuring the AtoM Vagrant Box for Local T...
AtoM and Vagrant: Installing and Configuring the AtoM Vagrant Box for Local T...
 
Vagrant development environment
Vagrant   development environmentVagrant   development environment
Vagrant development environment
 
Making Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a ProductMaking Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a Product
 
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
 
Making clouds: turning opennebula into a product
Making clouds: turning opennebula into a productMaking clouds: turning opennebula into a product
Making clouds: turning opennebula into a product
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy System
 
Php mysql-tutorial-en
Php mysql-tutorial-enPhp mysql-tutorial-en
Php mysql-tutorial-en
 

More from Max Kleiner

EKON26_VCL4Python.pdf
EKON26_VCL4Python.pdfEKON26_VCL4Python.pdf
EKON26_VCL4Python.pdf
Max Kleiner
 
EKON26_Open_API_Develop2Cloud.pdf
EKON26_Open_API_Develop2Cloud.pdfEKON26_Open_API_Develop2Cloud.pdf
EKON26_Open_API_Develop2Cloud.pdf
Max Kleiner
 
maXbox_Starter91_SyntheticData_Implement
maXbox_Starter91_SyntheticData_ImplementmaXbox_Starter91_SyntheticData_Implement
maXbox_Starter91_SyntheticData_Implement
Max Kleiner
 
Ekon 25 Python4Delphi_MX475
Ekon 25 Python4Delphi_MX475Ekon 25 Python4Delphi_MX475
Ekon 25 Python4Delphi_MX475
Max Kleiner
 
EKON 25 Python4Delphi_mX4
EKON 25 Python4Delphi_mX4EKON 25 Python4Delphi_mX4
EKON 25 Python4Delphi_mX4
Max Kleiner
 
maXbox Starter87
maXbox Starter87maXbox Starter87
maXbox Starter87
Max Kleiner
 
maXbox Starter78 PortablePixmap
maXbox Starter78 PortablePixmapmaXbox Starter78 PortablePixmap
maXbox Starter78 PortablePixmap
Max Kleiner
 
maXbox starter75 object detection
maXbox starter75 object detectionmaXbox starter75 object detection
maXbox starter75 object detection
Max Kleiner
 
BASTA 2020 VS Code Data Visualisation
BASTA 2020 VS Code Data VisualisationBASTA 2020 VS Code Data Visualisation
BASTA 2020 VS Code Data Visualisation
Max Kleiner
 
EKON 24 ML_community_edition
EKON 24 ML_community_editionEKON 24 ML_community_edition
EKON 24 ML_community_edition
Max Kleiner
 
maxbox starter72 multilanguage coding
maxbox starter72 multilanguage codingmaxbox starter72 multilanguage coding
maxbox starter72 multilanguage coding
Max Kleiner
 
EKON 23 Code_review_checklist
EKON 23 Code_review_checklistEKON 23 Code_review_checklist
EKON 23 Code_review_checklist
Max Kleiner
 
EKON 12 Running OpenLDAP
EKON 12 Running OpenLDAP EKON 12 Running OpenLDAP
EKON 12 Running OpenLDAP
Max Kleiner
 
EKON 12 Closures Coding
EKON 12 Closures CodingEKON 12 Closures Coding
EKON 12 Closures Coding
Max Kleiner
 
NoGUI maXbox Starter70
NoGUI maXbox Starter70NoGUI maXbox Starter70
NoGUI maXbox Starter70
Max Kleiner
 
maXbox starter69 Machine Learning VII
maXbox starter69 Machine Learning VIImaXbox starter69 Machine Learning VII
maXbox starter69 Machine Learning VII
Max Kleiner
 
maXbox starter68 machine learning VI
maXbox starter68 machine learning VImaXbox starter68 machine learning VI
maXbox starter68 machine learning VI
Max Kleiner
 
maXbox starter67 machine learning V
maXbox starter67 machine learning VmaXbox starter67 machine learning V
maXbox starter67 machine learning V
Max Kleiner
 
maXbox starter65 machinelearning3
maXbox starter65 machinelearning3maXbox starter65 machinelearning3
maXbox starter65 machinelearning3
Max Kleiner
 
EKON22_Overview_Machinelearning_Diagrams
EKON22_Overview_Machinelearning_DiagramsEKON22_Overview_Machinelearning_Diagrams
EKON22_Overview_Machinelearning_Diagrams
Max Kleiner
 

More from Max Kleiner (20)

EKON26_VCL4Python.pdf
EKON26_VCL4Python.pdfEKON26_VCL4Python.pdf
EKON26_VCL4Python.pdf
 
EKON26_Open_API_Develop2Cloud.pdf
EKON26_Open_API_Develop2Cloud.pdfEKON26_Open_API_Develop2Cloud.pdf
EKON26_Open_API_Develop2Cloud.pdf
 
maXbox_Starter91_SyntheticData_Implement
maXbox_Starter91_SyntheticData_ImplementmaXbox_Starter91_SyntheticData_Implement
maXbox_Starter91_SyntheticData_Implement
 
Ekon 25 Python4Delphi_MX475
Ekon 25 Python4Delphi_MX475Ekon 25 Python4Delphi_MX475
Ekon 25 Python4Delphi_MX475
 
EKON 25 Python4Delphi_mX4
EKON 25 Python4Delphi_mX4EKON 25 Python4Delphi_mX4
EKON 25 Python4Delphi_mX4
 
maXbox Starter87
maXbox Starter87maXbox Starter87
maXbox Starter87
 
maXbox Starter78 PortablePixmap
maXbox Starter78 PortablePixmapmaXbox Starter78 PortablePixmap
maXbox Starter78 PortablePixmap
 
maXbox starter75 object detection
maXbox starter75 object detectionmaXbox starter75 object detection
maXbox starter75 object detection
 
BASTA 2020 VS Code Data Visualisation
BASTA 2020 VS Code Data VisualisationBASTA 2020 VS Code Data Visualisation
BASTA 2020 VS Code Data Visualisation
 
EKON 24 ML_community_edition
EKON 24 ML_community_editionEKON 24 ML_community_edition
EKON 24 ML_community_edition
 
maxbox starter72 multilanguage coding
maxbox starter72 multilanguage codingmaxbox starter72 multilanguage coding
maxbox starter72 multilanguage coding
 
EKON 23 Code_review_checklist
EKON 23 Code_review_checklistEKON 23 Code_review_checklist
EKON 23 Code_review_checklist
 
EKON 12 Running OpenLDAP
EKON 12 Running OpenLDAP EKON 12 Running OpenLDAP
EKON 12 Running OpenLDAP
 
EKON 12 Closures Coding
EKON 12 Closures CodingEKON 12 Closures Coding
EKON 12 Closures Coding
 
NoGUI maXbox Starter70
NoGUI maXbox Starter70NoGUI maXbox Starter70
NoGUI maXbox Starter70
 
maXbox starter69 Machine Learning VII
maXbox starter69 Machine Learning VIImaXbox starter69 Machine Learning VII
maXbox starter69 Machine Learning VII
 
maXbox starter68 machine learning VI
maXbox starter68 machine learning VImaXbox starter68 machine learning VI
maXbox starter68 machine learning VI
 
maXbox starter67 machine learning V
maXbox starter67 machine learning VmaXbox starter67 machine learning V
maXbox starter67 machine learning V
 
maXbox starter65 machinelearning3
maXbox starter65 machinelearning3maXbox starter65 machinelearning3
maXbox starter65 machinelearning3
 
EKON22_Overview_Machinelearning_Diagrams
EKON22_Overview_Machinelearning_DiagramsEKON22_Overview_Machinelearning_Diagrams
EKON22_Overview_Machinelearning_Diagrams
 

Recently uploaded

Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 

Recently uploaded (20)

Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 

maXbox starter46 work with Wine

  • 1. maXbox Starter 46 Work with WineHQ 1.1 A compatibility layer for operating systems Today we step through emulator and NOT emulator. The framework Wine (originally an acronym for “Wine Is Not an Emulator”) is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux (Ubuntu, RedHat, Suse, Debian etc.), OS X, Solaris and Free BSD. Instead of simulating internal Windows logic like a virtual machine or emulator Wine translates and converts API calls from the original Win Exe! So it translates Win API calls into POSIX calls on-the-fly and runtime, eliminating the performance, data structure and memory penalties of other methods and allowing you to cleanly integrate Win applications into your desktop just with a separate loader. Wine is free software under constant development and improvement. Other platforms may benefit as well.
  • 2. • Loads Windows 9x/NT/2000/XP/Vista/7/8,10 Windows 3.x and DOS programs and libraries • Win32 compatible memory layout, exception handling, file- system threads and processes • Designed for POSIX compatible operating systems (eg. Linux, Solaris and FreeBSD) • “bug-for-bug” stack compatibility with Windows It also has a registry of your own (builtin reg.exe utility): Many of the most common configuration changes can be done with the winecfg tool. We'll go through an easy, step-by-step introduction to winecfg and outline the options available. I https://www.winehq.org/docs/wineusr-guide/config-wine-main Finally, some things you might want to configure fall out of the scope of winecfg and regedit, and we'll go over those. 1.2 How to install it? Wine provides a run-time environment for a Windows application by serving Windows APIs called by the application. As of today, there are more than 20,000 Windows applications that are supported by Wine. http://www.winehq.org/ Since Wine is included in the most default and known repository of Linux (Debian, Ubuntu, Suse), you can install it with apt-get. However, if you are using 64-bit Debian or Ubuntu, you need to enable multi-architecture, as Wine is a 32-bit application: $ sudo apt-get install wine On Ubuntu-derivatives (Kubuntu or Lubuntu) or Linux Mint, you can install Wine using the Wine PPA maintained by WineHQ team. 2
  • 3. http://ask.xmodulo.com/install-wine-linux.html Installation of Wine is also straightforward on Ubuntu as we did with Ubuntu 14 and Wine 1.6.2 (actually 1.9): https://github.com/maxkleiner/maXbox4.git For example maXbox runs out of the box without any settings or changes in the winecfg. Changing settings in the Applications and Libraries tabs of the winecfg will have the most impact on getting an application to run. The other settings focus on getting Wine itself to behave the way you want it to. Note: The Applications, Libraries, and Graphics tabs are linked together! If you have "Default Settings" selected under Applications, all of the changes made within the Libraries and Graphics tabs will be changed for all applications to use it. So this is not the end of the line, install on Mac is a bit different. Nowadays, Windows and Mac play almost nicely together. You can install Windows and Mac side by side and switch between them using Boot Camp, but that requires a reboot every time, and you can only use one operating system at a time. With wine WineBottler you get both! 3
  • 4. Wine is different. When any program runs, it requests resources like memory and disk space from the operating system. All that Wine does is make sure that those requests get answered so that the program can run correctly. If you want a version of Wine that is packaged specifically for OS X, then use WineBottler, available here: http://winebottler.kronenberg.org/ A lot of people discover Wine because they have one specific Windows program that they need to use like maXbox: As you can see also the 3 PI icons down right gets extracted from the resource part of the exe and once again, its the same exe (maXbox4.exe) as on windows running. The Wine project maintains also a database called the AppDB that has user reviews of how well specific or known Win programs work under Wine. Search for your program and find out! http://appdb.winehq.org/ We tested a lot of the same scripts on Win, Linux and Mac with big numbers concerning correctness, stability and performance and it seems nested loops, for each and recursions are more slower than the original computation on Win, we don't know the reason yet. All examples can be found online: 4
  • 5. ..examples161_bigint_class_maxprove3.txt http://www.softwareschule.ch/examples/161_bigint_class_maxprove3.txt The call respectively the calculation goes like this: function GetBigIntFact(aval: byte): string; //call of unit mybigint var mbRes: TMyBigInt; i: integer; begin mbRes:= TMyBigInt.Create(1); try //multiplication of factor for i:= 1 to aval do mbRes.Multiply1(mbres, i); Result:= mbRes.ToString; finally //FreeAndNil(mbResult); mbRes.Free; end; end; Or you want the power of 100 like 2^100= 12676506002282299670376 function BigPow(aone, atwo: integer): string; var tbig1, tbig2: TInteger; begin tbig1:= TInteger.create(aone); //tbig2:= TInteger.create(10); try tbig1.pow(atwo); finally result:= tbig1.toString(false); tbig1.Free; end; end; At least one really big, it's 333^4096 (10332 decimal digits)! With wine -dbg you can also find out more of the application you want to run or recompile the whole project like Homebrew on mac. Homebrew is a package manager that makes installing open source programs much easier. In particular, trying to install a large program like Wine without the help of a package manager would be tremendously difficult. 5
  • 6.  One useful application to install along with Wine is PlayOnLinux. This program allows you to quickly configure Wine for a pool of well-known Windows applications and games. Conclusion Many people want to be able to run Win programs the same way they run other programs on Win with Wine! Wine also prints out error messages in the Terminal when something goes wrong. Feedback @ max@kleiner.com Literature: Kleiner et al., Patterns konkret, 2003, Software & Support http://www.softwareschule.ch/download/XXL_BigInt_Tutorial.pdf http://www.ultimatetech.org/install-configure-wine-ubuntu/ http://ask.xmodulo.com/install-wine-linux.html https://github.com/maxkleiner/maXbox4/releases 6