Alternative to Cisco AnyConnect Secure Mobility Client in Ubuntu 16.04
I reinstall my laptop with Ubuntu 16.04 and found the linux version of Cisco AnyConnect is not working any more, by a quick google search, the alternative is
sudo /sbin/modprobe tun
sudo apt-get install openconnect
sudo openconnect yourvpn.com
Did not search for detail, but put a note here for future self refreence.
Set proxy for apt-get
https://help.ubuntu.com/community/AptGet/Howto
Install Java8 on ubuntu
1, download
2,create a folder to extract the tar.gz
3, define JAVA_HOME=the folder, in my case it’s
echo $JAVA_HOME
/opt/java/jdk1.8.0_144
Install eclipse
1 download
2, create a folder to exact the tar.gz
3 simlink a eclipse in /usr/local/bin if needed
4 sudo update-alternatives — config java
select the one you want, in this case java8 se
Install cpptest
1, check g++ is installed
sudo apt-get update
sudo apt-get install build-essential
2, cd cpptest-1.1.2/
$ ./configure
$ make
$ sudo make install.
3. test code
pip problem:
TypeError: unsupported operand type(s) for -=: ‘Retry’ and ‘int’
apt-get remove python-pip python3-pip
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
python3 get-pip.pynow pip instal working:
pip install jupyter
