Homebrew su OS X - Diamo la birra al Mac

Inserite qui le vostre guide, trucchi e consigli

Moderatore: ModiMaccanici

Avatar utente
robertos
Stato: Non connesso
Expert
Expert
Avatar utente
Iscritto il: ven, 17 lug 2009 18:52
Messaggi: 5487
Località: Roma

Top

... abboccano, abboccano!
Non forzare nessuno a passare a Mac, altrimenti diventerai suo schiavo per sempre! © franz
Fixing the world, one piece of hardware at a time. © iFixit

Avatar utente
Zacksit
Stato: Non connesso
Expert Translator
Expert Translator
Avatar utente
Iscritto il: mar, 16 dic 2014 17:14
Messaggi: 1742
Località: Kaputt Mundi

Top

Dai, un ultimo fuori tema va, dato che ci siamo. Che c'è si meglio da abbinare ad una birra fatta in casa, homebrew appunto, se non una Apple pizza napoletana doc?
http://goo.gl/ZmMx4j" onclick="window.open(this.href);return false;
For every complex problem there is an answer that is clear, simple, and wrong. ― H.L. Mencken
Sometimes it is the people no one can imagine anything of, who do the things no one can imagine. ― Alan Turing

iMac 21,5" 2019 - MacBook Pro 15" 2008 + 3 lingue fluenti, + 1 facciamo che me la cavo, + 1 solo dopo qualche birra

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:
Zacksit ha scritto:... fuori tema va...
Bella...

Avatar utente
iStefano
Stato: Non connesso
Genio guastatore
Genio guastatore
Avatar utente
Iscritto il: mer, 30 dic 2009 10:30
Messaggi: 8279
Località: Pomigliano D'Arco (NA)

Top

Contatta:
:D :D

Scrivo su iMaccanici con TapaTalk per MacBook Air

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:
Homebrew su El Capitan con SIP

Sappiano che su OS X 10.11 El Capitan è stata aggiunta una protezione Apple dal nome di System Integrity Protection.

SIP impedisce di scrivere in molte directory di sistema come /usr, /bin o /System, che si sia root oppure no, non cambia nulla, resta impenetrabile se non si disabilita da Recovery questa protezione.

Mi sono perso qualcosa all'epoca e non so com'era inizialmente, ma so che Apple attualmente permette agli sviluppatori di utilizzare usr/local per cui Homebrew può essere usato come sempre anche senza disabilitare SIP.

Un aggiornamento permette di usare /urs/local anche se non presente o cancellato, sempre che non si sia usata un'altra directory per l'installazione.
I problemi relativi ai privilegi vanno risolti così:

- Se /usr/local è presente:

Codice: Seleziona tutto

sudo chown -R $(whoami):admin /usr/local
- Se /usr/local non esiste:

Codice: Seleziona tutto

sudo mkdir /usr/local && sudo chflags norestricted /usr/local && sudo chown -R $(whoami):admin /usr/local
Non è detto che il secondo comando possa superare il sistema, e quindi che compaiano problemi di autorizzazione.
In tal caso si dovrà disabilitare SIP, eseguire il comando, poi nuovamente abilitarlo.

Riavviare in Recovery:

Codice: Seleziona tutto

csrutil disable
Tornare al disco principale, eseguire il comando, poi di nuovo in Recovery:

Codice: Seleziona tutto

csrutil enable
Eseguito il tutto sarà possibile installare Brew

Un ringraziamento a GitHub, perché non lo sapevo e posso fare questo aggiornamento scopiazzando.
Io avevo disabilitato SIP appena installato El Capitan e non ho avuto nessun problema e nessuna necessità di seguire queste istruzioni

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:
Alcuni aggiornamenti e installazioni più comuni con Cask:

ESEMPIO: brew cask install vlc

