LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-06-2006, 03:36 PM   #1
123456
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Rep: Reputation: 0
How to install


I just started out with linux, and I managed to get the latest Slackware installed, with a recent kernel.

I need to install GCC, the newest version to be able to install Ndiswrapper, and hopefully get my network adapter working.

I have no idea where to start but would appreciate it if someone could point me in the right direction in installing the new GCC, I uninstalled the old one already and I've downloaded the .tar.bz2 files I found on the GNU website.
 
Old 06-06-2006, 03:42 PM   #2
jeelliso
Member
 
Registered: Oct 2005
Location: Knoxville, Tn (USA)
Distribution: OpenSUSE, Ubuntu
Posts: 250

Rep: Reputation: 30
Use bunzip2 to unzip the file, which will leave you with a .tar file. Then use tar -xvf to untar the remaining .tar file. Inside the newly created directory you will find either an INSTALL file or a README file. These files will explain how to install it.

You might want to consider using the Slackware software installer instead. You can get them precompiled and installed pretty much automatically. See this article from the Slackbook for more information.

Good Luck,
~Justin
 
Old 06-06-2006, 04:09 PM   #3
123456
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Nothing happens when I use bunzip.

The cursor went to the left side like the machine was doing work, but it just stays like that and nothing happens, I let it alone so maybe it's just hanging up, but what else can I do if I can't get that to work?

I'm going to look into the installer.
 
Old 06-06-2006, 04:31 PM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Hi

You will want to become familiar with the following site:

http://www.linuxpackages.net/

This is where you can get Slackware packages ready to install using, as root:

installpkg nameofpackage.tgz

This will easily install Slackware packages. To install from source (the tar.bz2 file you downloaded) use:

tar -jxvf nameofpackage.tar.bz2

This will uncompress the package. Ususally (read the README file), you simply then change directory into the directory that was just created (name of program),
type:
./configure

Then, as root, type:

make

make install

Keep in mind it is much easier to use installpkg in Slackware and most of the packages you will need for Slackware can be found at the above site.

Hope this helps

Bob
 
Old 06-06-2006, 05:39 PM   #5
123456
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Does that site have GCC? I can't find it.

I got it to extract the gcc-4.1.1 file.

I get this error, with ./configure.

root@darkstar:/gcc-4.1.1# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
root@darkstar:/gcc-4.1.1#
 
  


Reply


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
Make Install xmms-plugin install fail - deb sarge Khepri Linux - Software 2 02-18-2006 10:05 PM
SuSE 9 Install Freezes when swapping CDs during VMWare based Install barkout SUSE / openSUSE 2 02-09-2006 07:36 AM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 01:29 AM
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 06:40 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM

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

All times are GMT -5. The time now is 09:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration