{"id":27617901,"url":"https://github.com/dexterind/script_tools","last_synced_at":"2025-06-25T14:38:20.372Z","repository":{"id":67951033,"uuid":"78178793","full_name":"DexterInd/script_tools","owner":"DexterInd","description":"Common installation scripts used in multiple products around the Dexter Industries Galaxy of products.","archived":false,"fork":false,"pushed_at":"2022-07-07T20:03:56.000Z","size":70,"stargazers_count":2,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T04:57:46.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DexterInd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-01-06T06:02:19.000Z","updated_at":"2024-05-08T13:59:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0591f1c-e471-44ad-bff8-eeaf9b79b939","html_url":"https://github.com/DexterInd/script_tools","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/DexterInd/script_tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fscript_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fscript_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fscript_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fscript_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DexterInd","download_url":"https://codeload.github.com/DexterInd/script_tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DexterInd%2Fscript_tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261892972,"owners_count":23226020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-23T04:57:39.333Z","updated_at":"2025-06-25T14:38:20.361Z","avatar_url":"https://github.com/DexterInd.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\nCommon installation scripts used in multiple products around the Dexter Industries Galaxy of products.\n\n# Installing\n\nThe most basic command used for updating/installing script_tools can be:\n```\ncurl -kL dexterindustries.com/update_tools | bash\n```\nThis will get the repository cloned on the Pi machine without installing any packages or dependencies. \n\n### Python Package Options\n\nIn order to **enable the installation of the python package**, option `--install-python-package` is a must. This holds true for both python executables (`python` and `python3`) in case you are wondering if this is for `--use-python3-exe-too`.\n\nThe options for the python package that can be appended to this command are (all these 3 options **are mutually exclusive**):\n\n* `--system-wide` - uses `sudo` for installing the python package system-wide.\n\n* `--user-local` - for installing the python package in the home directory of the given user, where no special write/read/execute permissions are required.\n\n* `--env-local` - for installing the python package system-wide, but without any special write/read/execute permissions - in order to use this you'll need a virtual environment.\n\nOn different distributions, Python 3 can only be used with `python3` executable, in which case option `--use-python3-exe-too` is required.\n\n### Apt-Get Package Options\n\nThe options that can be added for apt-get/deb packages are:\n\n* `update-aptget` - will run `sudo apt-get update`.\n* `--install-deb-debs` - will run the `sudo apt-get install [dependencies]` command which installs the general dependencies.\n\n### Selecting a Branch/Tag to Checkout\n\nAlso, to this install script you can specify a tag or a branch you want to use, just by passing the name of it. Branches must have this format (`master`, `develop`, `feature/*`, `hotfix/*`, `fix/`) whereas tags can have this format (`v*` or `DexterOS*`).\n**By default, `master` branch is pulled.**\n\n# Installation Examples\n\nTo install the python package with `sudo` and skip installing apt-get packages (though in this case `--system-wide` can be omitted because it's turned on by default):\n```\ncurl -kL dexterindustries.com/update_tools | bash -s -- --install-python-package --system-wide\n```\n\nTo install the python package locally in the home directory and skip installing apt-get packages:\n```\ncurl -kL dexterindustries.com/update_tools | bash -s -- --install-python-package --user-local\n```\n\nTo install the python package locally in the home directory, run apt-get update and install apt-get dependencies:\n```\ncurl -kL dexterindustries.com/update_tools | bash -s -- --install-python-package --user-local --update-aptget --install-deb-deps\n```\n\nTo only install `script_tools` at the designated location without installing the python package and take the version that's pointed by tag `DexterOS2.0`:\n```\ncurl -kL dexterindustries.com/update_tools | bash -s -- DexterOS2.0\n```\nOr if we want the version that's on `develop` branch we can do:\n```\ncurl -kL dexterindustries.com/update_tools | bash -s -- develop\n```\nTo install packages for `python` and `python3` executables/commands, you can do this:\n```\ncurl -kL dexterindustries.com/update_tools | bash -s -- --install-python-package --use-python3-exe-too\n```\n\n# Updating\n\nFor updating the package, you can use the same commands describe at the previous section.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexterind%2Fscript_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdexterind%2Fscript_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexterind%2Fscript_tools/lists"}