1password
4k-youtube-to-mp3
a-better-finder-rename
adguard
adium
adobe-air
adobe-bridge-cc
adobe-creative-cloud
adobe-creative-cloud-cleaner-tool
adobe-illustrator-cc
adobe-indesign-cc
adobe-photoshop-cc
adobe-photoshop-lightroom
adobe-reader
adware-removal-tool
aimersoft-video-converter-ultimate
android-file-transfer
anonvpn
anonym
appcleaner
appdelete
appstore-quickview
apptrap
appzapper
audio-hijack
batchmod
bbedit
bittorrent
blender
bluestacks
bwana
caffeine
calibre
chromium
colorpicker
colorpicker-hex
cronnix
cyberduck
disk-drill
disk-inventory-x
diskmaker-x
dropbox
easyfind
emacs
filezilla
find-any-file
flash-player
flux
fraise
geekbench
geektool
gimp
github-desktop
gmail-notifier
gmail-notifr
google-chrome
google-drive
google-earth
google-earth-pro
gopro-studio
graphicconverter
handbrake
hands-off
hex
hosts
icefloor
imageoptim
imgur
inkscape
ipartition
kismac
libreoffice
logic
malwarebytes-anti-malware
mamp
manopen
mega
megasync
mpeg-streamclip
mplayerx
namebench
omniweb
onyx
openoffice
opera
osxfuse
paragon-ntfs
parallels-desktop
picturesque
postgres
scribus
seamonkey
sketch
skim
soundflower
spotify
synology-assistant
telegram
thunderbird
torbrowser
transmit
tuneup
tunnelbear
tunnelblick
utorrent
virtualbox
virtualbox-extension-pack
vlc
vmware-fusion
vuescan
vuze
whatsize
wireshark
xampp
xquartz
xtorrent
xtrafinder
yasu

Naturalmente scelte da me, perché le uso e sono usate comunemente da molti utenti.

Ma altre migliaia sono reperibili digitando

Codice: Seleziona tutto

brew cask search
Alla fine un

Codice: Seleziona tutto

brew cask cleanup
eliminerà i vecchi file d'installazione non più necessari

Per ottenere l'elenco delle applicazioni installate con Cask

Codice: Seleziona tutto

brew cask list
Per aggiornarle, tutte insieme

Codice: Seleziona tutto

brew cask list | xargs brew cask install --force
Per disinstallare basterà sostituire install con uninstall

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:~ faxus$ brew upgrade
==> Upgrading 1 outdated package, with result:
openssl 1.0.2f
==> Upgrading openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2f.el_capitan.b
######################################################################## 100,0%
==> Pouring openssl-1.0.2f.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl/certs

and run
/usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

==> Summary
/usr/local/Cellar/openssl/1.0.2f: 466 files, 11.9M

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:
Ho aggiornato a 10.11.4, in ritardo perché ho dovuto chiedere il favore ad un amico, per via di una connessione asfittica.
Di conseguenza ho aggiornato anche Command Line Tools.

Siccome interessano anche Brew sono andato ad aggiornarlo

MacBook-Pro-di-Fabio:~ faxus$ brew update
Error: /usr/local must be writable!

Come sarebbe a dire, erano scriviibili dall'utente...
Cerco un po' e trovo che nella cartella /usr/local ci sono cose riferibili solo a HomeBrew.
Ma anche documenti di terze parti caricati con brew.
Su GitHub trovo la spiegazione, qualcuna di queste ultimi può pretendere dei permessi personalizzati amministrazione e crea il problema.

Se accadesse anche a voi dovrete eseguire il comando:

Codice: Seleziona tutto

sudo chown -R $(whoami):admin /usr/local
Dopodiché va tutto a posto

MacBook-Pro-di-Fabio:~ faxus$ sudo chown -R $(whoami):admin /usr/local
Password:
MacBook-Pro-di-Fabio:~ faxus$ brew update
==> Migrating Homebrew to v0.9.9
warning: no common commits
remote: Counting objects: 455, done.
remote: Compressing objects: 100% (412/412), done.
remote: Total 455 (delta 26), reused 303 (delta 17), pack-reused 0
Receiving objects: 100% (455/455), 689.14 KiB | 44.00 KiB/s, done.
Resolving deltas: 100% (26/26), done.
From https://github.com/Homebrew/brew" onclick="window.open(this.href);return false;
+ 6146a1c...d0b713c master -> origin/master (forced update)
HEAD is now at d0b713c Revert "lsyncd: use MACOS_FULL_VERSION"
==> Tapping homebrew/core
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-core'...
remote: Counting objects: 3649, done.
remote: Compressing objects: 100% (3530/3530), done.
remote: Total 3649 (delta 14), reused 1684 (delta 6), pack-reused 0
Receiving objects: 100% (3649/3649), 2.70 MiB | 43.00 KiB/s, done.
Resolving deltas: 100% (14/14), done.
Checking connectivity... done.
Tapped 3523 formulae (3,675 files, 8.5M)
Already up-to-date.
MacBook-Pro-di-Fabio:~ faxus$

