LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2016, 02:21 AM   #1
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Rep: Reputation: Disabled
How to Install Things


This might seem like a really dumb question, but for example, I want to use the .np extension in python, which is apparently part of python numpy? So I type...

chris@chris-crunch:~$ wget https://github.com/numpy/numpy.git
--2016-02-04 08:17:42-- https://github.com/numpy/numpy.git
Resolving github.com (github.com)... 192.30.252.129
Connecting to github.com (github.com)|192.30.252.129|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/numpy/numpy [following]
--2016-02-04 08:17:43-- https://github.com/numpy/numpy
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘numpy.git’


Now what?
 
Old 02-04-2016, 04:07 AM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by chris_crunch View Post
Now what?
Hi...

It's not a dumb question at all. It appears that, from what you posted, the file is not getting downloaded. I ran the same command and saw this...

Code:
aaron@aaron:~$ wget https://github.com/numpy/numpy.git
--2016-02-04 01:55:32--  https://github.com/numpy/numpy.git
Resolving github.com (github.com)... 192.30.252.131
Connecting to github.com (github.com)|192.30.252.131|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/numpy/numpy [following]
--2016-02-04 01:55:33--  https://github.com/numpy/numpy
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: numpy.git

    [      <=>                              ] 144,899      118KB/s   in 1.2s   

2016-02-04 01:55:35 (118 KB/s) - numpy.git saved [144899]
As to where "numpy.git" is actually located, I will have to search for it and report back. Try it again and see what happens. If nothing else you can always download one of the tarballs here.

Regards...

Last edited by ardvark71; 02-04-2016 at 04:14 AM. Reason: Changed information.
 
Old 02-04-2016, 04:12 AM   #3
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi Chris...

I found it, it was placed in my home folder, in my case: "/home/aaron."

Regards...
 
Old 02-04-2016, 04:15 AM   #4
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Original Poster
Rep: Reputation: Disabled
Thanks for the advice. To install programs in general, in linux...

What's the general procedure? I'm using wget <copied link from url>

but are there better ways?
 
Old 02-04-2016, 04:17 AM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
What distribution and version of Linux are you using?

Regards...
 
Old 02-04-2016, 04:23 AM   #6
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Original Poster
Rep: Reputation: Disabled
Xubuntu 14.04, I think.

I just added it to my sig, because I can tell I'll be around these forums a lot haha
 
Old 02-04-2016, 04:37 AM   #7
NGIB
Member
 
Registered: Sep 2013
Location: Sumter SC, USA
Distribution: MX, Lubuntu
Posts: 449

Rep: Reputation: Disabled
Install stuff from your distro's repositories using the package manager.

Xubuntu may use the Software Center (which I hate) but you can install Synaptic or use apt-get from the command line. I guarantee that python-numpy is in the repos...

Last edited by NGIB; 02-04-2016 at 04:40 AM.
 
Old 02-04-2016, 04:51 AM   #8
amilo
Member
 
Registered: Oct 2011
Location: Nederland
Distribution: Debian, Centos, Ubuntu
Posts: 81

Rep: Reputation: Disabled
google for xubuntu.org and GNU/linux
 
Old 02-04-2016, 05:05 AM   #9
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Original Poster
Rep: Reputation: Disabled
What I tried:

chris@chris-crunch:~$ apt-get numpy
E: Invalid operation numpy
chris@chris-crunch:~$ sudo apt-get install numpy
[sudo] password for chris:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package numpy
chris@chris-crunch:~$

???
 
Old 02-04-2016, 05:08 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,792

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
numpy.git is a directory, not a file to download. use git clone to clone a git repo.
use apt-get install python-numpy to install it
 
1 members found this post helpful.
Old 02-04-2016, 05:16 AM   #11
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
numpy.git is a directory, not a file to download. use git clone to clone a git repo.
use apt-get install python-numpy to install it
How did you know to install NumPy, it was the code 'python-numpy' ?
 
Old 02-04-2016, 05:19 AM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,792

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
usually the python modules have the name: python-<module>.
If you think your problem is solved please mark the thread solved.
 
Old 02-04-2016, 05:24 AM   #13
NGIB
Member
 
Registered: Sep 2013
Location: Sumter SC, USA
Distribution: MX, Lubuntu
Posts: 449

Rep: Reputation: Disabled
Install Synaptic. When you think you want something, fire up Synaptic and type in the search box. If you typed in "numpy" it will show all packages with "numpy" in the name - then you can highlight each one and read the descriptions.

You need to take some time and read up on Linux in general and package management.

Installing stuff from outside the repos, especially for a newbie, is a great way to break your system quickly...

Last edited by NGIB; 02-04-2016 at 05:41 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install things idk5293 SUSE / openSUSE 1 09-08-2005 03:42 PM
where do things install to? invinciblegod Linux - Software 3 07-18-2005 12:00 AM
how do you install things? omfwtfbbq Linux - Newbie 2 04-12-2005 01:08 AM
first few things to do after install? ucfitkid Linux - Newbie 2 02-03-2004 07:32 PM
Can't get things to install ByeOss Linux - Newbie 12 06-24-2003 03:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration