LinuxQuestions.org
Review your favorite Linux distribution.
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 04-11-2007, 02:46 AM   #1
MikRose
Member
 
Registered: Mar 2006
Location: Arizona
Distribution: Linux Lucid 10.04
Posts: 83

Rep: Reputation: 15
Simple software installation help


I am gradually shifting to Linux (Dapper) from XP and still a little confused. I can't seem to understand how to install something once I download it...at least some of the time! I can get applications in the Package Manager and that seems to go well, but if I install something from a download site it gets confusing. For instance...ClamAV antivirus program: after downloading, I have this file: clamav-0.90.1.tar.gz
If I open that file there are about 20 other files in that, but I can't ever figure out what is the "exe" file that will install it, as in XP. I've read about the commands for "apt-get" but not very comfortable or clear on my terminal command usage yet. Could someone help me with a baby step so I can get past this mental block? Thanks.
 
Old 04-11-2007, 03:13 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
You probably downloaded no compiled (binary) program but the source code of it. See this thread on how to compile sources: http://www.linuxquestions.org/linux/...ms_from_Source

You might be interested in checkinstall, too. With it you can create packages for some various formats (tgz, deb, rpm) so that you can add your package with your distro's package manager (and in most cases remove it cleanly if you don't need it anymore).
 
Old 04-11-2007, 03:14 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
You should avoid installing applications from source, source packages most often end with (tar.gz). Your distribution probably has clamav from repositories that are customized for your Drapper. They end with the extension (.deb). You can view all packages that are on the CD/DVD by opening a GUI software installer/updater/remover called Synaptic via the main menu/system. Look for the clamav package after highlighting "All" on the left after selecting "Status" at bottom left.
Then you will have to set up your apt sources.list which is basically a bunch of software repository web addresses that give you access to a much more broad selection of software. But till you have that set up, try and avoid installing "tar.gz" packages.
Linux is not affected by the virus things that are designed for Windows, but if you access your Windows partition/installation from Drapper, it is wise to install an anti-virus. I'll look for the right web link to help you set up your sources.list and report back. For now you can brush up on it by checking out the link below, you will need to learn this.

http://www.debian.org/doc/manuals/apt-howto/
 
Old 04-11-2007, 03:19 AM   #4
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
newbie to newbie ::

the one that you downloaded is the source package which means you need to compile the program(which is clamav in your case) ... normally(most of the time) you will see file by the name of "configure" after you unpack the the package with file extension of "tar.gz" ...

usually you all need to do is to just execute the commands './configure' , 'make' and 'make install' in a row but you need to read some documents like "FAQ" , "INSTALL" , "NEWS" , "README" and "UPGRADE" inside the directory where you have unpacked the package ...


or you can also try executing this command in your terminal 'apt-get install clamav' ...

or you can try going here first ::
http://packages.ubuntu.com/cgi-bin/s...gy&release=all



//just get a good printed book specifically about ubuntu published by orielly ... they will show you what linux is ...


.

Last edited by alred; 04-11-2007 at 03:23 AM.
 
Old 04-11-2007, 03:58 AM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Glad you posted alred

Just about forgot I was going to drop a couple good links to help this person install Ubuntu packages instead of source.

http://www.ubuntu-nl.org/source-o-matic/

http://ubuntuforums.org/showthread.php?t=185758

Once you have your sources.list setup nice, all you do is issue command: sudo apt-get update
And after the terminal prompt comes back ( after some time), you look in Synaptic and there will be thousands of custom Ubuntu packages that install clean, and uninstall clean. Not like Windows where there is a lot of stuff left behind to slow it down after many installs and uninstalls.
 
Old 04-11-2007, 10:50 AM   #6
MikRose
Member
 
Registered: Mar 2006
Location: Arizona
Distribution: Linux Lucid 10.04
Posts: 83

Original Poster
Rep: Reputation: 15
Simple software installation help

Thank you all very much, can't wait to follow up on your suggestions! I WILL report back...
 
Old 04-19-2007, 06:05 PM   #7
MikRose
Member
 
Registered: Mar 2006
Location: Arizona
Distribution: Linux Lucid 10.04
Posts: 83

Original Poster
Rep: Reputation: 15
I'm on vacation, be back soon.
 
Old 05-08-2007, 10:28 AM   #8
MikRose
Member
 
Registered: Mar 2006
Location: Arizona
Distribution: Linux Lucid 10.04
Posts: 83

Original Poster
Rep: Reputation: 15
I'm back but now have another problem before I get back to the "Simple Software Installation" issue!! For some reasons (too numerous to mention) I can't access the Linux drive. Here is what I did...XP Home on hd0, Linux 6.06 on hd1, grub installed on hd0 and I could pick my OS on startup. I wanted to clean up hd0, degrag it, then make a good backup before I committed full time to Linux. In the process, I used a registry cleaner I've used many times but did too good of a job! I ended up doing a clean install of XP Home on hd0 (I did have most of the important personal files on Linux already so no big loss). I was unable to access Help and Support, System Restore, and many other normal diagnostic/repair utilities so it was nice to clean out the mess from XP and start over. However, I can't figure out how to reinstall the grub on the first HD. The posts I've read and information I have in my Linux book are not helping my peanut brain. It seems like I use the Dapper CD and when it asks me where to install the grub, I should say on hd0, but I am hesitant about the process because I don't want to overwrite anything. If I just stop at that point, and eject the CD and restart, will the grub be on the first HD, or do I have to follow through further? I want to end up with Linux being the OS that starts when I turn on the computer (after waiting 10 seconds for me to make a choice). Until I tickled the registry, I had it set up this way and it would go to Linux, use the external modem to get on-line and away I'd go. I can't quite work out the instructions I've found on this site or others, a little help please!
 
