Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
2130d50f
Commit
2130d50f
authored
5 years ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[Doc] update INSTALL.md for Windows
parent
7d62b3d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL.md
+25
-8
25 additions, 8 deletions
INSTALL.md
with
25 additions
and
8 deletions
INSTALL.md
+
25
−
8
View file @
2130d50f
...
...
@@ -132,24 +132,37 @@ by Frama-C, they must of course be installed as well.
Frama-C is developed on Linux, but it can be installed on Windows using the
following tools:
-
Windows Subsystem for Linux
(Ubuntu 18.04)
-
Windows Subsystem for Linux
-
VcXsrv (X server for Windows)
For enabling WSL on Windows, you may follow these instructions:
#### Prerequisites: WSL + a Linux distribution
For enabling WSL on Windows, you may follow these instructions
(we tested with Ubuntu 18.04 LTS; other distributions/versions should also
work, but the instructions below may require some modifications).
https://docs.microsoft.com/en-us/windows/wsl/install-win10
As a quick guide, the following instructions should work. First, start
PowerShell with administrator rights and run the following command to activate
Windows Subsystem for Linux:
Note: older builds of Windows 10 and systems without access to the
Microsoft Store may have no compatible Linux packages.
##### PowerShell-based quick guide
This is a quick guide based on running a PowerShell with administrator rights.
Note that, depending on your build version of Windows 10, the Ubuntu package
selected below may not work. If you are unsure, follow the above instructions
from the Microsoft website.
Inside PowerShell, run the following command to activate Windows Subsystem for Linux:
```
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
```
Then, reboot the operating system. After rebooting, run again the PowerShell
terminal with administrator rights. Move to your user directory, download the
distribution and install it:
Then, reboot the operating system.
After rebooting, run again the PowerShell terminal with administrator rights.
Move to your user directory, download the distribution and install it:
```
cd C:\Users\<Your User Directory>
...
...
@@ -160,6 +173,8 @@ Add-AppxPackage .\Ubuntu.appx
Ubuntu should now be available in the Windows menu. Run it and follow the
instructions to create a user.
#### Installing opam and Frama-C on WSL
For installing opam, some packages are required. The following commands can be
run to update the system and install those packages:
...
...
@@ -186,6 +201,8 @@ opam depext --install -y lablgtk3 lablgtk3-sourceview3
opam depext --install -y frama-c
```
#### Running the Frama-C GUI on WSL
Microsoft WSL does not support graphical user interfaces directly. If you want
to run Frama-C's GUI, you need to install an X server, such as VcXsrv or
Cygwin/X. We present below how to install VcXsrv.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment