Python 3.3 Install - Freeze - Linux 3.4 Amazon ec2 - installation

I am very new to server setup and have spun up an Amazon stock ec2 server with Linux 3.4 on it.
I am trying to get python 3.3 onto it. I have so far installed the following:
yum install gcc gcc-c++ autoconf automake
When I try and run:
./configure --prefix=/opt/python3.3
the output I get freezes on "checking whether gcc accepts -pthread... "
Can you please let me know where to start looking to solve this problem? I'm using a combination of a few tutorials, but primarily https://askubuntu.com/questions/244544/how-to-install-python-3-3 ? Unfortunately, this tutorial is for Ubuntu and my server is CentOs. I therefore, use yum instead of apt-get.
Thank you for your help or guidance.

Related

EC2 Amazon Linux: uninstalled Python2.7 by mistake and yum didn't work

I got a new EC2 amazon Linux server and a stupid action i was taken is to deinstalled python2.7.
As a result my yum didn't work.
What I still have is python3.7.
I tried to edit /usr/bin/yum to change the quote of python to python3 but there are more issues popped up.
I tried to get my python2.7 back using rpm -ivh. I downloaded the rpm packages to my local directory and it took ages to mange the dependancies. and i couldn't get it back successfully
Can someone please give me some light with regards to what should I do in this case?
after all i need Yum

How to install pyez from local directory

I have to install pyez using pip. This at least is stated as requirement to use the role Juniper.junos to run ansible commands against Juniper routers. I'm using cygwin on a windows laptop without any adminrights in a corporate network. The problem is, I cannot use the corporate proxy because of that proprietary Microsoft NTLM protocol so a simple "pip install junos-eznc" is not possible. But what I could do is download the software, tarball or whatever and run pip against that downloaded stuff. I tried several things and failed miserably and google doesn't return anything useful. Can anyone help? What am I supposed to do to get that installed successfully? Many thanks in advance.
Youcan download required package and install it like this
pip install <file_name>
I solved it.
First issue: Proxy
px.exe on https://github.com/genotrance/px/releases.
Second issue: missing libs:
I had to install several libs and make on cygwin in order to get junos-eznc installed:
libxml2-devel
libxslt-devel
libffi-devel
libssl-devel
make
Third issue: cryptography
Don't use latest version of cryptography because it'll need rust which is pita on cygwin
pip install cryptography==3.2
... and then ...
pip install junos-eznc
After that, installation of ...
ansible-galaxy install Juniper.junos
... was quite smooth

How to install justext package using Conda install when virtual environment is created?

I created virtual environment for python 3.4 version.I cant able to use pip from my network. I cant able to download files even. So i created virtual environment and started to install packages using conda install.
When i was using this command conda install -c syllabs_admin justext, i'm getting notification from my server like:
The following packages will be SUPERSEDED by a higher-priority channel:
python pkgs/free::python-3.4.5-0 --> pkgs/main::python-2.7.17-h9bab390_0
Can someone actually help me how to install this justext package for my python version 3.4 using conda install?
Unfortunately, no. There is no way that you can use conda install with any public channel to install justext and your python version. Checking the search function on anaconda.org, there are only two channels that provide justext:
moustik / justext 2.2.0
syllabs_admin / justext 2.2.0
Unfortunately, both have only python 2.7 packaged versions of the module.
you should try to fix your networking issues instead. It sounds really werid that conda install would be working while you claim to not be able to even download any files. Please talk to your IT department or Sys Admin about it or ask another question posting the errors you are getting when using pip install or wget https://files.pythonhosted.org/packages/6c/5f/c7b909b4b864ebcacfac23ce2f6f01a50c53628787cc14b3c06f79464cab/jusText-2.2.0-py2.py3-none-any.whl

VMWare 12.5 doesn't like my gcc-6 under Mint

I'm spending way too muhc time on trying to figure this out, so I decided to ask you guys for a little help.
I downloaded VMWare Workstation 12.5.5 on kernel 4.10.8 (Linux Mint 18.1).
A popup show up saying I don't have gcc >= 6.2.0.
After trying to compile it I realised there's a version hosted on a ppa:
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial
main
sudo apt update
sudo apt install gcc-6
I relaunch vmware and I still get this error. Entering the path manually to /usr/bin/gcc-6 doesn't work either. /usr/bin/gcc-6 -v gives me gcc version 6.2.0 20160901 (Ubuntu 6.2.0-3ubuntu11~16.04)
How can I run VMware on my machine? Thanks! :D

ns-2 - ./validate fails in Ubuntu 13.10

I was able to make ns-2 (ns-allinone-2.35) install on Ubuntu 13.10 successfully by modifying linkstate/ls.h, but one test case in the validation suite always seems to fail - tcpLinux. This bothers me because validation works properly in Ubuntu 12. Would you know how to fix this or if this is an issue at all?
Thanks in advance!
So it looks like ns-2 doesn't play nice with the newer versions of gcc.
Before installing, do
export CC=gcc-4.4 CXX=g++-4.4
If you don't have these older versions, use
sudo apt-get install gcc-4.4 g++-4.4
Using this method, I didn't have to modify any source code before building.

Resources