IMS = IP Multimedia SubSystem
It integrates the voice, data and multimedia services together and communicates with the access Network
sudo apt-get remove eric
yunhua@yunhua-PC:~/eric6-17.11.1$ python ./install.py
sudo apt-get install qt5-defaultThis package sets Qt 5 to be the default Qt version to be used when using development binaries like qmake. It provides a default configuration for qtchooser, but does not prevent alternative Qt installations from being used.
And supython3 install.cy
CTRL, ALT, and T keys on your keyboard at the same time to open the Terminal application automatically.apt-get:
- sudo apt-get update
- sudo apt-get -y upgrade
The -y flag will confirm that we are agreeing for all
items to be installed, but depending on your version of Linux, you may
need to confirm additional prompts as your system updates and upgrades.
- python3 -V
You will receive output in the terminal window that will let you know
the version number. The version number may vary, but it will look
similar to this:
Output
Python 3.5.2
To manage software packages for Python, let’s install pip:
- sudo apt-get install -y python3-pip
A tool for use with Python, pip installs and manages
programming packages we may want to use in our development projects.
You can install Python packages by typing:
- pip3 install package_name
Here, package_name can
refer to any Python package or library, such as Django for web
development or NumPy for scientific computing. So if you would like to
install NumPy, you can do so with the command pip3 install numpy.
- sudo apt-get install build-essential libssl-dev libffi-dev python-dev
Once Python is set up, and pip and other tools are installed, we can set up a virtual environment for our development projects.
- sudo apt-get install -y python3-venv
With this installed, we are ready to create environments. Let’s
choose which directory we would like to put our Python programming
environments in, or we can create a new directory with mkdir, as in:
- mkdir environments
- cd environments
Once you are in the directory where you would like the environments
to live, you can create an environment by running the following command:
- python3 -m venv my_env
Essentially, this sets up a new directory that contains a few items which we can view with the ls command:
- ls my_env
Output
bin include lib lib64 pyvenv.cfg share
To use this environment, you need to activate it, which you can do by
typing the following command that calls the activate script:
- source my_env/bin/activate
Your prompt will now be prefixed with the name of your environment, in this case it is called my_env.
Your prefix may look somewhat different, but the name of your
environment in parentheses should be the first thing you see on your
line:
-
This prefix lets us know that the environment my_env
is currently active, meaning that when we create programs here they
will use only this particular environment’s settings and packages.
- nano hello.py
Once the text file opens up in the terminal window we’ll type out our program:print("Hello, World!")
Exit nano by typing the control and x keys, and when prompted to save the file press y.
- python hello.py
The hello.py program that you just created should cause your terminal to produce the following output:
Output
Hello, World!
To leave the environment, simply type the command deactivate and you will return to your original directory.