brew cask

This commit is contained in:
2019-05-28 11:21:16 +02:00
parent 5db26f44c6
commit 3a829a5cea
5 changed files with 85 additions and 16 deletions

View File

@@ -28,4 +28,10 @@
[Mises-à-jour sans connection internet](maj.md)
[Quelques commandes sympas](commandes.md)
[Quelques commandes sympas](commandes.md)
Rechercher:
- [find](find.md)
- [ack](ack.md)

View File

@@ -14,6 +14,9 @@
6. [fabric-ssh](fabric-ssh.md)
7. [regex](regex.md)
8. [strings](string.md)
9. [json](json.md)
10. [requests](requests.md)
11. [zip](zip.md)

View File

@@ -247,3 +247,69 @@ Already downloaded: /Users/bruno/Library/Caches/Homebrew/downloads/1916f7da74b03
==> Moving App 'HandBrake.app' to '/Applications/HandBrake.app'.
```
### Réinstaller une ancienne version de VirtualBox (6.0.6 au lieu de 6.0.8):
Désinstaller la version actuelle:
```bash
$ brew cask uninstall virtualbox
$ brew cask uninstall virtualbox-extension-pack
```
Récupérer la liste des commits:
```bash
$ git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask log Casks/virtualbox.rb
commit c774b25eee695c3032b6928e646f2118eab8eabf
Author: Ole-Martin Bratteng <1681525+omBratteng@users.noreply.github.com>
Date: Wed May 15 18:37:37 2019 +0200
Update virtualbox from 6.0.6,130049 to 6.0.8,130520 (#63302)
commit 28143da5bb1559f734221b6ad6e3cb5b7ab0153f
Author: tiiiecherle <tiiiecherle@gmail.com>
Date: Wed Apr 17 16:52:59 2019 +0200
Update virtualbox from 6.0.4,128413 to 6.0.6,130049 (#62035)
.../...
```
Récupérer *la recette* correspondant au commit souhaité:
```bash
$ git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask checkout 28143da5bb1559f734221b6ad6e3cb5b7ab0153f Casks/virtualbox.rb
```
Installer VirtualBox:
```bash
$ HOMEBREW_NO_AUTO_UPDATE=1 brew cask install virtualbox
```
Faire de même pour l'extension pack:
```bash
$ git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask log Casks/virtualbox-extension-pack.rb
commit 782591b692eb2592c639a04b580eea82583c956b
Author: tiiiecherle <tiiiecherle@gmail.com>
Date: Wed May 15 18:38:10 2019 +0200
Update virtualbox-extension-pack from 6.0.6 to 6.0.8 (#63303)
commit 73f9805759f8de5bd381e6d7c7a559967449b11a
Author: tiiiecherle <tiiiecherle@gmail.com>
Date: Wed Apr 17 17:01:10 2019 +0200
Update virtualbox-extension-pack from 6.0.4 to 6.0.6 (#62033)
.../...
$ git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask checkout 70baf19bfe323ecf4a7b7ce0ca6310e01f6a66a4 Casks/virtualbox-extension-pack.rb
$ HOMEBREW_NO_AUTO_UPDATE=1 brew cask install virtualbox-extension-pack
```

View File

@@ -14,23 +14,9 @@
### Gestionnaire de paquets
[**MacPorts**](https://clicclac.synology.me/dokuwiki/doku.php?id=osx:macports) est un système pour installer, compiler et gérer des programmes open-source.
[**homebrew**](homebrew/brew.md) est un système pour installer, compiler et gérer des programmes open-source.
[**pip**](python/pip.md) (Python install packages)
[node](node/node-js.md)
eophk
### Divers
[Se connecter au NAS en ssh et sans mot de passe](ssh/ssh-passwordless.md)
[Sécurité (Gatekeeper...)](securite.md)
[Calcul d'un checksum, md5, sha256…](md5.md)
[Touch ID](TouchID.md)

View File

@@ -10,6 +10,7 @@ nav:
- Accueil: index.md
- Linux:
- Index: Linux/index.md
- ack: Linux/ack.md
- Archiver / compresser: Linux/archiver.md
- apt-get: Raspberry/apt-get.md
- aptitude: Raspberry/aptitude.md
@@ -100,11 +101,14 @@ nav:
- Fonctions: Programmation/Python/fonctions.md
- Boucle For: Programmation/Python/for.md
- In: Programmation/Python/in.md
- json: Programmation/Python/json.md
- Listes: Programmation/Python/liste.md
- Les regex: Programmation/Python/regex.md
- requests: Programmation/Python/requests.md
- Sets: Programmation/Python/set.md
- Strings: Programmation/Python/string.md
- Tuples: Programmation/Python/tuple.md
- zip: Programmation/Python/zip.md
- Raspberry:
- Index: Raspberry/index.md
- apt-get: Raspberry/apt-get.md
@@ -136,6 +140,10 @@ nav:
- ownCloud (DSM6): Synology/owncloud.md
- Python 3: Synology/python.md
- Scripts: Synology/scripts.md
- Solus:
- Index: solus/index.md
- Apache: solus/apache.md
- PHP: solus/php.md
- Divers:
- Index: Divers/index.md
- batch: