LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2005, 08:19 AM   #1
navylinux
LQ Newbie
 
Registered: Nov 2005
Location: Manchester, UK
Distribution: Mandriva 2006: KDE 3.4
Posts: 6

Rep: Reputation: 0
Installing software in general.


I am new to Linux, but I learn kuickly.

I run Mandriva 2006, KDE 3.4. I know how to install RPMs - it is easy. But I do not know how to install applications that are not provided as RPM. Specifically, I have downloaded Mozilla Thunderbird from its website. I have unpacked it (it was tar.gz) and now I do not know what do to with those files, where to put them etc.
I know maybe I will have to use the terminal, but I have not used it yet. Please be very descriptive.

Thank you very much for supporting my interest in Linux, I do want to give it up, although beginnings are hard.
 
Old 11-07-2005, 08:32 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
From here it seems as if you don't need to do anything else after extracting. You can just open a terminal and change to the directory created by extracting the archive and then type "thunderbird" without the quotes:

$ cd thunderbird
$ thunderbird

Notes:

1. You do not need to type the $, that just shows you that you're at the prompt (if you were logged in as root, you'd see a # instead).

2. The directory you extracted the archive to may not be called thunderbird, use whatever is correct. When you open a terminal program, it will probably start in your home directory. If the "thunderbird" directory is not in there, you will need to specify the full path to it.

HTH.
 
Old 11-07-2005, 08:50 AM   #3
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Since you asked about installing software in general, the standard way to build from source is:
Code:
extract the files you downloaded (probably from a tarball form, *.tar.bz2 or *.tar.gz)
change to the directory you extracted them to
$ ./configure
$ make
$ su
# make install
Most (if not all) software you download will have a file called INSTALL (or, failing that, README) in the directory you extracted it to, which should contain the specific instructions for that program. But they'll almost certainly be the same as this, and if you can't find specific instructions, trying the above should work almost every time.
 
Old 11-07-2005, 12:54 PM   #4
navylinux
LQ Newbie
 
Registered: Nov 2005
Location: Manchester, UK
Distribution: Mandriva 2006: KDE 3.4
Posts: 6

Original Poster
Rep: Reputation: 0
Ok, I extracted, I run the Terminal, I got to the specific directory, then I typed ./configure but I got following report

bash: ./configure: No such file or directory


Can you help what to do now?




Quote:
Originally posted by Dtsazza
Since you asked about installing software in general, the standard way to build from source is:
Code:
extract the files you downloaded (probably from a tarball form, *.tar.bz2 or *.tar.gz)
change to the directory you extracted them to
$ ./configure
$ make
$ su
# make install
Most (if not all) software you download will have a file called INSTALL (or, failing that, README) in the directory you extracted it to, which should contain the specific instructions for that program. But they'll almost certainly be the same as this, and if you can't find specific instructions, trying the above should work almost every time.
 
Old 11-07-2005, 01:29 PM   #5
mammlouk
Member
 
Registered: May 2005
Location: Colorado
Distribution: Suse 10.0 OSS RC1
Posts: 100

Rep: Reputation: 15
Re-read what Nylex Posted int the first reply!!!


Quote:
Originally posted by Nylex
From here it seems as if you don't need to do anything else after extracting. You can just open a terminal and change to the directory created by extracting the archive and then type "thunderbird" without the quotes:

$ cd thunderbird
$ thunderbird

Notes:

1. You do not need to type the $, that just shows you that you're at the prompt (if you were logged in as root, you'd see a # instead).

2. The directory you extracted the archive to may not be called thunderbird, use whatever is correct. When you open a terminal program, it will probably start in your home directory. If the "thunderbird" directory is not in there, you will need to specify the full path to it.

HTH.
 
Old 11-07-2005, 01:39 PM   #6
navylinux
LQ Newbie
 
Registered: Nov 2005
Location: Manchester, UK
Distribution: Mandriva 2006: KDE 3.4
Posts: 6

Original Poster
Rep: Reputation: 0
I tried to type thunderbird in the Terminal and got following:

bash: thunderbird: command not found

(I am sure I am in the correct directory because if I type "dir" I can see the "thunderbird" file being listed)


still at a loss, appreciate your help



Quote:
Originally posted by mammlouk
Re-read what Nylex Posted int the first reply!!!
 
Old 11-07-2005, 04:07 PM   #7
mammlouk
Member
 
Registered: May 2005
Location: Colorado
Distribution: Suse 10.0 OSS RC1
Posts: 100

Rep: Reputation: 15
try typing ./thunderbird
 
Old 11-07-2005, 05:27 PM   #8
jmr71769
Member
 
Registered: Jun 2003
Location: East Coast, USA
Distribution: Gentoo, Debian, Slack, FreeBSD
Posts: 82

Rep: Reputation: 15
Quote:
Originally posted by navylinux
I tried to type thunderbird in the Terminal and got following:

bash: thunderbird: command not found

(I am sure I am in the correct directory because if I type "dir" I can see the "thunderbird" file being listed)


