![]() |
A super cool Ubuntu 17.04 Python Development Respin |
This weekend, I'll be attending (and helping out with) a NAIF workshop being taught by a colleague of mine. I've been working with NAIF for a while now and can finally say I've gotten the hang of the important functions and such that I'll be using for my current assignment. I'll write brief summary of the the functions I've been working with frequently and how to use them sometime in the near future, but for now, I'll introduce you to a little something I whipped up a couple days ago:
A preloaded Ubuntu virtualbox image!
To save time during the workshop, I put together a slightly modified version of Ubuntu 17.04 with the latest version of Python 3, PyCharm Python IDE, Spiceypy (more on the dessert later), some useful NAIF kernels, GPredict, Stacer, Sticky Notes, a custom theme, and a few tweaks to make it run a little better as a VM. Next week, I'll be adding COSMOS and it's dependencies to the OS, so the environment can be used at the COSMOS workshop too.
During a lunchbreak this weekend I might throw remastersys on the VM and compile an ISO image of the OS, in case anyone wants to do a full install. I'll update the links below when I do so.
You can find the latest .OVO for this virtual system HERE.
And I'll paste the installation instructions below. If you have any questions or recommendations , shoot me an email or tweet!
Ubuntu Development Environment
Ubuntu 17.04 respin preloaded with Python 3, a Python IDE, SpiceyPy, NAIF Kernels, GPredict, and their dependencies.
1. Download VirtualBox:Files:
Ubuntu_Dev_Environment_1.4.ova - Google Drive
How to use:
You have the option of downloading the file in parts, with or without self-extractor. Look below this section to see how to do that.
3. Install VirtualBox with all defaults (click ‘ok’, ‘agree’ etc. for all options).5. VirtualBox will open and this window will pop up. Click “Import”.
6. The virtual system will start to import, this will take 2-5 minutes.
![](https://lh3.googleusercontent.com/U5qv5PiGm7vD7UjTBPvYnCkGOfs9yLtj1jq-N8eyvAi_3AZPIlR9vReL6uJjmdUiNCZe7ra9R9xZSHkij8gH4iDvxdavL0zgkPXK3q12_OkezGwP3yjsiZBYHF8MfZH6H_-FpTWy)
7. After it completes, you’ll see “Ubuntu Dev Environment_1 appear in VirtulBox’s side panel. NOTE: If your system has less than 4GB of ram, you might want to lower the amount of RAM dedicated to the virtual system. Click here to see how to do that.
![](https://lh3.googleusercontent.com/z5TeMWGnmYwDvko8AjAj9wTr5B72CfzLTZGPJ1R1xnDN0mPShix6te2bO1z746l1BhXQgzGTNDavxrCO82NcMb8QeRACOwlErQxnVTnQHgvC3mkG3W1A7xMzld4LFJdTLzMREtl4)
8. Click the green start arrow in the top left.
8. Click the green start arrow in the top left.
9. Your virtual system will boot up in its own window! (The default password is ‘spaceshipparking’)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtiWhxsgog_0Tw5Q_63yDWFtjwzysVOu03EftfT2NltRpT_pSOny0nk7TRfAybzGorTcjHOot92dCHD_M2XY2nIi7vh2bWcYG4wCuHM1fgXfhbbI4aWZ_N54SB1LGYWmvk9LDKmaF0ZKGg/s640/desktopimg.png)
TIPS:
- If you want to make the window full screen, click the right ‘Ctrl’ + ‘F’ buttons. Use the same combination to exit fullscreen.
- When you’re done using the virtual system, you can save the state of the machine to save time when you boot up the next time. Saving the machines state keeps the system exactly how you left it, all your open programs and windows remain.
How to save machine state:
1. X out of the window
2. Select ‘Save machine state’ then click ‘Ok’.1. X out of the window
- Easy way - Download the whole file at once (‘Ubuntu_Dev_Environment_1.2.ova’ - ~3.8GB).
- Slow Internet way - If your internet is slow, you might want to consider downloading the file in parts.
- If you’re on Windows:
- Download all the files in the ‘Parts’ folder (on the drive) and place them in the same folder on your computer.
- Double click on the .exe file, this will extract the system file.
- If you’re on Mac:
- Download all the ‘.7z.00#’ files from the ‘Parts’ folder (on the drive).
- Open the file ending in ‘.7z.001’ with ‘The Unarchiver’. This will extract the system file.
Lowering the amount of ram dedicated to the virtual system
4. Go to the System Tab and adjust the slide bar to the desired amount of ram (I wouldn’t suggest going below 1GB)
As always, any comments, suggestions, or questions are greatly appreciated!
Leave a comment, or message me on twitter 🚀
Comments
Post a Comment