Results 1 to 7 of 7

Thread: live CD with Android Studio for offline installation

  1. #1
    Join Date
    Dec 2007
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    live CD with Android Studio for offline installation

    Hi all,
    I am teaching an Android course on a school, but they have Windows XP and things dont seem very well! we have major problems running the apps (actually only 4 out of 15 computers can actually launch the apps on the emulator, the rest just launch the emulator with no app running).
    I was thinking to use a live cd and run Android studio from there. This would take some time to set up for all the computers, but I trust ubuntu will do the job million times better.

    My question, is it possible to "add" android studio on a live cd so it can be installed at the same time? my quess is no, so the second question would be

    Is it possible to add a full version of Android studio on the same DVD with the ubuntu ISO and execute this with a single command with out the need of internet?

    Or maybe any other way that would effectivly reduce the installation time for both ubuntu and Studio?

    Thanks, ilias
    Last edited by skarosg3; May 28th, 2015 at 10:41 PM.

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: live CD with Android Studio for offline installation

    I think that what you are wanting to do is create an offline repository.

    https://help.ubuntu.com/community/Ap...ine/Repository

    I also suggest that you look at Ubuntu Make. It is a command line tool that makes it easy to install development software such as Android Studio & Android SDK as well as other development platforms. New development platforms are being added all the time.

    https://wiki.ubuntu.com/ubuntu-make

    http://blog.didrocks.fr/

    If you do a web search for "Ubuntu offline repository" you will find other suggestions that may help you. You may store the repository on a hard disk to start with. Then when it is complete copy it onto a CD to be used as an offline repository once Ubuntu has been installed on each machine in the usual way.

    Regards.
    Last edited by grahammechanical; May 29th, 2015 at 02:59 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #3
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: live CD with Android Studio for offline installation

    Or ...

    Why not install on one machine, tweak that to how you want it, then create an .iso of the install and install that on all the machines? Your Ubuntu spin can have whatever you like on it then. You could certainly also incorporate your offline repository as well, if you needed to.

    https://duckduckgo.com/?q=create+iso...l+ubuntu&ia=qa

    There's lots of ideas there. I did it once some years ago. I'll see if I can find how I did it. Clonezilla can create an .iso of your current partition, but you may need to tweak with grub on the other machines to get it running. Not sure about if you are using EFI.

    Create recovery ISO with Clonezilla:
    https://rbgeek.wordpress.com/tag/usi...ate-iso-image/

    Just another suggestion.

  4. #4
    Join Date
    Dec 2007
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: live CD with Android Studio for offline installation

    Quote Originally Posted by Bucky Ball View Post
    Or ...

    Why not install on one machine, tweak that to how you want it, then create an .iso of the install and install that on all the machines? Your Ubuntu spin can have whatever you like on it then. You could certainly also incorporate your offline repository as well, if you needed to.

    https://duckduckgo.com/?q=create+iso...l+ubuntu&ia=qa

    There's lots of ideas there. I did it once some years ago. I'll see if I can find how I did it. Clonezilla can create an .iso of your current partition, but you may need to tweak with grub on the other machines to get it running. Not sure about if you are using EFI.

    Create recovery ISO with Clonezilla:
    https://rbgeek.wordpress.com/tag/usi...ate-iso-image/

    Just another suggestion.
    That would be great! but can i do this with live CD? could create my installation under live CD and install it as live CD. I will not be able to install ubuntu on the machines, i already checked
    Quote Originally Posted by grahammechanical View Post
    I think that what you are wanting to do is create an offline repository.

    https://help.ubuntu.com/community/Ap...ine/Repository

    I also suggest that you look at Ubuntu Make. It is a command line tool that makes it easy to install development software such as Android Studio & Android SDK as well as other development platforms. New development platforms are being added all the time.

    https://wiki.ubuntu.com/ubuntu-make

    http://blog.didrocks.fr/

    If you do a web search for "Ubuntu offline repository" you will find other suggestions that may help you. You may store the repository on a hard disk to start with. Then when it is complete copy it onto a CD to be used as an offline repository once Ubuntu has been installed on each machine in the usual way.

    Regards.
    I will look into that. in deed offline repository seems like the solution i was looking for. thanks.
    will let you know how it will go

  5. #5
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: live CD with Android Studio for offline installation

    Yes. You could clone as many USB sticks as you like (rather than CDs, but you could use that too, although a full Ubuntu install will not fit on a CD). Install on one machine, tweak to your liking, use Clonezilla (there are other apps to do this to from memory) to clone an .iso of your install to a (or many) USBs.

    Good luck however you swing.

  6. #6
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: live CD with Android Studio for offline installation

    I was also thinking that if these machines do not have an internet connection or it would be unwise or too expensive for them to have an internet connection, then in Software & Updates we can set a CD-Rom as a repository. An offline repository on a DVD/USB that is updated at regular intervals could then be used to update offline other machines.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  7. #7
    Join Date
    Dec 2007
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: live CD with Android Studio for offline installation

    Quote Originally Posted by Bucky Ball View Post
    Yes. You could clone as many USB sticks as you like (rather than CDs, but you could use that too, although a full Ubuntu install will not fit on a CD). Install on one machine, tweak to your liking, use Clonezilla (there are other apps to do this to from memory) to clone an .iso of your install to a (or many) USBs.

    Good luck however you swing.
    I do not have the ability for a new ubuntu installation. i was hoping i can do this using live CD, but it turns out that live cd installation doesnt allocate much of free hard drive space resulting not to be able to instal Android Studio. I will give it a try to do a virtual box ubuntu installation (under my ubuntu installation ), install Android Studio and get the image of that.
    If that will not work i will go for the offline repository
    Quote Originally Posted by grahammechanical View Post
    I was also thinking that if these machines do not have an internet connection or it would be unwise or too expensive for them to have an internet connection, then in Software & Updates we can set a CD-Rom as a repository. An offline repository on a DVD/USB that is updated at regular intervals could then be used to update offline other machines.

    Regards.
    @grahammechanical The problem is not that there is no internet connection. The problem is that i dont have the luxury of the time to wait for the Android Studio to download and install for all the computers.

    thanks
    Last edited by skarosg3; May 31st, 2015 at 06:40 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •