Skip to content

Commit

Permalink
Merge pull request #752 from Jaseci-Labs/linux_deps
Browse files Browse the repository at this point in the history
Add instructions for basic linux dependenices to various places in the doc
  • Loading branch information
marsninja authored Jan 10, 2023
2 parents 5b7b983 + 7f3c8e5 commit 803b101
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
5 changes: 5 additions & 0 deletions examples/CanoniCAI/codelabs/1_preparation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Preparation
Jaseci requires python3.10 or higher as well as a set of common dependencies. If you are on a fresh linux environment, make sure to install the following first:

```
apt-get install python3.10-dev python3-pip git g++ build-essential pkg-config cmake
```

To install jaseci, run this in your development environment:

Expand Down
21 changes: 15 additions & 6 deletions support/guide/getting_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@ We've built a command line tool to help you effectively work with Jaseci from yo

### Requirements

1. Python 3
1. Python 3.10 or higher
2. pip3

### Installation (for Users of Jaseci and Jac coders)

Prerequiste packages: (install via the package manager according to your OS)
* python3.10-dev
* g++
* build-essential
* pkg-config
* cmake

Generally, installing Jaseci requires the following commands:

1. Install Jaseci by running: `pip3 install jaseci`
Expand Down Expand Up @@ -50,7 +57,7 @@ To run commands for Jaseci we need a terminal that accepts bash arguments. We re

4.Open the Ubuntu terminal. for more information on installation see [here.](https://docs.microsoft.com/en-us/windows/wsl/install)

Install Python and Pip packet Manager
Install Python and Pip package Manager

5. Check version of Python and Pip by running :
```
Expand All @@ -59,10 +66,11 @@ pip3 --version
```
If these packages are installed they will return a version number. Move to step 7 if a version number is present.
6.Install Python3 and pip3 by running the following:
6.Install Python3 and pip3 and other dependencies by running the following:
```
sudo apt update
sudo apt install python3-dev python3-pip
sudo apt install python3.10-dev python3-pip
sudo apt-get install git g++ build-essential pkg-config cmake
```
7.Once the Python and pip packages are installed. Now to install Jaseci and Jaseci Kit
```
Expand Down Expand Up @@ -95,7 +103,7 @@ If these packages are installed they will return a version number. Move to step
2. Install Python3 and pip3 by running the following:
```
brew update
brew install python
brew install python3.10
```
3. Once the Python and pip packages are installed. Now to install Jaseci and Jaseci Kit
```
Expand Down Expand Up @@ -125,7 +133,8 @@ If these packages are installed they will return a version number. Move to step
2. Install Python3 and pip3 by running the following:
```
sudo apt update
sudo apt install python3-dev python3-pip
sudo apt install python3.10-dev python3-pip
sudo apt-get install git g++ build-essential pkg-config cmake
```
3. Once the Python and pip packages are installed. Now to install Jaseci and Jaseci Kit
```
Expand Down

0 comments on commit 803b101

Please sign in to comment.