Adesso /usr/local si presenta così

Immagine

Trovo dei nuovi documenti i formato .md
L'estensione indica un documento markdown.
Appena giorni fa avevo scaricato MacDown che lo apre correttamente

Immagine

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:
Di nuovo, con i soliti problemi che crea Apple agli aggiornamenti

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:~ faxus$ brew upgrade
==> Upgrading 2 outdated packages, with result:
binutils 2.26, openssl 1.0.2g
==> Upgrading binutils
==> Downloading https://homebrew.bintray.com/bottles/binutils-2.26.el_capitan.bo
###############################################################           88,7%
----
Si era scollegato il modem...
----
curl: (56) SSLRead() return error -9806
Error: Failed to download resource "binutils"
Download failed: https://homebrew.bintray.com/bottles/binutils-2.26.el_capitan.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading http://ftpmirror.gnu.org/binutils/binutils-2.26.tar.gz
==> Downloading from http://mirrors.muzzy.it/gnu/binutils/binutils-2.26.tar.gz
######################################################################## 100,0%
==> ./configure --program-prefix=g --prefix=/usr/local/Cellar/binutils/2.26 --in
==> make
==> make install
**  /usr/local/Cellar/binutils/2.26: 109 files, 140.3M, built in 23 minutes 11 seconds
==> Upgrading openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2g.el_capitan.b
######################################################################## 100,0%
==> Pouring openssl-1.0.2g.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

==> Summary
**  /usr/local/Cellar/openssl/1.0.2g: 1,678 files, 12.0M
Bene, aggiorniamo...

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:~ faxus$ brew update
Error: /usr/local must be writable!
N'antra vorta!

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:~ faxus$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: /usr/local is not writable.

You should probably change the ownership and permissions of /usr/local
back to your user account.
  sudo chown -R $(whoami) /usr/local

Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.

You should probably `sudo chown -R $(whoami)` them:
    /usr/local/share/man/man3
    /usr/local/share/man/man7

Warning: /usr/local is not writable.
Even if this directory was writable when you installed Homebrew, other
software may change permissions on this directory. For example, upgrading
to OS X El Capitan has been known to do this. Some versions of the
"InstantOn" component of Airfoil or running Cocktail cleanup/optimizations
are known to do this as well.

You should probably change the ownership and permissions of /usr/local
back to your user account.
  sudo chown -R $(whoami) /usr/local

Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.
MacBook-Pro-di-Fabio:~ faxus$
Va bene, allora

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:~ faxus$ sudo chown -R $(whoami) /usr/local
Password:
MacBook-Pro-di-Fabio:~ faxus$ sudo chown -R $(whoami) /usr/local/share/man/man3
MacBook-Pro-di-Fabio:~ faxus$ sudo chown -R $(whoami) /usr/local/share/man/man7
Eva

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:~ faxus$ brew update
To restore the stashed changes to /usr/local run:
  'cd /usr/local && git stash pop'
To restore the stashed changes to /usr/local/Library/Taps/caskroom/homebrew-cask run:
  'cd /usr/local/Library/Taps/caskroom/homebrew-cask && git stash pop'
==> Homebrew has enabled anonymous aggregate user behaviour analytics
Read the analytics documentation (and how to opt-out) here:
  https://git.io/brew-analytics
