Skip to content

Latest commit

 

History

History
235 lines (171 loc) · 7.62 KB

install_notes.md

File metadata and controls

235 lines (171 loc) · 7.62 KB

Installation notes

Overview

The following table shows all tools in this file and whether a tool is available and explained here (:ballot_box_with_check:), not explained here but maybe available (:black_square_button:) or, for sure, not available at all (:heavy_multiplication_x:).

If some tool is not mentioned in an own section, but is marked in the table as explained, it can be installed easily via the respective package-manager (brew/brew cask in macOS, apt in ubuntu, ...) or is installed per default.

tools macOS ubuntu
Alfred ☑️ 🔲
Bash ☑️ ☑️
GNU coreutils ☑️ ☑️
Discord ☑️ 🔲
Dropbox ☑️ 🔲
Enpass ☑️ 🔲
Firefox ☑️ 🔲
gimp ☑️ 🔲
git ☑️ ☑️
grep ☑️ ☑️
Homebrew ☑️ ✖️
htop ☑️ ☑️
Java and Scala ☑️ 🔲
LaTex ☑️ 🔲
Microsoft-Office ☑️ 🔲
musescore ☑️ 🔲
neovim ☑️ ☑️
node ☑️ 🔲
Nord (color-scheme) ☑️ ☑️
npm ☑️ ☑️
python ☑️ ☑️
rust ☑️ ☑️
spotify ☑️ 🔲
teamspeak ☑️ 🔲
Telegram ☑️ 🔲
tree ☑️ ☑️
VisualStudioCode ☑️ ☑️
vlc ☑️ 🔲
zsh ☑️ ☑️
Heroku CLI ☑️ 🔲
virtualbox ☑️ 🔲
teamviewer ☑️ 🔲

Alfred

A very intelligent and handy search-bar replacing macOS's spotlight

macOS

brew cask install alfred

You may add Web-Search-functionality for translating. Calling Alfred and entering

ger hello
engl Hallo

should open the respective translation page in google-translator. The Web-Search-setting looks like this:

  • Search-URL: https://translate.google.com/#from/to/{query},
    e.g. https://translate.google.com/#en/de/{query}
  • Title: From -> To: {query}
  • Keyword: to (custom; e.g. engl for Deutsch -> English)

Bash

On Linux, it's up-to-date, but macOS uses old versions due to license-issues.

macOS

brew install bash
brew install bash-completion@2

Homebrew

macOS

Package-manager for macOS. The other installation-guides (if macOS) bases on brew. I prefer it over macports since, a few years ago, installing compiler for c++ was difficult in macports. Further, brew supports a lot of software.

if ( command -v brew 1>/dev/null 2>/dev/null ); then
    echo "Updating homebrew and formulae..."
    brew update
    brew upgrade
    brew cask upgrade
    brew cleanup
else
    echo "Installing homebrew..."
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

keg-only

Java and Scala

macOS

# important execution order!
brew cask install java
brew install scala
brew install sbt

ubuntu

# important execution order!
sudo apt-get install -y openjdk-11-jdk
sudo apt-get install -y scala

LaTeX

macOS

brew cask install mactex

Nord (color-scheme)

This dark-scheme is light and pretty and available for all kind of software. All documentation can be found on their homepage or the respective GitHub-repo.

npm

ubuntu

Since installing on Ubuntu 18.04 could fail, the following code snippets helps with installation.

# since installing on Ubuntu 18.04 could fail

# NOTE
# PATH in shellrc.sh is related to ${npm_version} and ${npm_distro}

npm_version='v11.10.0'
npm_distro='linux-x64'

dest_dir="/usr/local/lib/nodejs"


sudo mkdir -p "${dest_dir}"
wget -c https://nodejs.org/download/release/latest/node-${npm_version}-${npm_distro}.tar.xz -O - | sudo tar -xJv -C "${dest_dir}"

Don't forget to update ${PATH}.

export PATH="/usr/local/lib/nodejs/node-${npm_version}-${npm_distro}/bin:${PATH}"

python

general

After installing python, these packages are helpful.

_pip_packages=(
    autopep8
    docopt
    matplotlib
    numpy
    pip
    pipenv
    pylint
    setuptools
)
for _item in ${_pip_packages[@]}; do
    python3 -m pip install -U ${_item}
    python2 -m pip install -U ${_item}
    echo
done

macOS

brew install python
brew install python@2

ubuntu

sudo apt-get install -y python3
sudo apt-get install -y python

Rust

Just take a look at the homepage.

Keep in mind that updating rustup is needed, e.g. for the compiler rustc, since brew for instance (macOS) has rust as formulae.

VisualStudioCode

extensions

Handy extensions can be found in these dotfiles

macOS

brew cask install visual-studio-code

ubuntu

See vscode-docs

Heroku

macOS

brew install heroku/brew/heroku