Live data from Hacker News

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

news.ycombinator.com

121–129 of 129 posts

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

#121
post #113

Earlier quoted context omitted.

I have no strong opinion here, but I am curious to hear yours. What were the discriminators in choosing saltstack over the alternatives? My head spins with these tools and every time I pick one I seem to eventually run into a road block that is a no-go. The most recent effort was ansible and the no-go was its strict dependency on python2.7.

I came from puppet and salt felt a good amount "lighter". I'm mostly a python developer and salt states written in pure yaml with jinja2 templates, or alternatively directly in raw python for more complex stuff feel like home. The yaml makes it very easy to understand even if I come back to a state after months. It's just a list of things that should happen with a few template tags sprinkled in. Not saying salt is be…

ha, i moved from chef to ansible for much of the same reasons. at the end of the day, it doesn't matter.

(however, from my experience salt and ansible stay readable because they're yaml and not arbitrary code/DSL, whereas chef "recipes" are ruby and usually devolve into complex programs if you're not careful)

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

#123
post #84

I use a shell script for a new debian[0] installation and also have other scripts for kubuntu[1], opensuse[2] and other software installations. I store my dotfiles[3] and other useful scripts that I can customize for each development environment. Hope that helps! [0] https://github.com/svaksha/yaksha/blob/master/yksh/apt-debia... [1] https://github.com/svaksha/yaksha#2-folders [2] https://github.com/svaksha/yaksha/tr…

Just wanted to compliment you on the documentation in those scripts. I'm that documentation stickler guy at work, so seeing it in the wild (especially for personal files) makes my day.

Thanks :)

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

#124
post #104

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…

Can I use that with external PPAs? Or I have to install the PPAs before I can use the metapackage (which kind of defeats the idea of using a metapackage instead of a script)?

While you could have third party repos installed via apt packages the problem is you can't trigger an apt update after they install and before the things that depend on them install easily.

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

#125

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/

> real package installer

> brew

That right there is irony. You intended to give good advice about using reliable methods for installing software, then immediately recommend the Devils ass crack of package management tools.

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

#126
I use Arch Linux and follow the basic guidelines for installation and modules. The rest is synchronized with my Dropbox and I created a bash script to remove the configuration files and symbolic link them to their respective folders in my sync folder. Thus I can also maintain the same configuration on my other computers, too.

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

#127
A few days old but I wanted to contribute anyways:

I do a really fresh/clean install. I install tools as I need them and find myself leaving tools behind often and trying things out. I get setup on new machines pretty often: whether I installed a new linux distro on my chromebook, finally dual-booting Linux on my PC, or just setting up a dev VM.

Anyways, I recently abandoned using Tmux because I prefer using i3 as my window manager and it works for me much better because now I can not only tile terminal windows but also other utilities.

I've also moved on from using CMDer straight to using ConEmu on my Windows machine. Every reinstall is basically doing inventory of my tools.

Obviously, I keep a repo of dotfiles and other settings files.

Post reply on HN