Updated Homebrew from d0b713c to 7dad182.
Updated 2 taps (caskroom/cask, homebrew/core).
==> New Formulae
apache-brooklyn-cli        gdrive                     meson                    
apache-flink               geode                      micropython              
asciiquarium               git-secret                 mit-scheme               
aspectj                    git-standup                mlkit                    
aws-sdk-cpp                git-utils                  n98-magerun              
befunge93                  github-markdown-toc        no-more-secrets          
bookloupe                  gpx                        nuget                    
byteman                    grt                        ocamlbuild               
certstrap                  gst-editing-services       opentsdb                 
charm                      gtk-vnc                    oysttyer                 
citus                      gx                         parquet-tools            
civl                       gx-go                      pcb2gcode                
cli53                      hadolint                   pelikan                  
cocoapods                  hspell                     percona-xtrabackup       
cosi                       ios-deploy                 pgtoolkit                
cppp                       ironcli                    roswell                  
czmqpp                     kerl                       stanford-ner             
dasht                      kpcli                      swi-prolog               
derby                      kubernetes-helm            tile38                   
docker-clean               latexml                    umlet                    
dockward                   launch_socket_server       vcs                      
docutils                   leaps                      wallpaper                
dssim                      libguess                   webdis                   
dumb                       liblzf                     wiredtiger               
eris                       libosinfo                  yadm                     
fades                      llnode                     zplug                    
flume                      mas                        zsh-navigation-tools     
frege-repl                 mdv                      
==> Updated Formulae
ace                                      libpointing                            
activemq                                 librdkafka                             
activemq-cpp                             libre                                  
afl-fuzz                                 libressl                               
agda                                     librsvg                                
akka                                     libsass                                
algol68g                                 libslax                                
allegro                                  libsodium                              
amazon-ecs-cli                           libsoxr                                
ammonite-repl                            libspectre                             
android-ndk                              libstfl                                
anjuta                                   libswiften                             
ansible                                  libtasn1                               
ansible-cmdb                             libtiff                                
ant                                      libusrsctp                             
apktool                                  libuv                                  
app-engine-go-32                         libvirt                                
app-engine-go-64                         libvisio                               
appscale-tools                           libwebsockets                          
aqbanking                                libxml2                                
arangodb                                 libzip                                 
archey ✔                                 lldpd                                  
argon2                                   logstash                               
aria2                                    logtalk                                
artifactory                              luyten                                 
asciinema2gif                            mackup                                 
at-spi2-core                             macvim                                 
aurora-cli                               mailutils                              
avidemux                                 mapnik                                 
awscli                                   mapserver                              
azure-cli                                mariadb                                
basex                                    mdk                                    
bash-preexec                             media-info                             
bazel                                    mediaconch                             
beecrypt                                 menhir                                 
bind                                     mercurial                              
bitlbee                                  mercury                                
bitrise                                  mesos                                  
blucat                                   metabase                               
boost                                    mg3a                                   
brew-gem                                 midgard2                               
buildapp                                 midnight-commander                     
buku                                     mighttpd2                              
byobu                                    miller                                 
c-ares                                   minimodem                              
cabal-install                            miniupnpc                              
cadubi                                   miruo                                  
cake                                     mitmproxy                              
calabash                                 mkvtoolnix                             
camlp4                                   moc                                    
camlp5                                   moe                                    
carina                                   mogenerator                            
carthage                                 mongo-c                                
cassandra                                mongodb                                
ccache                                   monit                                  
ccze                                     moreutils                              
cflow                                    mosquitto                              
cfr-decompiler                           mpd                                    
cfssl                                    mpfr                                   
cgrep                                    mpg123                                 
chadwick                                 mpop                                   
chapel                                   mpv                                    
charm-tools                              mstch                                  
cheat                                    mutt                                   
checkstyle                               mycli                                  
chruby-fish                              mysql                                  
clamav                                   natalie                                
clojurescript                            ncmpcpp                                
closure-compiler                         ndpi                                   
cmake                                    neko                                   
codequery                                neo4j                                  
conan                                    neofetch                               
confuse                                  newsbeuter                             
consul                                   nexus                                  
consul-template                          nghttp2                                
coq                                      nginx                                  
corectl                                  nifi                                   
couchdb                                  ninja                                  
cpp-netlib                               node                                   
cppcheck                                 node-build                             
cppformat                                nodebrew                               
cputhrottle                              nomad                                  
cryptol                                  notmuch                                
crystal-lang                             nss                                    
cscope                                   ntl                                    
cucumber-cpp                             nuxeo                                  
curl                                     nvm                                    
daemonize                                ocaml                                  
darcs                                    ocamlsdl                               
datomic                                  ola                                    
dbus-glib                                olsrd                                  
dcadec                                   opam                                   
ddrescue                                 openshift-cli                          
deheader                                 openssl ✔                              
deis                                     openvpn                                
deisctl                                  optipng                                
dependency-check                         orientdb                               
desk                                     ossp-uuid                              
devd                                     owfs                                   
devil                                    p0f                                    
dfmt                                     p7zip                                  
diff-pdf                                 pacapt                                 
diff-so-fancy                            packer                                 
direnv                                   pandoc-citeproc                        
disco                                    pandoc-crossref                        
dlite                                    parallel                               
dmd                                      passpie                                
dnsmasq                                  pastebinit                             
docbook-xsl                              pazpar2                                
docker                                   pcap_dnsproxy                          
docker-cloud                             pcre2                                  
docker-compose                           pdf-redact-tools                       
docker-machine                           pdf2htmlex                             
docker-machine-parallels                 pdns                                   
docker-swarm                             peco                                   
dockviz                                  perl                                   
doctl                                    pgpdump                                
doitlive                                 pgroonga                               
dovecot                                  pgrouting                              
dspdfviewer                              pjproject                              
dub                                      planck                                 
duplicity                                plantuml                               
duply                                    platformio                             
dwarf                                    plowshare                              
dwdiff                                   pngcrush                               
ecl                                      pod2man                                
editorconfig                             points2grid                            
efl                                      ponyc                                  
elasticsearch                            poppler                                
elixir                                   postgis                                
elixirscript                             postgresql                             
elm                                      postgrest                              
embulk                                   ppl                                    
emscripten                               premake                                
entr                                     prips                                  
eralchemy                                prometheus                             
etl                                      protobuf-c                             
euca2ools                                purescript                             
euler-py                                 pushpin                                
exempi                                   pyenv                                  
exercism                                 pyenv-virtualenv                       
expat                                    pygobject3                             
exploitdb                                pypy                                   
fastd                                    pyqt5                                  
fcitx-remote-for-osx                     pyvim                                  
fetch-crl                                qbs                                    
ffind                                    qd                                     
ffmpeg                                   qemu                                   
file-roller                              qscintilla2                            
fish                                     qtfaststart                            
fleetctl                                 quazip                                 
flow                                     racket                                 
fluent-bit                               radare2                                
flyway                                   rakudo-star                            
folly                                    rancher-compose                        
fontforge                                re2                                    
ford                                     redis                                  
fourstore                                redpen                                 
fpp                                      remake                                 
freeipmi                                 rethinkdb                              
freeling                                 rocksdb                                
freetds                                  rt-audio                               
fribidi                                  rtv                                    
fswatch                                  ruby                                   
fwup                                     ruby-build                             
fzf                                      rust                                   
galen                                    saltstack                              
gammu                                    saxon                                  
ganglia                                  sbcl                                   
gawk                                     scalaenv                               
gconf                                    scriptcs                               
gd                                       sdl2_ttf                               
genders                                  selenium-server-standalone             
getmail                                  sflowtool                              
gexiv2                                   shadowsocks-libev                      
ghc                                      shairport-sync                         
ghostscript                              shellcheck                             
gifify                                   siege                                  
gimp                                     signing-party                          
git                                      sile                                   
git-annex                                sip                                    
git-cola                                 skinny                                 
git-ftp                                  slackcat                               
git-lfs                                  slimerjs                               
git-secrets                              smali                                  
git-vendor                               snapraid                               
gitbucket                                sngrep                                 
gitlab-ci-multi-runner                   solr                                   
gjstest                                  sonar                                  
glbinding                                sops                                   
glide                                    sourcekitten                           
gnatsd                                   sphinx-doc                             
gnu-smalltalk                            sqlcipher                              
gnu-tar                                  sqlite                                 
gnu-units                                sqlmap                                 
gnupg2                                   squid                                  
gnustep-make                             squirrel                               
gnutls                                   srtp                                   
go                                       sshrc                                  
goaccess                                 sshuttle                               
godep                                    sslscan                                
google-benchmark                         ssreflect                              
googler                                  stanford-parser                        
gor                                      stash-cli                              
gost                                     storm                                  
gpg-agent                                stunnel                                
gphoto2                                  stuntman                               
gradle                                   subnetcalc                             
grails                                   subversion                             
graphite2                                svtplay-dl                             
grib-api                                 swagger-codegen                        
groonga                                  swift                                  
gst-libav                                swiftlint                              
gst-plugins-bad                          syncthing                              
gst-plugins-base                         syncthing-inotify                      
gst-plugins-good                         sysdig                                 
gst-plugins-ugly                         szl                                    
gst-python                               tailor                                 
gst-validate                             tarantool                              
gstreamer                                tee-clc                                
gwenhywfar                               telegraf                               
gwyddion                                 terraform                              
h2o                                      texmath                                
haproxy                                  the_platinum_searcher                  
harfbuzz                                 the_silver_searcher                    
haskell-stack                            thefuck                                
hbase                                    theharvester                           
hebcal                                   tidy-html5                             
henplus                                  tika                                   
hg-flow                                  tinc                                   
hive                                     tippecanoe                             
hledger                                  tmux                                   
hqx                                      tomcat                                 
htop ✔                                   tomcat-native                          
http_load                                tomee-jax-rs                           
httping                                  tomee-plume                            
ibex                                     tomee-plus                             
icdiff                                   tomee-webprofile                       
ice                                      trafficserver                          
icu4c                                    translate-shell                        
idnits                                   treeline                               
idris                                    typesafe-activator                     
imagemagick                              u-boot-tools                           
imapfilter                               ucspi-tools                            
imapsync                                 uhd                                    
imgur-screenshot                         unar                                   
imlib2                                   uncrustify                             
infer                                    unifdef                                
influxdb                                 unittest-cpp                           
ipfs                                     unixodbc                               
irrlicht                                 usbmuxd                                
jboss-forge                              v8                                     
jenkins                                  vault-cli                              
jetty                                    vdirsyncer                             
jfrog-cli-go                             vim                                    
jlog                                     vnu                                    
jmeter                                   vorbis-tools                           
jruby                                    vowpal-wabbit                          
jsonnet                                  vte3                                   
juise                                    vultr                                  
juju                                     watchman                               
kafka                                    wavpack                                
kapacitor                                web100clt                              
karn                                     websocketd                             
keybase                                  weechat                                
khal                                     wine                                   
khard                                    winetricks                             
kibana                                   wireshark                              
kobalt                                   x264                                   
kore                                     xapian                                 
kotlin                                   xctool                                 
kubernetes-cli                           xonsh                                  
kvazaar                                  xplanet                                
lablgtk                                  xplanetfx                              
lastpass-cli                             xxhash                                 
ldc                                      yafc                                   
libarchive                               yaws                                   
libart                                   yaz                                    
libbluray                                youtube-dl                             
libcdr                                   yubico-piv-tool                        
libcouchbase                             zebra                                  
libfabric                                zimg                                   
libgcrypt                                zint                                   
libgpg-error                             znapzend                               
libgphoto2                               zorba                                  
libksba                                  zpaq                                   
libmarisa                                zsh-completions                        
libmspub                                 zsh-syntax-highlighting                
libphonenumber                           zzuf                                   
==> Renamed Formulae
beanstalk -> beanstalkd                  letsencrypt -> certbot                 
d-bus -> dbus                            screenbrightness -> brightness         
heroku-toolbelt -> heroku              
==> Deleted Formulae
cowpatty        eet             gambit-scheme   sam2p           tokyo-tyrant  
csync           eina            gasnet          sickrage        ttytter       
cvc4            embryo          libtorrent      tegh            xsp           
discodex        evas            rtorrent        tinyscheme    
MacBook-Pro-di-Fabio:~ faxus$ 

