[Webinar] Streamline your web hosting managementRegister Today


URGENT!! I need to  to extract this file "gcc-core-3.4.2.tar.bz2"

Posted on 2004-11-01
Medium Priority
Last Modified: 2013-11-22
Hi experts,
I need to  to extract this file "gcc-core-3.4.2.tar.bz2" .  Its the total GNU package that contains all the compilers.
This contains gcj,  the gnu java compiler.
What command do i need to do so exactly. The o/s is FreeBSD.


Question by:parvinderg

Expert Comment

ID: 12467067
bzip2 -d gcc-core-3.4.2.tar.bz2
tar -xvf gcc-core-3.4.2.tar
LVL 38

Accepted Solution

yuzh earned 500 total points
ID: 12469876
If you have bzip2 installed (/usr/ports/archivers/bzip2), and you issue this command:

tar yxf gcc-core-3.4.2.tar.bz2

Assisted Solution

hvdhelm earned 500 total points
ID: 12483942
In standard FreeBSD configuration:

tar -jxvf gcc-core-3.4.2.tar.bz2

Read: man tar
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

LVL 62

Expert Comment

ID: 12492324
Maybe try /usr/ports/lang/gcc34 instead, this will register your gcj in proper manner with FreeBSD system

Assisted Solution

nochkin earned 500 total points
ID: 12528912
I would recommend to install gcc from ports. This way it will compile and install all needed patches for your system.
1. /stand/sysinstall and then find "install packages" and install "ports" from there.
2. When you have installed ports package, you can update them:
cvsup -g -L 2 -h cvsup2.freebsd.org /usr/share/examples/cvsup/ports-update
cvsup will connect to cvsup2.freebsd.org and update your ports to be up-to-date.
3. cd /usr/ports/lang/gcc (choose your gcc version here)
4. type "make"
5. type "make install"


When you need to install any other package in the future then you will need to do steps 3-5 only. If you want to make sure that you have latest ports references then you have to run step 2 only.
LVL 62

Assisted Solution

gheist earned 500 total points
ID: 12536271
and install net/cvsup-without-gui from sysinstall to get this commands working

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question