Live data from Hacker News

Ask HN: How do you install developer tools on a fresh system?

news.ycombinator.com

61–70 of 129 posts

Re: Ask HN: How do you install developer tools on a fresh system?

#61

If you consistently use the same Linux distribution, consider building metapackages for that distribution. I created a set of Debian packages that depend on suites of packages I need. I download and install "josh-apt-source", which installs the source in /etc/apt/sources.list.d and the key in /etc/apt/trusted.gpg.d/ , then "apt update" and "apt install josh-core josh-dev josh-gui ...". That same source package also b…

I wish... I use linux, macos and windows on a daily basis. The best I can manage is to have most of my regular scripts in dropbox, and added to my path symlinked under ~/bin/OS, which actually works pretty well. Even managed to get a bash and CMD based ssh agent running script working, which was interesting (started with the windows/cmd one, and made a bash one to match the logic/intent).

Setting up conemu to autorun a script when opening a cmd, as well as configuring my bash profile. At work (more osx these days), I usually email myself the latest, and have a ~/.auth file thats 700 that I can source in to init my proxy settings (including ssh+corkscrew)... Allows me to only have to edit credentials in one location.

Re: Ask HN: How do you install developer tools on a fresh system?

#62
post #6

https://chocolatey.org/

Boxstarter (http://boxstarter.org/) automates setting up windows machines even more. It utilises Chocolatey to install 3rd-party software and also can install windows updates and take care for reboots etc.

Once you've set up a box-script, you may run it on a freshly installed windows, go to lunch, and when you return everything's set up.

Re: Ask HN: How do you install developer tools on a fresh system?

#63
At work, we support umpteen OSes in our build (a lot of C++ stuff, so it's picky about where it builds and runs). For the Linux side of things (where most of the dev work is actually done), I'm in the process of building Docker images for our range of build machines, so that a developer can put up a releng-equivalent build environment in a couple minutes, pulling images from a locally-hosted registry.

Our current system is built on a combination of VM templates and documentation for the devs to set up their own build machines manually. Anything that I can't containerize will be stuck there, too.

Re: Ask HN: How do you install developer tools on a fresh system?

#64

I don't do fresh installs very often, but when I do, it's generally because I want it to be a genuine fresh install. As such, I don't install a tool until I need it. I find that tools I once thought I absolutely needed are not tools or libraries that I use anymore. I have three exceptions to this: Vim (my editor of choice), dotfiles (which I store in a git repository and put in place using stow, installed via a simpl…

Have you tried the beta for OSX or Windows yet? I haven't needed vagrant in the slightest since it was released.

Re: Ask HN: How do you install developer tools on a fresh system?

#66
post #37

That's a very good reason to only install apps with a real package installer. On OSX, this is a no-brainer with brew[1] and brew cask[2] # On my old mac $ brew list $ brew cask list => then I save relevant parts for future references brew install npm brew install zsh brew cask install sublime-text brew cask install google-chrome brew cask install intellij-idea [1] http://brew.sh/ [2] https://caskroom.github.io/

>brew list Protip: "brew list" will list all installed packages, including dependencies, which you might not want. What you probably want is "brew leaves", where it lists all installed packages that are not dependencies of another installed package . This makes a difference in cases where a dependency is no longer needed in the latest version. On a related note, why does the majority of package managers make the comm…

On arch, looks like this will do:

pacman -Qe

Re: Ask HN: How do you install developer tools on a fresh system?

#68
I think you might like this (https://github.com/snwh/ubuntu-post-install/) project a lot.

Well, personally, I made my own project somewhat similar to the one I linked to but mine wasn't that savvy. Plus mine also installed stuff from npm (linters mostly), ruby-gems (jekyll blog), pip and grabbed some sources and compiled them and symlinked them to proper places using GNU Stow.

PS: He's the developer of Paper GTK Theme.

Re: Ask HN: How do you install developer tools on a fresh system?

#69
I'm on Archlinux and I keep a list of the packages installed from pacman and from AUR and some config files in https://github.com/Keats/dotfiles (https://github.com/Keats/dotfiles/blob/master/zshrc#L39-L40 for the aliases).

I haven't reinstalled in a long time so the install script might be broken though

Re: Ask HN: How do you install developer tools on a fresh system?

#70
post #64

I don't do fresh installs very often, but when I do, it's generally because I want it to be a genuine fresh install. As such, I don't install a tool until I need it. I find that tools I once thought I absolutely needed are not tools or libraries that I use anymore. I have three exceptions to this: Vim (my editor of choice), dotfiles (which I store in a git repository and put in place using stow, installed via a simpl…

Have you tried the beta for OSX or Windows yet? I haven't needed vagrant in the slightest since it was released.

If they can get xhyve based VMs stable when co-existing with VirtualBox, then yeah, that will go a long way towards replacing Vagrant for me.

That said, I'm not a huge fan of Docker's feature churn; having to re-install, reconfigure, and re-learn tooling that is central to my workflow every other month gets old pretty quickly.

Post reply on HN