Avatar utente
iStefano
Stato: Non connesso
Genio guastatore
Genio guastatore
Avatar utente
Iscritto il: mer, 30 dic 2009 10:30
Messaggi: 8279
Località: Pomigliano D'Arco (NA)

Top

Contatta:
Scusate se rispolvero questo topic(molto interessante)...
Mi sfugge un particolare...
Sono riuscito grazie a BREW di installare un vecchio multiclient chat : pidgin ...
Ora mi incuriosiva capire come avere l'icona con il "pennuto" sul dock senza ricorrere alla digitazione da terminale ???

Scrivo su iMaccanici con TapaTalk per MacBook Air

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:
Trascinalo da ~/Applications a ~/Desktop.

Oppure mettilo nel Dock (più correttamente)

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:
Giravo nel web per cercare la soluzione per un utente che aveva un problema di autorizzazioni sulle cartelle cache di sistema.
Non poteva ricostruire la cache dei servizi XPC e di SandBox.

E ho trovato un comando alternativo a:
viewtopic.php?p=333107#p337597" onclick="window.open(this.href);return false;
Dove indicavo la regola ampia di disattivare SIP per usare Brew, oppure di abilitare solo /usr/local.

al posto di

Codice: Seleziona tutto

sudo chown -R $(whoami):admin /usr/local
si potrà usare anche

