Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 0 additions & 47 deletions 0-README.txt

This file was deleted.

14 changes: 13 additions & 1 deletion 3-Install-osdag.sh → 2-install-osdag.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /bin/sh
rm -rf ~/Osdag
set -x
pwd
cd Osdag
Expand All @@ -18,12 +19,18 @@ echo "Exec=$HOME/Osdag/osdagMainPage.py">>Osdag.desktop
echo "Path=$HOME/Osdag">>Osdag.desktop
echo "Icon=$HOME/Osdag/Osdag_Icon.ico">>Osdag.desktop
chmod 755 Osdag.desktop
echo -e "#!$HOME/miniconda3/bin/python3" | cat - osdagMainPage.py > temp && mv temp osdagMainPage.py
echo "#!$HOME/miniconda3/bin/python3" | cat - osdagMainPage.py > temp && mv temp osdagMainPage.py
chmod 755 osdagMainPage.py
# Install Osdag
cp -r ../Osdag/. ~/Osdag
#bash Miniconda3-latest-Linux-x86_64.sh -b
conda create -n osdagenv python=3.7.6
conda init bash
source activate osdagenv
echo "Created and Activated conda environment with python=3.7.6"
. ~/.bashrc
cd ../dependencies/
sudo apt-get install gcc
conda install blas-1.0-mkl.tar.bz2
conda install certifi-2020.4.5.1-py37_0.tar.bz2
conda install conda-4.8.3-py37_0.tar.bz2
Expand Down Expand Up @@ -95,12 +102,17 @@ pip install openpyxl-3.0.3.tar.gz
pip install PyYAML-5.3.1.tar.gz
pip install PyQt5-5.14.2-5.14.2-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl
pip install pdfkit-0.6.1-py3-none-any.whl
pip install pandas-1.0.5-cp37-cp37m-manylinux1_x86_64.whl
pip install pynput-1.6.8-py2.py3-none-any.whl
pip install PyGithub-1.54.1.tar.gz
#OCC
conda install oce-0.18.3-3.tar.bz2
conda install pythonocc-core-0.18.2-py37_283.tar.bz2
conda install smesh-6.7.6-7.tar.bz2
conda install tbb-2019.9-hc9558a2_0.tar.bz2

pwd
set +x
echo "All required packages were installed"


2 changes: 1 addition & 1 deletion 4-install-texlive.sh → 3-install-texlive.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh

#To check if there is a cached versionn of Tl available
export PATH=~/texlive/bin/x86_64-linux:$PATH
export PATH=~/texlive/2020/bin/x86_64-linux:$PATH
if ! command -v texlua > /dev/null; then
#Obtain Tex Live
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
Expand Down
3 changes: 3 additions & 0 deletions OsdagRun.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source activate osdagenv
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
python osdagMainPage.py
62 changes: 62 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Ubuntu Installer

This setup script is for machines running Ubuntu 24.04 LTS. Make sure you have an active internet connection when running the scripts.


## System Requirements:

Supported Ubuntu Operating Systems :
- Ubuntu 24.04 LTS.

Supported Architectures:
- 64-bit

Hardware Requirements:
- Minimum 4GB RAM
- Minimum of 4GB of free disk space

Note:
- This setup script is for machines running Ubuntu that do not have Miniconda3.
- If you have Miniconda3 already installed on your computer, please skip Command 1 and proceed to Command 2.


## Installation steps:

1) Download the linux installer from the [Osdag website](https://osdag.fossee.in/resources/downloads) and extract it using
```
tar -xvf Osdag_ubuntu_installer_v2018.06.a.3839.tar.gz
```
2) Navigate to the extracted installation folder containing the shell scripts and a folder named Osdag, and replace the **2-install-osdag.sh** script with the updated [script](https://github.com/Nandagopalvs25/UbuntuInstaller/blob/master/2-install-osdag.sh) from this repository.

3) In bash, navigate to the extracted installation folder, and install Miniconda using.

```
bash 1-install-Miniconda3-latest-Linux-x86_64.sh
```
4) Close the terminal and reopen it at the same location and execute,
```
bash 2-install-osdag.sh
```
5) Install the remaining dependencies with,
```
bash 3-install-texlive.sh
```

Note:
- After entering Command 1, while installing Miniconda3, you will be asked whether you wish to set the system default python to Miniconda3. You need to agree to this, in order for Command 2 to work.


## Running Osdag:


Once the installation is complete, you may copy/move the extracted Osdag folder to a location of your choice (say, directly to your home folder). Navigate to the Osdag directory, and copy the file [OsdagRun.sh](https://github.com/Nandagopalvs25/UbuntuInstaller/blob/master/OsdagRun.sh) there. To launch Osdag, simply run
```
bash OsdagRun.sh
```



## Important Notes:


1) Command 2 will work only if the system default python is the one installed through Miniconda3. Alternatively, you may specify the (installed) python you wish to use, in Command 2.
55 changes: 0 additions & 55 deletions README.txt

This file was deleted.