@@ -18,6 +18,7 @@ It consists of setting up common tools, apps, python and ruby development setup
18
18
---
19
19
### Sublime text
20
20
$ sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
21
+ $ sudo apt-get update
21
22
$ sudo apt-get install sublime-text-installer
22
23
sublime package : djanerio allautocomplete emmet sublimepythonide sidebar enhancement
23
24
### Vim
@@ -153,11 +154,12 @@ It consists of setting up common tools, apps, python and ruby development setup
153
154
$
154
155
155
156
## g++
156
- $
157
+ $ sudo apt-get -y install g++
157
158
158
159
## ruby and rails
159
160
160
- $
161
+ - Check out [this](https://github.com/manojpandey/setup/blob/master/ror-setup.sh) script
162
+
161
163
## Django
162
164
163
165
$
@@ -225,6 +227,19 @@ It consists of setting up common tools, apps, python and ruby development setup
225
227
$ sudo apt-add-repository ppa:paolorotolo/android-studio
226
228
$ sudo apt-get update
227
229
$ sudo apt-get install android-studio
230
+
231
+ ## Android SDK
232
+ $ sudo apt-get install openjdk-7-jdk
233
+ $ wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
234
+ $ tar -xvf android-sdk_r24.2-linux.tgz
235
+ $ cd android-sdk-linux/tools
236
+ $ ./android update sdk --no-ui
237
+ $ vi ~/.zshrc << EOT
238
+ export PATH=${PATH}:$HOME/sdk/android-sdk-linux/platform-tools:$HOME/sdk/android-sdk-linux/tools:$HOME/sdk/android-sdk-linux/build-tools/22.0.1/
239
+ EOT
240
+ $ source ~/.zshrc
241
+ $ sudo apt-get install libc6:i386 libstdc++6:i386
242
+ $ sudo apt-get install zlib1g:i386
228
243
229
244
## 32-bit Compatibility Libraries
230
245
$ sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 lib32z1-dev
@@ -304,13 +319,25 @@ It consists of setting up common tools, apps, python and ruby development setup
304
319
Change shortcut to shift++.
305
320
---
306
321
#Node
307
- ##Setup With Ubuntu
308
- $ curl --silent --location https://deb.nodesource.com/setup_4.x | sudo bash -
309
- $ sudo apt-get install --yes nodejs
310
- ##Setup With Debian(root user):
311
- $ apt-get install curl
312
- $ curl --silent --location https://deb.nodesource.com/setup_4.x | bash -
313
- $ apt-get install --yes nodejs
322
+ ## Remove any previously installed packages
323
+
324
+ Go to /usr/local/lib and delete any node and node_modules
325
+ Go to /usr/local/include and delete any node and node_modules directory
326
+ If you installed with brew install node, then run brew uninstall node in your terminal
327
+ Check your Home directory for any local or lib or include folders, and delete any node or node_modules from there
328
+ Go to /usr/local/bin and delete any node executable
329
+
330
+ After that, do this:
331
+
332
+ sudo rm /usr/local/bin/npm
333
+ sudo rm /usr/local/share/man/man1/node.1
334
+ sudo rm /usr/local/lib/dtrace/node.d
335
+ sudo rm -rf ~/.npm
336
+ sudo rm -rf ~/.node-gyp
337
+ sudo rm /opt/local/bin/node
338
+ sudo rm /opt/local/include/node
339
+ sudo rm -rf /opt/local/lib/node_modules
340
+ sudo rm -rf /usr/local/include/node/
314
341
315
342
##Setup Node.js v5.0 on Ubuntu (THIS WILL NOT UPDATE NODE)
316
343
@@ -325,6 +352,30 @@ It consists of setting up common tools, apps, python and ruby development setup
325
352
326
353
$ sudo apt-get install -y nodejs
327
354
355
+ ### Steps to resolve "‘failed to fetch" error which might come
356
+
357
+ "Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
358
+ Unable to find expected entry ‘main/binary-i386/Packages’ in Release file
359
+ (Wrong sources.list entry or malformed file)"
360
+
361
+ 1. Open a new Terminal window and run the following command (assuming you’re on the Stable Channel,
362
+ if not, see the featured comment):
363
+
364
+ sudo gedit /etc/apt/sources.list.d/google-chrome.list
365
+
366
+ 2.In the text file that opens edit the file so that the line reads:
367
+
368
+ deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
369
+
370
+ The only addition you need to make is entering the [amd64] architecture after
371
+ ‘deb’ but preceding the ‘http’. Do not edit or replace any other text in this file.
372
+
373
+ 3.Hit Save. Close the Gedit window.
374
+
375
+ Now return to the Terminal and refresh your package list by running:
376
+
377
+ sudo apt-get update
378
+
328
379
#### (NOTE) - Update Node by deleting the previous version and installing the newer one
329
380
330
381
# R
0 commit comments