Ubuntu 7.10 how do you install GCC v3.4.6 compiler and use it
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ubuntu 7.10 how do you install GCC v3.4.6 compiler and use it
Have down loaded GCC v3.4.6 compiler .First is it needed to install tar packages etc into Ubuntu 7.10. or is there a program - method all ready in Ubuntu.
The program is now on a usb stick ready to go on Ubuntu
A step by step guide would be helpfull on installing
gcc v3.4.6 is pretty old I think, the current version is 4.2 if I'm not mistaken. Anyways, you should get the .deb to install gcc, it will be alot easier
get the .deb for it here http://packages.ubuntu.com/ you just need to double click on it in ubuntu to install it
You can install gcc using your package manager (Adept or Synaptic).
How to use it? SW is typically compiled using Makefiles and the "make" command. If you don't have that, then you would just use "gcc filename". Look at "man gcc" for mor details.
Are you trying to install software? If so, the recommended way is to sudo apt-get install <package-name> or do an sudo aptitude (command-line gui available).
Pixallany is right, you can set the USB stick or a CD to be a repository source in your sources file or from the gui and the apt-get or aptitude will use those sources if you don't have an iternet connection.
This is a lot of work to install a outdated compiler. Is there a reason you just don't install a newer version of GCC or do a sudo apt-get install build-essential ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.