Env Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
These instructions are only for those that wish to work on the OPS codebase itself otherwise you should consult .
Currently Ops support various forms of linux operating systems.
MacOS
Debian
Ubuntu
Fedora
Centos
Windows
If you plan on installing Ops using the install script vs source code, you only need to install QEMU. All other prerequisite installs can be skipped on this page.
Ensure that you install a version of QEMU that is equal to or greater than version 7. NanoVMs will support older versions of qemu for organizations with support contracts, however, most developers will want to use newer versions of qemu to take advantage of the latest features.
MacOS (homebrew)
If you're running on a Mac, you do need to install QEMU. The easiest way to install QEMU is via homebrew.
Debian / Ubuntu (apt-get)
To install QEMU
, run the following command...
Fedora (dnf/yum)
To install qemu
, run the following command...
Or...
You'll also need to install the make
command line tool. Various Linux distributions have different methods for doing so.
To install make
, run the following command line command...
To install make
, run the following command...
Check that make
is properly installed by running the following command...
To install make
, run the following command...
Or...
Check that make
is properly installed by running the following command...
To install git
on a Debian or Ubuntu instance, run the following command...
Next verify that git
is installed by running the following command...
Configure your git
username and email address. These details will be associated with any commit that may be made.
To install git
on a Fedora instance, run the following command...
Or...
Next verify that git
is installed by running the following command...
Configure your git
username and email address. These details will be associated with any commit that may be made.
Debian / Ubuntu
There are a few dependencies that are needed to build git
from source on Debian / Ubuntu. You can install them with the following command...
Use the make
command to build and install git
.
Fedora
There are a few dependencies that are needed to build git
from source on Fedora. You can install them with the following command...
For installing via yum
, you need to install the Extra Packages for Enterprise Linux (EPEL) repository first:
Symlink docbook2X
to the filename that git
build expects...
Use the make
command to build and install git
.
It is a requirement to have go installed on your system. To do so, follow the documentation below. ops
requires that the minimum version of go that you install is v1.19.
First pull the source and extract it.
Next, we need to setup your Go path. Open up the following file with your editor of choice.
Now that go is installed, let's check and make sure it is working properly.
It is important to note that building ops can require more than 0.5 gig of ram. OPS can currently run applications under this limit but building ops requires at least this much.
For alternate ways of installing QEMU, see their .
First we need to make sure you have git
installed. You can find the official git
installation instructions .
To install git
, run the following command. Make sure you have installed first.
To get the git
source code, .
To get the git
source code, .
Now that we have the prerequisites installed, the next step is to install Ops. Go to the .