Wednesday, July 17, 2019

LINUX command

Install Nodejs
wget -qO- https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt-get install -y nodejs

Install Yarn
sudo apt install curl

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - 

echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

sudo apt update

sudo apt install yarn nodejs




sudo apt-get remove nodejs

sudo apt-get remove npm
OR
 
Then go to /etc/apt/sources.list.d and remove any node list if you have. Then do a
sudo apt-get update
sudo apt install curl



sudo npm install -g nodemon
JAVA
sudo apt install default-jre
sudo apt install default-jdk
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
echo $JAVA_HOME

1. Download TeamViewer

Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon.
Download the latest TeamViewer .deb package with the following wget command:
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
Copy

2. Install TeamViewer

Install the TeamViewer .deb package by issuing the following command as a user with sudo privileges:
sudo apt install ./teamviewer_amd64.deb
Copy
At the prompt Do you want to continue? [Y/n], type Y to continue the installation.
sudo chmod -R 777 /opt/lampp/htdocs/potrider

Error : -

node.js - npm start fails with events.js:174 

throw err; on Ubuntu 18.04


sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl -p



Download and Install Android Studio

Download the Android Studio package for Linux and extract it somewhere (e.g home directory).
To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute studio.sh.
cd android-studio/bin
./studio.sh
or
cd android-studio/bin$./studio.sh












No comments:

Post a Comment