Old 05-08-2007, 10:45 AM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,012

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
It seems like I use the Dapper CD and when it asks me where to install the grub, I should say on hd0, but I am hesitant about the process because I don't want to overwrite anything.
But you have to overwrite something: grub needs to be on the MBR! So the windows bootloader that is on the MBR must be overwritten.
The reason you can't get back to linux is that XP took over the MBR when you reinstalled. Linux is still happily on its own partition though, you just need to reinstall grub to be able to use it.

So, follow the instructions you have to reinstall grub on the MBR. It won't hurt windows, but you may not be offered windows as a choice the first time you boot with grub. Do not panic if this happens, you'll just need to make an entry in your grub menu.lst that points to your windows partition (and there are plenty of posts on how to do this!).

Good luck.
 
Old 05-08-2007, 11:47 AM   #10
MikRose
Member
 
Registered: Mar 2006
Location: Arizona
Distribution: Linux Lucid 10.04
Posts: 83

Original Poster
Rep: Reputation: 15
OK, I knew the mbr was overwritten, and Linux still on hd1. I'll proceed as you said with confidence! Just for the heck of it, what would happen if I disconnected hd0 and booted to hd1 with the Dapper CD in? I'll let you know how your suggestion works in a bit. Thx
 
Old 05-08-2007, 12:01 PM   #11
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,012

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
what would happen if I disconnected hd0 and booted to hd1 with the Dapper CD in?
You'll have to switch the linux drive so it is now "Master". Then you could install grub on it (on the MBR), and be happy booting linux.

You could then put the windows as your slave drive, and there's an option in grub to fool windows into thinking that it is the master drive, when in fact, it is not.
I think it goes like this :

map (hd0) (hd1)
map (hd1) (hd0)


But you'll find the answer yourself if you google for something like
XP grub boot map (hd0)

Many people have had this problem before!
 
Old 05-08-2007, 04:18 PM   #12
MikRose
Member
 
Registered: Mar 2006
Location: Arizona
Distribution: Linux Lucid 10.04
Posts: 83

Original Poster
Rep: Reputation: 15
Simple Software Install

I decided to give XP the boot and installed Linux on the first hard drive and be done with it. Now I have Linux 6.06 on each hard drive and have to figure out how to mount the second drive so I can transfer files. I can find mounting a drive that has NTSF or FAT 32 on it, but still looking for EXT3. I'll get the hand of this yet now that I'm 100% Linux!!
 
Old 05-09-2007, 05:25 AM   #13
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,012

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Your second drive is probably /dev/hdb1.
You can find out details with the following commands :
sudo fdisk -l and mount
Once you know which partition your old linux is on, create a mountpoint for it:
sudo mkdir /mnt/oldlinux
Now mount the drive
mount -t ext3 /dev/hdxy /mnt/oldlinux
Where x is either a or b and y is the partition number.

Now you can see your files, and copy them over.
You may have to do this as root, and their ownerships & groups may also need to be changed if your newest installation has a different UserID for your username. See man chown
 
Old 05-09-2007, 05:58 AM   #14
inspiron_Droid
Member
 
Registered: Dec 2006
Distribution: Debian (Wheeze)
Posts: 391

Rep: Reputation: Disabled
MikROSE

As far as mounting a NTFS or fat 32 valume in linux you can mount the drive but you will only be able to reade from it. So i'd suggest that you monut the drive with the sequence of commands that tredegar recommended except insteade of using the mountpoin old linux use the mount point /winfiles ofcourse remebering that the second hardrive on the primary ata controller is listed as /dev/hdb so the first partioti of your second eide hdd is /dev/hdb1.

Then once you have your second drive mounted I suggest that you back up you files off that partition and reformatit to etention 3 aka native linux.
 
Old 05-10-2007, 03:15 PM   #15
MikRose
Member
 
Registered: Mar 2006
Location: Arizona
Distribution: Linux Lucid 10.04
Posts: 83

Original Poster
Rep: Reputation: 15
Simple Software Install

OK, I'm getting somewhere! I did complete the commands and was successful until I got to the requirement of being "root" like you said. Your steps were clear and easy to understand, thank you. Now for trying to change change permissions, I've tried that before and wasn't as successful.

PS The second hard drive has only Linux loaded on it for the OS, but I might have saved some documents on it somewhere from XP. I assume that won't be a problem... Thanks to you both!!
 
  


Reply

Tags
grub, install


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
simple 3d software library for python sajjadc Programming 2 08-12-2006 10:21 AM
Need simple partitioning software for ntfs sc123 Linux - Software 4 02-06-2006 11:47 AM
Installation Software for Custom Developed Java/Perl Software donkey123 Linux - Software 0 06-15-2005 05:26 PM
Simple checkbook software for Slackware? wh31 Slackware 7 12-17-2003 06:18 PM
Simple Image Editing Software?? mike975 Linux - Newbie 4 09-15-2003 04:02 AM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration