Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tangoman75/provisions

TangoMan Provisions is an awesome plain shell scripts collection to provision your machines.
https://github.com/tangoman75/provisions

provisioning provisioning-scripts shell shell-scripts tangoman-provisions

Last synced: 1 day ago
JSON representation

TangoMan Provisions is an awesome plain shell scripts collection to provision your machines.

Awesome Lists containing this project

README

        

![GH language](https://img.shields.io/github/languages/top/TangoMan75/provisions)
[![GH release](https://img.shields.io/github/v/release/TangoMan75/provisions)](https://github.com/TangoMan75/provisions/releases)
[![GH license](https://img.shields.io/github/license/TangoMan75/provisions)]((https://github.com/TangoMan75/provisions/blob/master/LICENSE))
[![GH stars](https://img.shields.io/github/stars/TangoMan75/provisions)](https://github.com/TangoMan75/provisions/stargazers)
[![ShellCheck CI](https://github.com/TangoMan75/provisions/workflows/ShellCheck%20CI/badge.svg)](https://github.com/TangoMan75/provisions/actions/workflows/shellcheck.yml)
![visitors](https://visitor-badge.glitch.me/badge?page_id=TangoMan75.provisions)

TangoMan Provisions
===================

**TangoMan Provisions** is a fast and handy way to provision your machines using plain shell scripts.

What to do after installing your workstation :

1. Install git
2. clone this repository
3. Setup your ssh config

🚀 Installation
---------------

### Step 1: Simply enter following command in your terminal

```bash
./update.sh
```

🔥 Usage
--------

Enter following command in your terminal:

```bash
./recipe_essentials.sh
```

📝 Notes
--------

### Where to find default `.desktop` shortcuts on ubuntu ?

```bash
# default applications .desktop files can be found here
"/usr/share/applications/${APP_NAME}.desktop"
# or here
"~/.local/share/applications/${APP_NAME}.desktop"
```

```bash
# snap applications .desktop files can be found here
"/var/lib/snapd/desktop/applications/${APP_NAME}.desktop"
```

```bash
# flatpak applications .desktop files can be found here
"/var/lib/flatpak/app/${APP_NAME}/current/active/files/share/applications/${APP_NAME}.desktop"
```

```bash
ls /usr/share/applications | grep
ls /var/lib/snapd/desktop/applications | grep
ls /var/lib/flatpak/app | grep
```

### How to search for specific packages in apt-get ?

```bash
apt-cache pkgnames | grep
```

### How to list installed packages in apt ?

```bash
apt list --installed | grep
```

### How to autostart an app ?

```bash
# place .desktop file here
~/.config/autostart/
```

### Where to find repositories `sources.list` ?

```bash
/etc/apt/sources.list
/etc/apt/sources.list.d
```

### Where to find executables on ubuntu ?

```bash
# snap packages can be found here:
/snap
```

### How to install dpkg package ?

```
sudo dpkg --install ${APP_NAME}
```

### How to remove dpkg package ?

```
sudo dpkg --remove ${APP_NAME}
```

### How to install flatpak package ?

```
flatpak install flathub -y ${APP_NAME}
```

### How to remove flatpak package ?

```
flatpak uninstall -y --delete-data ${APP_NAME}
```

🤝 Contributing
---------------

Thank you for your interest in contributing to **TangoMan Provisions**.

Please review the [code of conduct](https://github.com/TangoMan75/provisions/blob/master/CODE_OF_CONDUCT.md) and [contribution guidelines](https://github.com/TangoMan75/provisions/blob/master/CONTRIBUTION.md) before starting to work on any features.

If you want to open an issue, please check first if it was not [reported already](https://github.com/TangoMan75/provisions/issues) before creating a new one.

📜 License
----------

Copyrights (c) 2024 "Matthias Morin" <[email protected]>

[![License](https://img.shields.io/badge/Licence-MIT-green.svg)](LICENSE)
Distributed under the MIT license.

If you like **TangoMan Provisions** please star, follow or tweet:

[![GitHub stars](https://img.shields.io/github/stars/TangoMan75/provisions?style=social)](https://github.com/TangoMan75/provisions/stargazers)
[![GitHub followers](https://img.shields.io/github/followers/TangoMan75?style=social)](https://github.com/TangoMan75)
[![Twitter](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2FTangoMan75%2Fprovisions)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FTangoMan75%2Fprovisions)

... And check my other cool projects.