<commit_before># apt-get-install

Simple wrapper to use for clean `apt-get install`  
Really useful when using docker layers

## Install

### PPA (ubuntu)

https://launchpad.net/~apt-get-install/+archive/ubuntu/ppa

```
sudo add-apt-repository ppa:apt-get-install
sudo apt-get update
sudo apt-get install apt-get-install
```

### ADD

```
ADD https://raw.githubusercontent.com/guilhem/apt-get-install/master/apt-get-install /usr/bin/
RUN chmod +x /usr/bin/apt-get-install
```

## How to use

Before
```
RUN apt-get install -y my_package<commit_msg>add "clean" old way<commit_after># apt-get-install

Simple wrapper to use for clean `apt-get install`  
Really useful when using docker layers

## Install

### PPA (ubuntu)

https://launchpad.net/~apt-get-install/+archive/ubuntu/ppa

```
sudo add-apt-repository ppa:apt-get-install
sudo apt-get update
sudo apt-get install apt-get-install
```

### ADD

```
ADD https://raw.githubusercontent.com/guilhem/apt-get-install/master/apt-get-install /usr/bin/
RUN chmod +x /usr/bin/apt-get-install
```

## How to use

Before (dirty)
```
RUN apt-get install -y my_package
```
Before (clean)
```
RUN apt-get update && apt-get install -y my_package && apt-get autoremove && apt-get clean
{'fraction_non_alphanumeric': 0.1511437908496732, 'fraction_numerical': 0.0, 'mean_word_length': 4.020491803278689, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4342418', 'n_tokens_mistral': 456, 'n_tokens_neox': 415, 'n_words': 110}