Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

6/17/17

Install Python 3.6 (and IDLE/pip) on Ubuntu 17.04


To install Python 3.6 on Ubuntu 17.04, enter the command:
$ sudo apt-get install python3.6

Install IDLE for Python 3.6, idle-python3.6:
$ sudo apt install idle-python3.6


To install package using pip for Python 3.6:

- Download get-pip.py from https://pip.pypa.io/en/latest/installing/

- Install pip for Python 3.6
$ sudo python3.6 get-pip.py

- Install package:
$ sudo python3.6 -m pip install <package>
reference: Python documenet - Installing Python Modules - ... work with multiple versions of Python installed in parallel

Read More
Advertisement

5/20/17

Install Ubuntu 17.04 on Windows 10/Oracle VirtualBox


This video show how to install Install Ubuntu 17.04 on Windows 10 with Oracle VirtualBox 5.1. Basically, the steps is very straightforward.


But...after setup, I cannot google in the browser. And it was found some sites can be reached, some sites cannot. Even cannot run apt-get update. After some searching, I found it's related to DNSSEC in /etc/systemd/resolved.conf.

To fix it, edit the file /etc/systemd/resolved.conf:
$ sudo nano /etc/systemd/resolved.conf

uncomment #DNSSEC=allow-downgrade and replace allow-downgrade with off .


Save and Exit
Reboot

This video show how:


reference:
This page have a good explanation: Hectic Geek - Websites Not Loading (dns issue) After Installing Ubuntu 17.04? [fix]

Install Guest Addition:
The Guest Additions are designed to be installed inside a virtual machine after the guest operating system has been installed. They consist of device drivers and system applications that optimize the guest operating system for better performance and usability. (https://www.virtualbox.org/manual/ch04.html)

It's strongly recommended to install Guest Addition. In case of Ubuntu 17.04, simple click Devices on VirtualBox menu bar, and click Insert Guest Addition CD image...



Share folder between host Windows 10 and guest Ubuntu 17.04:
Starting with version 4.0, VirtualBox can mount shared folders automatically, at your option (link). This video show how to set auto-mount share folder in host Windows 10, and also add user to vboxsf group in guest Ubuntu to access the share folder. (Guest Addition is need)


Read More
Advertisement