CentOS 5 :: Installing Gcc On 5.4 - Error: Sudo: Apt-get: Command Not Found
Oct 21, 2010
I am looking for gcc installation in CentOS 5.4. I cannot use yum install since not connected to internet. I tried to do sudo apt-get install build-essential but received the following error: sudo: apt-get: command not found How to install gcc in my Linix machine?
so i was removing softwares using ubuntu software center.. games i don't play and cheese webcam booth because it was not working, i intended to re-install it. after my installation, half my icons (i have extensively personalized my desktop) changed to defaults. The themes page said 'theme will not be as it appears because default.kde is not installed'. i did not remove any such package. just games. and furthermore, i installed a kubuntu plasma desktop system which i read in a thread contains the file default.kde but that hasn't helped and i still don't know what do to..
I have a guy in my office who was using an old version of ubuntu and he tried upgrading to 10 but now he's getting grub error 17. I Google this and everyone suggests reinstalling grub starting with opening a shell and typing 'sudo grub'.
However, I get 'command not found' in response to that. I've tried looking for the location of grub so I could try 'sudo /sbin/grub' and such, but I don't see it anywhere.
Also, I'm using a version 9.10 Live CD at the moment because I can't find out how to disable the drmraid option on the version 10 CD (necessary to detect the hard drives which, although they are on a raid controller are not configured as an array but separate drives).
I try to run a command located in /sbin or /usr/sbin using sudo, like "sudo ifconfig" or "sudo tail -f /var/log/messages", it comes back with "command not found". If I perform a "sudo -i" and drop to a root shell that way, the commands work fine. My sudoers file is as follows:
I've just installed Debian on my old iMac G3. The install seemed to go ok but failed to load to the GUI. Thats ok I'll just enter some lines into the xorg.conf and it will be fine, or so I thought. Now at the shell prompt when I type in any sudo command it says: "sudo command not found" Is there an alternate command I can use in this situation.
When trying to open nautilus as root, I get the following message:
xxx@xxx-desktop:~$ sudo nautillus [sudo] password for xxx: sudo: nautilus: command not found xxx@xxx-desktop:~$ sudo nautilus (nautilus:3917): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 'preferences_is_initialized ()' failed Initializing nautilus-gdu extension
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'UploadFinished' ** (nautilus:3917): WARNING **: No marshaller for signature of signal 'DownloadFinished' ** (nautilus:3917): WARNING **: No marshaller for signature of signal 'ShareCreateError' Initializing nautilus-clamscan extension Fontconfig error: Cannot load default config file ** (nautilus:3917): WARNING **: Could not inhibit power management: The name org.gnome.SessionManager was not provided by any .service files
(nautilus:3917): Eel-WARNING **: "unique eel_ref_str" hash table still has 7 elements at quit time (keys above) (nautilus:3917): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 12 elements at quit time Shutting down nautilus-gdu extension
'' Ubuntu 11.04'' I have used G-parted to make some free space for my windows partition '' 100 GB. But before windows is installed the Grub loader is already broken . So i decided to restore the GRUB in the live CD en start with sudo grub and i get this:
sudo grub sudo: grub: command not found sudo /sbin/grub sudo: /sbin/grub: command not found
I am trying to install postgres using the one click installer from [URL]. I downloaded the file into Downloads and ls shows me the file. When I enter the command "sudo ./postgresplus-8.4.1-2-linux-x64.bin", I get "sudo: ./postgresplus-8.4.1-2-linux-x64.bin: command not found". What am I doing wrong?
I've been trying to add (via terminal) a ppa:<name> from this site (finally got around to getting a Wacom Bamboo), but every time I try to do as it suggests, I get the following error:
Code:
$ sudo add-apt-repository ppa:hughescih/ppa sudo: add-apt-repository: command not found
I found I already had this installed, but to double-check,I've uninstalled and re-installed it to make sure, and still to no avail. I wasn't sure if I'm still missing something or what the deal may be.
trying to get wine working was reading the tutorial-
"Complete Guide to Using Wine from the Command Line (Ubuntu)" first thing it said to do for ubuntu user's was this-
"Before I continue with my rant about gaming on Linux I would like to point out right now that the very first thing you should do when you install your ubuntu set up is to run the following:
I'm currently using Linux Mint 9 LiveCD currently because of a Hyper Transport Sync Flood error which prevents me from booting my installed OS (Ubuntu 9.10).
I was installing Xlink Kai (Linux x86 version) using the instructions in this video and got as far as the sudo command in the terminal. After changing directories I entered the following:
Code: mint@mint ~ $ cd '/home/mint/Desktop/kaid-7.0.0.7-linux-x86' mint@mint ~/Desktop/kaid-7.0.0.7-linux-x86 $ sudo ./kaid-7.0.0.7-linux-x86 sudo: ./kaid-7.0.0.7-linux-x86: command not found mint@mint ~/Desktop/kaid-7.0.0.7-linux-x86 $
I'm able to use sudo to do things like open an application like pidgin or firefox, but when I use it in this capacity it always returns "command not found"
I had edited the bashsr file wrongly in my ubuntu while trying to put a "export" command in bashsr for javac. Next when i am writing sudo , its saying : Command 'sudo' is available in '/usr/bin/sudo' The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found
I recently switched back to ubuntu after a year of gaming on w7, however I think that this time I'm going to stick to ubuntu, if she doesnt screw me like she has the previous times. Anyways, I was just wondering what media players you guys favor, and why? (maybe there doesn't have to be a reason xD), and I tried to install beep media player with: sudo aptitude install beep-media-player And the return is: sudo: aptitude: command not found
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
I want to install gcc on my Pyramid linux which is debian based. I downloaded gcc.deb. When I want to install this file, it gives me "dpkg command not found" error! I also get this error when I want to install other .deb files using dpkg command " dpkg -i finename.deb. I did some research and it seams that I should install package on my system, but package file is .deb file and I can't install .deb file! What should I do to solve the problem??? Should I install any thing on my system to install .deb files??
I am having a problem installing SLES11 on a new server. It goes fine through the setup until it gets to GRUB, it gets me the following error message: Error occurred while installing GRUB
I am facing the below problem:sudo /etc/init.d/xinetd reload sudo: /etc/init.d/xinetd: command not found. /etc/init.d/xinetd restart /etc/init.d/xinetd stop.
I am a linux newbie, and recently started shell programming. whenever I use 'let' command it gives me an error 'command not found'. I am using ubuntu 9.10 with bash.