What installs will only be installed inside an activated Virtual environment? - virtualenv

If a virtual environment (virtualenv) is activate will all software installed in it like Zurb Foundation will only be installed inside that virtual environment?

It looks like there is a Django Zurb Foundation package on PyPI so that package can be installed in a virtualenv. Not all software installed when a virtualenv is active will be contained inside that environment. Only Python packages installed with pip.

Related

Managing python dependecies for installing other packages

Python packages can be installed via system packages managers (e.g., apt) or through dedicated managers (e.g., pip). Consider installing a system package that depends on python packages. What is the best practice on managing python dependencies of system packages? As I see it, there are two possibilities:
The manager (apt-like) simply installs what it needs, which may cause python package duplication, e.g., the user already installed say numpy through pip which apt does not detect and will also install numpy, which may cause version conflicts among other issues;
The manager (apt-like) has to check if the dependency packages were installed by some other manager, which may cause version issues later on if an apt package requires updated versions of python packages, which will not be handled by apt.

Advantages of having applications from Anaconda or independent (and the latest)

Can someone can explain and advise whether and why one should install and use applications such as Orange or RStudio or VS Code from Anaconda vs. download and install directly/independently (as stand-alone apps)? At a minimum, what I see (as I am using RStudio and VS Code) current stable versions on the internet are (much) newer.
I am using:
conda version : 4.8.1
conda-build version : 3.18.9
python version : 3.7.4.final.0
platform : osx-64
Anaconda pre-installed a lot of packages for you, so you don't have to install them manually. Anaconda create an environment in VSCode, so when you need to use these packages, you have to start VSCode from Anaconda, or switch to conda environment.
On the other hand, when using VSCode independently, you have to install packages yourself.

How to install pre-requisites for Hyperledger Composer on Windows10

I am following the tutorial for Hyperledger Composer. I'm trying to install the pre-requisites for the Composer as outlined here:
https://hyperledger.github.io/composer/installing/installing-prereqs.html
The instructions are only provided for Ubuntu or Mac, and I have Win10 machine with Docker 17.12.x
So I got Ubuntu 16.04 docker image, added curl. I got the prereqs-ubuntu.sh script, I login as blockchain user, and run the script, but I get this error:
#Updating package lists
-sudo apt-add-repository: command not found
Is it even possible to install Hperledger Composer on a Windows 10 machine?!
No it is not possible to install Hyperledger Composer on windows which includes the Windows Subsystem for Linux and other environments like MinGW that simulate a linux environment. This platform is not supported at this time. I recommend you use a hypervisor such as VirtualBox or if you are using Windows 10 Professional, the built in Hyper-V support to run a Linux virtual machine where you can install Hyperledger Composer. Also we recommend using ubuntu 16.04 as this is the level we test with most.

If my CentOS 7.2 box has vagrant 1.7.2, can I just run the 1.8.1 rpm to get vagrant 1.8.1?

I have a CentOS 7.2 laptop. I have VirtualBox 5.0.x installed on it. Out of the box, it appears that I have Vagrant 1.7.2. Apparently this doesn't support VirtualBox 5.0.x, but it appears that version 1.8.1 does. What is the proper way to get access to 1.8.1? There is an installation rpm for 1.8.1 that I've downloaded, I can run this with "rpm", but do I have to do anything else before I do that?
Use Software Collections to get Vagrant 1.8.1 on CentOS: Vagrant 1.8 by Software Collections (the linked page contains instructions on how to do that). That will give you a build tested by the CentOS project.
As a sidenote: If you downloaded a standalone RPM package (presumably directly from the Vagrant project) and wish to install it, do it using the yum package manager, not rpm -- yum takes care of dependencies.

Compatibility Ubuntu Server and packages on ARM

i'm working on a web server hosted on a board based on an ARM processor, that is named UDOO (http://www.udoo.org) and is similar to the Raspberry PI, and on it you can install a version of Linaro Ubuntu (11.10) modified for ARM or Android, both are downloadable from the project's site. Lately i've found a version of Ubuntu Server for ARM (http://www.ubuntu.com/download/arm/) and i wanted to know if it is compatible with all ARM devices, include the UDOO board. Also i wanted to know if the basic packages for the web server (like apache2, php5, mysql) and other packages (like mysql-connector c++, libcurl, g++) also work on ARM, under Ubuntu Server or under other Linux, like Linaro Ubuntu or Android. Someone can help me?
To install a Web Server on UDOO you can use Tasksel Installer:
sudo apt-get install tasksel
you can launch application with
sudo tasksel
There are other ways to install Ubuntu on the UDOO Board
http://dave.cheney.net/2013/10/20/installing-ubuntu-precise-12-04-on-a-udoo-quad
I just got my UDOO board today and I am going in that direction. So if Ubuntu runs nicely then most Ubuntu applications will run to.