Setting up Android Studio on Ubuntu and Linux Mint Rosa

 

Following are the steps to install the Android Studio Environment on Linux systems such as Linux Mint and Ubuntu.

Andoid Studio needs JDK to be installed so please install it by typing following command on terminal if already installed the skip

sl3lab@practnode0:~/Documents/android-studio/bin$ ] sudo apt-get update

sl3lab@practnode0:~/Documents/android-studio/bin$ ] sudo apt-get install default-jdk

  1. Download the Android Studio and the SDK tools from

    download android-studio and sdk

Now for 32-bit Linux System :

1.No need to install any additional libraries you can simply go further by extracting the android-studio.zip or tar.gz file

  1.   Now go in the extracted directory of android-studio from terminal
  1. Again go in the /bin directory using   $]cd bin
  2. now from that directory run the following command

sl3lab@practnode0:~/Documents/android-studio/bin$ ./studio.sh  and hit enter

and left that terminal open…

  1. Click on Next Next then It will Ask to Setup Proxy for the Android SDK tools Click on Cancel
  2. Now go in Configure (the second last option )—>go in Projects Defaults—->Project Structure
  3. Now you have Installed JDK so the path of the JDK will come automatically there

for the Android SDK Location set path of extracted android-sdk_r24.4.1-linux.tgz

and click OK.

now you have Successfully installed the Android Studio Environment on 32 bit.

Now for 64-bit Linux System :

The Problem with the 64 bit system is that Android SDK are of 32 bits in size so you need to install the lib32 libraries so that your 64 bit system would understand them…

it can be done by running following command in terminal

sl3lab@practnode0:~$ ]sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

if it says that…

E: Unable to locate package lib32bz2-1.0

E: Couldn’t find any package by regex ‘lib32bz2-1.0’

then go with following steps:

  1. sl3lab@practnode0:~$ ]sudo apt-get install lib32z1
  1. sl3lab@practnode0:~$ ]sudo apt-get install lib32ncurses5
  1. sl3lab@practnode0:~$ ]sudo apt-get install libbz2-1.0:i386
  1. sl3lab@practnode0:~$ ]sudo apt-get install lib32stdc++6

and Now run the same steps as mentioned for 32 bit system…

Set path for Android SDK and JDK(automatically comes).

You have successfully installed the Android Studio Environment on 64 bit.

Hurray That’s done…!

Author :

AMIT GUNJAL

Amrutvahini College of Engineering, Sangamner

Installing Apache , PHP and Mysql (LAMP ) on Ubuntu and Linux Mint

Step 1 Install Apache

  1. sudo apt-get update
  2. sudo apt-get install apache2

After this Open Browser and visit http://localhost

it will show you that Apache Server in installed

Step 2 Install MySQL

  1. sudo apt-get install mysql-server

after this step it will ask for permissions click yes to all it shows..

Step 3 Install PHP

  1. sudo apt-get install php5

now use terminal and type the cd commands to go to /var/www/html

now create a file there i.e.

phpinfo.php

and type

 

Save the code.

and open browser again and go to

http://localhost/phpinfo.php

it will shows that PHP is install and its Details.

Now LAMP server is install on Your ubuntu System.

Terms and Conditions:

All the commands are need to be performed under root user.

to go to root shell

type in terminal

sudo -i

now it asks for current user password type whatever it may be and hit enter

now you are a root user.

further you can change root password by passwd command..

Hurray that’s done..!

Installing your Windows..

You can do it manually. just go through following steps

  1. Make sure that you are with the image file or CD/DVD of the OS which you want to install.
  2. Connect that bootable media e.g. Pen Drive or insert  DVD int CD-ROM to your machine.
  3. Restart the Machine.
  4. Catch it in the BIOS  Setup mode.
  5. Chose Boot Device Options.
  6. Give top Priority to your Bootable Media.
  7. restart and go through given steps.
  8. Finally you will be all done..within 30 minutes..