Codice: Seleziona tutto

chown /usr/local/bin/root

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:
Con Sierra beta un bel po' di lavoro...

Ho provato a fare gli aggiornamenti di routine.
Mi ha subito detto che devo installare i command line tools for Xcode 8.*.

Accidenti mi sono dimenticato di scaricarli con Sierra.
Adesso con la connessione che ho ci vuole troppo tempo ed è complicato.

Provo ad ingannare il sistema...
Mi sono trovato un dmg con command line tools for Xcode 7.3.
Lo installo e lo digerisce senza paura...

Effettuo ieri sera l'update e aggiorna un bel po' di roba.
Mi rimetto al lavoro e

MacBook-Pro-di-Fabio:~ faxus$ brew upgrade
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.

Please create pull-requests instead of filing issues.
==> Upgrading 4 outdated packages, with result:
binutils 2.26.1, htop 2.0.2, openssl 1.0.2h_1, wget 1.18

Nessun problema con htop, openssl e wget.
Problemi con il download di binutils.
Beh, mi ha scaricato wget e lo scarico direttamente
wget https://ftp.gnu.org/gnu/binutils/binutils-2.26.1.tar.gz" onclick="window.open(this.href);return false;
E lo installo io.

Provo
Brew install binutils
Error: binutils-2.26 already installed
Bene

