Changes

Jump to: navigation, search

OPS435 Python Lab 1

235 bytes added, 08:34, 8 March 2017
Part 2 - Setting Up Your Linux Environment For OPS435 Labs
=== Part 2 - Setting Up Your Linux Environment For OPS435 Labs===
It's time In order to learn how to use python on your Linux machine, it is important to install applications and setup your Linux environmentand learn how to interact with a Python shell.
 The first step is to update our your entire system. Fedora uses a new package manager, : it is based on yum, but has yet it contains newer code, and has more maintainers and many improvementsmaintainer features as also contains improved features. It should work very similarly to the yum command, but check the man pages if you get confused.
<pre>dnf update</pre>
'''Perform the following steps:''' #Lets start installing applications we need, first Python version 3 and version 2.<presource>
dnf install python3 python2 # Install python3.5 and python2.7
</presourceThis next #Next, you will install a couple of useful applications are called '''tmux ''' and '''screen'''. They are referred to as '''terminal multiplexers'''. If you plan to spend a lot of time in the terminal, this powerful tool will help you get it done. Lets install it and plan to use it later.:<presource>
dnf install screen tmux && ln -s /usr/bin/true /etc/sysconfig/bash-prompt-screen
</presourceWe # You will now set our your hostname to the Linux Distribution we are using.:<presource>
hostnamectl set-hostname fedora24 # Set hostname to distribution-name
</presource>
Installing vim(Vi IMproved) will give us syntax highlighting and allow for advanced customization for terminal editing.
13,420
edits

Navigation menu