Announcement

Collapse
No announcement yet.

Help for linux beginner

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help for linux beginner

    Hi everyone i'm new in unix and linux and stuff.

    While reading a linux book, i learned about gcc. I think i don't have it in my Linux Mandrake package. Can anyone please tell me how to check if i have it, and where can i download it/install it on my system? Thanks for helping me.

  • #2
    Originally posted by mAsTeRoFpUppEtS
    Hi everyone i'm new in unix and linux and stuff.

    While reading a linux book, i learned about gcc. I think i don't have it in my Linux Mandrake package. Can anyone please tell me how to check if i have it, and where can i download it/install it on my system? Thanks for helping me.
    If you have a normal path then the which command can be used to display the path:

    # which gcc
    /usr/bin/gcc


    If you don't have a normal path variable or if you think gcc might have been installed in a non-standard place use find or whereis:

    # find / -name gcc -print
    /usr/bin/gcc
    /usr/doc/gcc-3.2.3/gcc
    /usr/src/linux-2.4.24/include/asm-mips64/gcc
    /usr/src/linux-2.4.24/include/asm-mips/gcc

    # whereis gcc
    gcc: /usr/bin/gcc /usr/man/man1/gcc.1.gz /usr/share/man/man1/gcc.1.gz


    If you aren't root when running find you will get a shitload of Permission denied returns on this.


    I would suggest that you run the following commands as well:

    # man which
    # man whereis
    # man find

    so that you can learn to use these commands, not just parrot some commands that you don't understand.


    If you don't have it and want to download it try these resources:

    www.mandrakesoft.com/
    www.google.com

    And use "download gcc mandrake linux" for your search string. I am feeling benevolent, but I don't feel like doing all your work for you.
    perl -e 'print pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'

    Comment


    • #3
      http://rpmfind.net/ is handy as well...
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B0
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B1
      [ redacted ]

      Comment


      • #4
        on a similar note, apt-get is an awesome way to install packages, as well. google it.

        Comment


        • #5
          speaking of apt get...

          and since you run mandrake and don't know if you have gcc, i'll assume a) you don't know what or how to use apt-get, or how to use it's varient for rpm's. inconclusion, ignore the last comment from the tard.
          "I'm not a robot like you. I don't like having disks crammed into me... unless they're Oreos, and then only in the mouth."

          Comment


          • #6
            Well, you could use the 'man' command
            ex: man gcc
            and then it will bring up the manual pages IF it's already installed
            thats my two cents
            -enCode
            The only stupid question is the one that you dont ask.
            Or the one that ends up in dev/null.

            Comment


            • #7
              Originally posted by enCode
              Well, you could use the 'man' command
              ex: man gcc
              and then it will bring up the manual pages IF it's already installed
              Not necessarily. man pages can be installed independently of a given binary - so while he may have the man pages for gcc installed, that doesn't automatically mean that gcc itself is installed.

              Comment


              • #8
                Lindows

                On a related note, but seperate issue.....


                I would like to know what peoples veiws are on the LINDOWS version of Linux. Has anyone used it? And what are your opinions of it?

                Comment


                • #9
                  Originally posted by hazzrdd1
                  I would like to know what peoples veiws are on the LINDOWS version of Linux. Has anyone used it? And what are your opinions of it?
                  Hooray for everything running uid 0
                  45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B0
                  45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B1
                  [ redacted ]

                  Comment


                  • #10
                    Originally posted by bascule
                    Hooray for everything running uid 0
                    Yeah, but it's no fun to root a single-user box ;)

                    Comment


                    • #11
                      Originally posted by hazzrdd1
                      On a related note, but seperate issue.....


                      I would like to know what peoples veiws are on the LINDOWS version of Linux. Has anyone used it? And what are your opinions of it?
                      Run on a search for "Lindows". It has been discussed before.

                      Comment


                      • #12
                        I played with several of the Beta's a while back. At the time it was a bit buggy and unstable, however, it has some great potential to narrow the windows/Linux gap. The average non-power user does not want to deal with the steep learning curve learning a new OS. It was laid out almost exactly like a windows box. We had one of our non-technical people (secretary) try using it and she was able to use it without much trouble. I really like the “click and run” (CNR) feature. I hear it is extremely stable now; it’s worth checking out in my opinion.

                        -RiVeRSiDE
                        Encrypt, or you'll regret it in the end.

                        Comment


                        • #13
                          Originally posted by hazzrdd1
                          On a related note, but seperate issue.....


                          I would like to know what peoples veiws are on the LINDOWS version of Linux. Has anyone used it? And what are your opinions of it?
                          Its a sluggish product at best and seems to have alot of issues when getting into multiple applications running (usually this is not a issue on some of the below mentioned releases of linux). I ran the last release in a test environment (I admit not on the best computer but a moderate model) and didn't care of it too much. If you are just starting I would suggest Mandrake or SuSe or Redhat as these are good distros with alot of user friendly tools and great documentation on their sites.
                          Define Trouble:
                          ---------------------
                          100 users standing up from their cubes asking their neighbors, "Is the internet working for you?"...

                          Comment


                          • #14
                            Maybe I am missing something in regards to Lindows, so perhaps someone could explain.

                            If you want a Windows appearance, the ability to run Windows progs, ease of use that you get with Windows...why not just run Windows?
                            perl -e 'print pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'

                            Comment


                            • #15
                              Originally posted by Chris
                              Maybe I am missing something in regards to Lindows, so perhaps someone could explain.

                              If you want a Windows appearance, the ability to run Windows progs, ease of use that you get with Windows...why not just run Windows?
                              I agree but its nice to see someone at least try Linux instead of the same ole windows (although a better distrobution could have been used in this case)...
                              Define Trouble:
                              ---------------------
                              100 users standing up from their cubes asking their neighbors, "Is the internet working for you?"...

                              Comment

                              Working...
                              X