Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
P
Portmod
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 6
    • Merge requests 6
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • portmod
  • Portmod
  • Wiki
    • Installation
  • Installation On Windows

Last edited by Benjamin Winger Feb 02, 2021
Page history

Installation On Windows

In addition to the dependencies specified in Installation, noting that the python dependencies can be installed with pip, which comes with Python, you will need to install the following dependencies:

https://www.python.org/downloads/windows/

Python provides an option to add it to your PATH environment variable during installation, which you should select (otherwise, you must add the python scripts directory to your PATH).

Git

https://git-scm.com/download/win

While a dependency for all systems, it generally is not already installed on Windows.

By default, Git will add the necessary directory to your PATH (the "recommended" option), and as long as you do not choose the "Use Git from Git Bash Only" option when installing, Portmod will be able to find your Git installation automatically.

7-zip

https://www.7-zip.org/

7-zip is optional, and can be replaced with other archive tools which are supported by patool (unfortunately, no nicely formatted list exists, but see the repo for supported programs).

7-zip is recommended as it covers most archive types not supported natively by patool, including the commonly encountered types (see note on patool in dependencies section on the Installation page).

The 7-zip program files directory needs to be added to your PATH environment variable so that it can be detected by patool.

Sandboxie

Official Version (no binaries available to download as of the moment): https://github.com/sandboxie/sandboxie

Fork (with releases): https://github.com/sandboxie-plus/Sandboxie/releases

Finally, you will also need to install Sandboxie, the Sandbox tool Portmod interfaces with on Windows (see Sandbox). Note that Portmod automatically configures Sandboxie; you do not need to, and indeed should not, modify the sandbox configurations generated by Portmod.

The sandboxie program files directory needs to be added to your PATH environment variable so that it can be detected by portmod.

PySAT

(known on pypi as python-sat)

The PySAT wheels distributed on pypi require Microsoft Visual C++ Redistributable, which if you don't already have, can be found at the following location:

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

Setup information

It is worth noting that, while Portmod in general does not require administrator privileges, you will need administrator privileges to create symlinks on certain versions of Windows (newer versions of Windows 10 should support creating symlinks without privileges). Currently the only symlink portmod requires is the profile symlink, so when you select a profile using portmod <prefix> select profile set, you will need to ensure that portmod is run with administrator privileges.

Clone repository
  • Configuration
    • Keywords
    • Local Mods
    • Portmod Config
    • Repos.cfg
    • Setup
    • User Sorting Rules
    • package masking
    • sets
    • true type fonts
    • use flags
  • Development
  • Getting Started
  • Home
  • Installation
    • Installation On Linux
    • Installation On OSX
View All Pages