Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-07-2013, 12:34 AM   #1
LQ Newbie
Registered: Aug 2013
Location: San Fran
Posts: 21

Rep: Reputation: Disabled
(noob-stock) trying to install github native app



install Git on Linux using the preferred package manager of your Linux distribution.

$ apt-get install git

I presume I should put the $ asdadf text into a command line from terminal maybe? Any thoughts/hints?

cheers -RB
Old 09-07-2013, 12:54 AM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Sorry but what does "$ asdadf" mean? The Debian/Ubuntu instructions are incorrect. You must run the apt-get command as root or using sudo.
Old 09-07-2013, 01:04 PM   #3
LQ Newbie
Registered: Aug 2013
Location: San Fran
Posts: 21

Original Poster
Rep: Reputation: Disabled
tks jdkaye; the garbled text I put in <$ asdadf> was just a placeholder of the text above from the git-scm download instructions for linux (aka <$ apt-get install git>)

Can you recommend a tutorial or user guide? I have no idea what "You must run the apt-get command as root or using sudo." means, I presume I need to do command line stuff in the terminal?

cheers -kt
Old 09-07-2013, 05:09 PM   #4
Registered: Feb 2008
Location: Armidale, NSW, Australia
Distribution: Fedora 8
Posts: 32

Rep: Reputation: 6
Hi RedBullion

You are correct; you need to execute the command at a command prompt.

In the instructions you have, the $ character represents the command prompt, so don't type it in.

As jdkaye said, you need to run the command as root or using sudo. That means that your normal user account does not have sufficient priveleges to run the command. In Linux, the root user is the super-user and can therefore run this command, but if you're logged in as your normal user you can still run the command by escalating your priveleges with sudo:

sudo apt-get install git

This will prompt for your user's password.

Basically, 'apt-get install git' says that the program called apt-get should install git, but by putting sudo in front of it you're running that command as a superuser.

You can think of sudo as Linux's version of the Windows' "Run as administrator" feature.


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
Possible to search stock slackware packages for particular app type? clifford227 Slackware 5 10-08-2012 10:01 PM
LXer: Where native Linux app development stands LXer Syndicated Linux News 0 11-05-2011 08:00 AM
gcc broken in stock install?? dombrowsky Linux - Software 2 05-22-2007 03:05 AM
Upgrading stock 2.4.22 kernel to 2.5.x then to 2.6.6 with existing stock .config file Kyl3 Slackware 8 06-09-2004 06:34 PM
Alsa 1.0.4 on stock install porblem Dullin Slackware 14 05-09-2004 10:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration