Live data from Hacker News

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

news.ycombinator.com

81–90 of 129 posts

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

#81

sudo apt-get install emacs

Then discover that since last time I installed emacs on a fresh computer, somebody with an insane opinion about indentation "worked on" python-mode. Struggle with it a couple of days, then try to find an old enough emacs package for my latest Ubuntu that python-mode isn't broken.

This has happened twice.

This upgrade cycle magit (my main reason for using emacs in the first place) broke all my muscle memory and added a ton of featurea I don't want or use.

I wish I could just freeze emacs development...without getting left behind when I want to install a new package... oh well...

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

#82
Not directly related, but this seems like the right thread to ask: I've been trying to move from Linux to OS recently, and the one thing I can't stand is the .DS_Store and other files which OSX just throws all over the place, in every directory whether local, network or external drive.

Is there a way to stop it? (installable on a fresh system? I've been experimenting with reformatting, so that's not a problem)

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

#83

I'm one of those guys with an install.sh file that I got from my mentor. I just run it on every new install. Last time being when I installed Ubuntu 16.04.

Mine is called "apt-all.sh" and installs gcc, clang, qemu and some libraries:

https://github.com/vmorgulys/sandbox/blob/master/stackcity/t...

It's a big list of "apt-get -y install".

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

#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/tree/master/yksh

[3] https://github.com/svaksha/yaksha/tree/master/home

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

#85
Manually. I wipe rarely, and change tools often for various reasons (even ignoring version upgrades), making building and maintaining an installation script not worth it.

For awhile I did maintain a windows batch script that installed things off of a share at work. I was dealing with pre-release Windows 8, and wiped frequently for upgrades. Even that probably wasn't worth it, but I didn't have a second machine at the time, and wanted to run it overnight instead of blocking my ability to work.

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

#86
post #82

Not directly related, but this seems like the right thread to ask: I've been trying to move from Linux to OS recently, and the one thing I can't stand is the .DS_Store and other files which OSX just throws all over the place, in every directory whether local, network or external drive. Is there a way to stop it? (installable on a fresh system? I've been experimenting with reformatting, so that's not a problem)

I've not seen any way to stop it, but I used to use a tool that would clean it all up on the first instance and move them on every additional time. There was something about moving them (and not deleting them) that stopped them regenerating, but I may be wrong.

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

#87
(OSX) I keep a bash script in a gist on GitHub that I can copy down and run on a new system. It installes Homebrew, rvm, nvm, and then a bunch of homebrew and homebrew-cask packages which is pretty much all of my development environment. Every so often I'll `brew list` and paste in the latest dependency list to keep it up to date.

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

#88
post #82

Not directly related, but this seems like the right thread to ask: I've been trying to move from Linux to OS recently, and the one thing I can't stand is the .DS_Store and other files which OSX just throws all over the place, in every directory whether local, network or external drive. Is there a way to stop it? (installable on a fresh system? I've been experimenting with reformatting, so that's not a problem)

This might have what you're looking for, anyway it's a good starting point for a lot of commands to customize an OS X instance. https://github.com/mathiasbynens/dotfiles

Edit: AFAIK .DS_Store is only created when you use Finder. In the past couple of years I've only used the Finders to drag'n drop stuff between ~/Desktop and ~/Downloads, terminal for the rest, so .DS_Store files might not be a problem in practice.

Edit2: Google helps answer your original question http://stackoverflow.com/questions/18015978/how-to-stop-crea...

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

#89
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.

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

#90
post #34

Oh god I used "you're" instead of "your" and can't edit it.

> (node, sublime, google chrome, , python libs etc etc). Lazy comma usage. Come on!

Could be a Perl programmer, in which case it doesn't matter at all.
Post reply on HN