still at a loss, appreciate your help
[user@box~]$ cd /usr/local/src
[user@box:/usr/local/src]$ tar -zxvf (or tar -jxvf if a .bz2) /directory/where/you/downloaded/thunderbird-version-xxx.tar.gz
[user@box:/usr/local/src]$ cd thunderbird-version-xxx
[user@box:/usr/local/src]$ ./configure
[user@box:/usr/local/src]$ make
[user@box:/usr/local/src]$ su (enter root password)
[root@box:/usr/local/src]$ make install
*** go make a few cups of coffee or even dinner while you wait for the compile to finish ***
[root@box:/usr/local/src]$ exit
[user@box:/usr/local/src]$ cd
[user@box~]$ which thunderbird
[user@box~]$ thunderbird &

Sometimes, when you try to run a program, it will differ from the tarball name, so if, at the command prompt you try:

[user@box~]$ thunderbird-version-xxx <ENTER>

most likely, it won't work. Most of the time, the program will just use the generic name - such as thunderbird.

Good luck.

:-)

Last edited by jmr71769; 11-07-2005 at 05:30 PM.
 
Old 01-12-2006, 08:34 AM   #9
wattaheadache
Member
 
Registered: Nov 2005
Location: Pennsylvania, USA
Distribution: Suse 10 Kernel 2.6.13-15 KDE 3.4
Posts: 42

Rep: Reputation: 15
Angry Can not install either

Hello.

I also am trying to install Thunderbird 1.5 and after cd-ing into the thunderbird folder ./configure does not work. It will tell me

bash: ./configure: No such file or directory

typing ./thunderbird will bring up and run the Thunderbird program, but it does not INSTALL it.

The READ ME file only directs me to the release notes on the Thunderbird website: http://www.mozilla.com/thunderbird/releases/1.5.html

They are not at all helpful.

So, if ./thunderbird does not install it, and ./configure (or make, or make install, etc) does not work, what now??
 
Old 01-12-2006, 09:24 AM   #10
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Looking at the Thunderbird web-site, Installing section, it appears that this program does not need to be compiled. It seems that they supply it as binary-only, with a whole bunch of libraries and other components... and that all you do is to run the program, whereever you installed it.

I agree that the Linux "instructions" on their site are virtually non-existent, and that they definitely deserve to be creamed for this.

Note that, on Linux, when you want to execute a program in the current directory, you must precede it with "./"! This is by design. Unlike MS-DOS, Bash will not assume that, if there happens to be a program with such-and-such a name in your current directory, that's the one you want to run.
 
Old 01-12-2006, 10:57 AM   #11
Dorax
LQ Newbie
 
Registered: Oct 2005
Location: Belgium
Distribution: OpenSuse
Posts: 23

Rep: Reputation: 1
Hellow,

Since thunderbird is a graphical application you may want to try 'clicking' thunderbird in konqueror or any other kind of explorer.
When I installed firefox, I created a link on the desktop that points to yourdir/firefox-installer/firefox

That works perfectly without configuring or making.

Hope it does the trick for you to.

Greetings
 
Old 01-12-2006, 01:21 PM   #12
wattaheadache
Member
 
Registered: Nov 2005
Location: Pennsylvania, USA
Distribution: Suse 10 Kernel 2.6.13-15 KDE 3.4
Posts: 42

Rep: Reputation: 15
So you don't 'install' it?

OK. So what you are saying is that you don't INSTALL Firefox, you just run it from wherever you downloaded it to?

How do you integrate it as far as the applications menu goes?

It did download to my desktop, but that is not exactly a tidy place to keep. Being still pretty new to Linux, where would be a 'normal' place to move this to?
 
Old 01-12-2006, 01:52 PM   #13
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally Posted by wattaheadache
OK. So what you are saying is that you don't INSTALL Firefox, you just run it from wherever you downloaded it to?

How do you integrate it as far as the applications menu goes?

It did download to my desktop, but that is not exactly a tidy place to keep. Being still pretty new to Linux, where would be a 'normal' place to move this to?
Untar it. Move the directory somewhere useful and global (e.g. /usr/share/thunderbird).

Then create a symlink from /usr/bin to the executable so that anyone can use it:

Code:
ln -s /usr/share/thunderbird/thunderbird /usr/bin
now anyone can type 'thunderbird' to run it, or you can create a desktop icon.
 
Old 01-12-2006, 02:02 PM   #14
wattaheadache
Member
 
Registered: Nov 2005
Location: Pennsylvania, USA
Distribution: Suse 10 Kernel 2.6.13-15 KDE 3.4
Posts: 42

Rep: Reputation: 15
Question

I followed you until:

"Then create a symlink from /usr/bin to the executable so that anyone can use it..."

Like I said, I am relatively new to Linux, I am learning fast, but I haven't created a symlink yet. Not even sure what that is.

Thanks.
 
Old 01-12-2006, 02:17 PM   #15
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by wattaheadache
I followed you until:

"Then create a symlink from /usr/bin to the executable so that anyone can use it..."

Like I said, I am relatively new to Linux, I am learning fast, but I haven't created a symlink yet. Not even sure what that is.

Thanks.
It's like a shortcut, Komakino even gave you the command to create one.
 
  


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
kviewer, and general software question BlackBishop Linux - Software 0 12-17-2004 08:24 PM
Very General Software Installation Question Rawr101 Linux - Software 2 10-13-2004 09:37 PM
compiling software, issues in general tcg23 Linux - Software 1 12-31-2003 10:28 AM
A few general software q's fuelinjection Linux - Software 1 12-11-2003 05:40 AM
General Software Question teenole Linux - Software 6 06-06-2003 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:43 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