Mi trova un paio di errori nella configurazione di brew...
Boh, si riferiscono a un non meglio identificato CLOCK_REALTIME che si contrappone a CLOCK_MONOTONIC.
Una discussione infinita che trovo a proposito del conteggio del tempo in Terminale.

Ve la risparmio per grazia del fatto che ci ho capito poco...
Anche perché potrebbe risalire al trucchetto dei CLT
READ THIS: https://git.io/brew-troubleshooting" onclick="window.open(this.href);return false;

Infine

MacBook-Pro-di-Fabio:~ faxus$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!


Warning: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.

Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.

Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.
MacBook-Pro-di-Fabio:~ faxus$ brew update
Updated Homebrew from 2b9a283 to 1455aa3.
Updated 2 taps (caskroom/cask, homebrew/core).
==> Updated Formulae

Codice: Seleziona tutto

ammonite-repl              mal4s                      skinny                   
gitlab-ci-multi-runner     offlineimap                texmath                  
glew                       opencsg                    wallpaper                
gource                     orientdb                   wartremover              
jenkins                    protobuf-swift             winetricks               
libtiff                    pup                      
logstalgia                 scour

Avatar utente
iStefano
Stato: Non connesso
Genio guastatore
Genio guastatore
Avatar utente
Iscritto il: mer, 30 dic 2009 10:30
Messaggi: 8279
Località: Pomigliano D'Arco (NA)

Top

Contatta:
Interessante!!!
Ps: vogliamo posizionare questo topico in evidenza, senza che vadi a finire nel dimenticatoio???

Scrivo su iMaccanici con TapaTalk per MacBook Air

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 30459
Località: Circondato dalle bufale

Top

Contatta:
Grazie, iStefano.

Ma questo topic è seguito sempre dagli amatori di Terminale.
Io provvedo ad aggiornarlo periodicamente.
E ogni tanto qualcuno contribuisce.

Metterlo evidenziato sarebbe noioso per tutti quelli che non hanno nessun bisogno di installare applicazioni extra MacOS

Rispondi

Torna a “Tutorial”

Chi c’è in linea

Visitano il forum: trendiction [Bot] e 1 ospite