$ sudo apt-get install build-essential libncursesw5-dev libreadline5-dev libssl-dev libgdbm-dev libbz2-dev libc6-dev libsqlite3-dev tk-dev g++ gcc
Step 2: Grab the bits, extract them and build them
$ wget http://www.python.org/ftp/python/3.0/Python-3.0.tgz
$ tar xvzf Python-3.0.tgz
$ cd Python-3.0/
$ ./configure
$ make
$ sudo make install
Python 3.0 (r30:67503, May 29 2011, 02:31:02)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
C++, Java, Python, PHP, Programming Tips, Linux, Bash Shell Scripting, Security And Tech Stuff
Showing posts with label install. Show all posts
Showing posts with label install. Show all posts
Saturday, May 28, 2011
Wednesday, March 30, 2011
Install Python from Source
localhost:~$ su − Password: [enter your root password] localhost:~# wget http://www.python.org/ftp/python/2.3/Python−2.3.tgz Resolving www.python.org... done. Connecting to www.python.org[194.109.137.226]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 8,436,880 [application/x−tar] ... localhost:~# tar xfz Python−2.3.tgz localhost:~# cd Python−2.3 localhost:~/Python−2.3# ./configure checking MACHDEP... linux2 checking EXTRAPLATDIR... checking for −−without−gcc... no ... localhost:~/Python−2.3# make gcc −pthread −c −fno−strict−aliasing −DNDEBUG −g −O3 −Wall −Wstrict−prototypes −I. −I./Include −DPy_BUILD_CORE −o Modules/python.o Modules/python.c gcc −pthread −c −fno−strict−aliasing −DNDEBUG −g −O3 −Wall −Wstrict−prototypes −I. −I./Include −DPy_BUILD_CORE −o Parser/acceler.o Parser/acceler.c gcc −pthread −c −fno−strict−aliasing −DNDEBUG −g −O3 −Wall −Wstrict−prototypes −I. −I./Include −DPy_BUILD_CORE −o Parser/grammar1.o Parser/grammar1.c ... localhost:~/Python−2.3# make install /usr/bin/install −c python /usr/local/bin/python2.3 ... localhost:~/Python−2.3# exit logout localhost:~$ which python /usr/local/bin/python localhost:~$ python Python 2.3.1 (#2, Sep 24 2003, 11:39:14) [GCC 3.3.2 20030908 (Debian prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> [press Ctrl+D to get back to the command prompt] localhost:~$
Monday, February 28, 2011
10 Things to do immediately after installing Ubuntu or XUbuntu 2011
1. Install Google Chrome
To install Google Chrome you can go to http://www.google.com/chrome and click Download Google Chrome Button and follow the downloading procedure.
or
Applications -> Ubuntu Software Center and Search for "Google Chrome" and you will get Google Chromium Web Browser as search result. Click "Install" to automatically get installed.
2. Install VLC
VLC player is the most downloaded and most distributions supported Video and Audio Player. And VLC supports many video and audio formats.
To download and install, open the terminal and write:
sudo apt-get install vlc
If terminal ask for a password type the root password.
Note: When you write you will not see the password.
3. Adobe Flash Player
To view most web pages online you must install Adobe Flash Player. Google Chrome has it's own Adobe Flash Player and you don't need to install Adobe Flash Player if you only use Google Chrome. But for Mozilla Firefox and other browsers you must install Adobe Flash Player.
To install, type in termianl:
sudo apt-get install flashplugin-nonfree
4. Install MPlayer.
Yet, another advanced but very simple video and audio player.
sudo apt-get install mplayer
and
sudo apt-get install w32codecs libdvdcss2
5. Installing Unrar
sudo apt-get -y install unrar
To install Google Chrome you can go to http://www.google.com/chrome and click Download Google Chrome Button and follow the downloading procedure.
or
Applications -> Ubuntu Software Center and Search for "Google Chrome" and you will get Google Chromium Web Browser as search result. Click "Install" to automatically get installed.
2. Install VLC
VLC player is the most downloaded and most distributions supported Video and Audio Player. And VLC supports many video and audio formats.
To download and install, open the terminal and write:
sudo apt-get install vlc
If terminal ask for a password type the root password.
Note: When you write you will not see the password.
3. Adobe Flash Player
To view most web pages online you must install Adobe Flash Player. Google Chrome has it's own Adobe Flash Player and you don't need to install Adobe Flash Player if you only use Google Chrome. But for Mozilla Firefox and other browsers you must install Adobe Flash Player.
To install, type in termianl:
sudo apt-get install flashplugin-nonfree
4. Install MPlayer.
Yet, another advanced but very simple video and audio player.
sudo apt-get install mplayer
and
sudo apt-get install w32codecs libdvdcss2
5. Installing Unrar
sudo apt-get -y install unrar
Wednesday, February 16, 2011
Installing Django on UNIX/Linux and Mac OS X
Installation instructions for all UNIX and Linux systems are the same. You need to run the following commands in the directory where the Django-x.xx.tar.gz archive is located. These commands will extract the archive and install Django for you:
or in Debian Distributions,
You can test your installation by running this command:
$ tar xfz Django-x.xx.tar.gz $ cd Django-x.xx $ sudo python setup.py install
or in Debian Distributions,
$ sudo apt-get install python-django
You can test your installation by running this command:
$ django-admin.py --version
Subscribe to:
Posts (Atom)