07-03-2020
This commit is contained in:
@@ -636,6 +636,32 @@ $ brew tap <tapname>
|
||||
$ brew untap <tapname>
|
||||
```
|
||||
|
||||
#### Configuration de Homebrew:
|
||||
|
||||
```bash
|
||||
$ brew config
|
||||
HOMEBREW_VERSION: 2.2.4-6-g7fcae58
|
||||
ORIGIN: https://github.com/Homebrew/brew
|
||||
HEAD: 7fcae58af70da20b3be04327ebeebdf236333d27
|
||||
Last commit: 19 hours ago
|
||||
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
|
||||
Core tap HEAD: 91f4df97adc4fcb9459b1a8dbd026c9fa1e45c31
|
||||
Core tap last commit: 73 minutes ago
|
||||
HOMEBREW_PREFIX: /usr/local
|
||||
HOMEBREW_DEV_CMD_RUN: 1
|
||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||
CPU: octa-core 64-bit skylake
|
||||
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
|
||||
Clang: 11.0 build 1100
|
||||
Git: 2.25.0 => /usr/local/bin/git
|
||||
Curl: 7.64.1 => /usr/bin/curl
|
||||
Java: 13.0.1
|
||||
macOS: 10.15.2-x86_64
|
||||
CLT: N/A
|
||||
Xcode: 11.3.1
|
||||
XQuartz: 2.7.11 => /opt/X11
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Commandes externes:
|
||||
@@ -688,6 +714,8 @@ To use the assemblies from other formulae you need to set:
|
||||
|
||||
- `HOMEBREW_VERBOSE`: If set, Homebrew always assumes `--verbose` when running commands.
|
||||
|
||||
- `HOMEBREW_NO_INSTALL_CLEANUP`: Si n'est pas mis, `brew cleanup` est lancé tous les 30 jours.
|
||||
|
||||
|
||||
|
||||
### coreutils (GNU Tools)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Installer Perl
|
||||
# Installer Perl
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ Python 3 peut s'installer avec Homebrew:
|
||||
$ brew install python3
|
||||
```
|
||||
|
||||
Les extensions Python 3 s'installent dans `/usr/local/lib/python3.6/site-packages/`
|
||||
Les extensions Python 3 s'installent dans `/usr/local/lib/python3.7/site-packages/`
|
||||
|
||||
Pour lancer un script Python 3:
|
||||
|
||||
@@ -29,8 +29,8 @@ export PATH=/usr/local/opt/python/libexec/bin:$PATH
|
||||
Pip est installé d'origine avec Python 3. On le lance avec la commande **pip3**:
|
||||
|
||||
```bash
|
||||
$ pip3 list --outdated --format=columns
|
||||
$ pip3 install mkdocs
|
||||
$ pip list --outdated --format=columns
|
||||
$ pip install mkdocs
|
||||
```
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ Installation utilisateur:
|
||||
|
||||
```bash
|
||||
$ python3 -m site --user-base
|
||||
/Users/bruno/Library/Python/3.6
|
||||
/Users/bruno/Library/Python/3.7
|
||||
```
|
||||
|
||||
[Pipenv](https://docs.pipenv.org)
|
||||
@@ -76,7 +76,7 @@ $ brew reinstall python3 --with-tcl-tk
|
||||
Installer:
|
||||
|
||||
```bash
|
||||
$ pip3 install jupyter
|
||||
$ pip install jupyter
|
||||
```
|
||||
|
||||
Démarrer:
|
||||
@@ -89,15 +89,52 @@ $ jupyter notebook
|
||||
|
||||
### Modules:
|
||||
|
||||
#### Global
|
||||
|
||||
```bash
|
||||
$ pip install <module>
|
||||
```
|
||||
|
||||
Les modules s'installent dans `/usr/local/lib/python3.7/site-packages` :
|
||||
|
||||
Liste des modules:
|
||||
|
||||
```bash
|
||||
$ pip freeze
|
||||
appnope==0.1.0
|
||||
asgiref==3.2.3
|
||||
backcall==0.1.0
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Local
|
||||
|
||||
```bash
|
||||
$ pip install --user <module>
|
||||
```
|
||||
|
||||
Les modules s'installent dans `/Users/bruno/Library/Python/3.7/lib/python/site-packages/` :
|
||||
|
||||
Liste des modules:
|
||||
|
||||
```bash
|
||||
$ pip freeze --user
|
||||
Click==7.0
|
||||
tornado==6.0.3
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Mkdocs
|
||||
|
||||
Il faut installer Mkdocs avec pip dans --user
|
||||
|
||||
```bash
|
||||
$ pip3 install --user mkdocs
|
||||
$ pip install --user mkdocs
|
||||
```
|
||||
|
||||
Mkdocs s'installe dans `'/Users/bruno/Library/Python/3.7/bin'` :
|
||||
Mkdocs s'installe dans `/Users/bruno/Library/Python/3.7/bin` :
|
||||
|
||||
```bash
|
||||
~/Library/Python/3.7/bin$ ./mkdocs --version
|
||||
@@ -115,7 +152,7 @@ export PATH=/Users/bruno/Library/Python/3.7/bin:$PATH
|
||||
On installe de la même manière le thème [Material](https://squidfunk.github.io/mkdocs-material/getting-started/):
|
||||
|
||||
```bash
|
||||
$ pip3 install --user mkdocs-material
|
||||
$ pip install --user mkdocs-material
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user