Ubuntu :: Sudo Apt-get Install Equivalent For OSX?
Apr 30, 2010
Im pretty much familiar with installing app packages in Ubuntu using sudo apt-get install.Is there anything similar for a Mac Book Pro ? Ubuntu has a single repo source of all the packages.What about Mac / OSX ? Does Apple have such a thing like iphone apps repository ?
I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.
The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo
I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?
I'm booting from the bash command line, and I was wondering if there is a way to make it to where when 'gdm' is called it is always called as if it had root permissions. Just so I don't always have to type 'sudo gdm' and enter a password (which would require entering a password twice, since the gdm splash screen also asks for a password.)
Recently I got a requirement to update the kickstart file in Suse to install all the available packages by default during provisioning. I have been doing this in RHEL by using the macro @everything. get an equivalent of @everything for package installation in SUSE.
I am a rookie. Yesterday, I intended to install a dictionary with the command sudo apt-get install dict-xdict, but it turned out to fail with the error. Then, I quited with Ctrl+ c, and I did not care much till today because when I want install something else today, the error keeps coming out. Therefore, I think I would better remove dict-xdict first, so I use sudo apt-get remove dict-xdict, but the error still appears:
[Code]...
I have already tries sudo apt-get -f install dict-xdict and it doesn't work out. I am hoping to install some other applications now, but I have not idea what I could do to fix this problem or just circumvent it
I tried installing bacula and i really had no idea what i was doing and i believe it failed. I ran sudo apt-get install bacula. Anyway, I tried removing it using sudo apt-get remove bacula but now whenever i run sudo apt-get install for anything, the app will install but then show all these errors from bacula. how do i get rid of it?
explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?
Code: sudo ifconfig eth0 down sudo /etc/init.d/networking stop
I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:
A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.
I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password
trying to install nasm in Ubuntu10.04 Desktop when I use the command nasm, I get the following The program 'nasm' is currently not installed. You can install it by typing: sudo apt-get install nasm
So naturally, I enter it as follows: ~$ sudo apt-get install nasm And then I get the following output:
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package nasm
Everytime I run sudo apt-get update, it updates most of my sources, and then asks for me to insert the installation disc, once I have it finishes. Do I have to insert the disc every time? it won't finish updating without it..
I ran the following command:Code:sudo apt-get install sslIt is suppose to give me SSL support for Apache 2.2, but I couldn't find any package information about it atA search only returns ssl-cert package.So what is in the ssl package for Lucid 10.04 LTS? How do I know what package contains what in the future?
when i try to install gimp with the terminal command:sudo apt-get install gimpI get this Error(yes its in german i know):Die folgenden Pakete haben unerflte Abhngigkeiten: gimp : Hgt ab von: libpoppler-glib4 (>= 0.12) ist aber nicht installierbarE: Beschdigte Paketeit says, that the packet: libpoppler-glib4 is corrupt.i already tried to reinstall libpoppler-glib4, but it wouldnt let me
I am wondering what the easiest way for me to disable su and perform all root stuff using sudo, the way Ubuntu works. I am using a shared system, openSUSE 11.3, and notice that the only item that gets logged in su is who su'd. I need more information and sudo + command gets logged to /var/log/messages so I can see who did what and when. How can I get openSUSE 11.3 to work similiar to Ubuntu when it comes to running elevated commands or editing files that a normal user doesn't have rights to?
I was installing something, usplash, I think it was... I ran $ sudo aptitude install usplash and after it asked me if I wanted to install some aditional packages, it returned this: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
I have seen this error before. I just ran the command $ sudo dpkg --configure -a And it returned this: Setting up initramfs-tools (0.92bubuntu29) ... update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.28.10-some-string-here Cannot find /lib/modules/2.6.28.10-some-string-here update-initramfs: failed for /boot/initrd.img-2.6.28.10-some-string-here dpkg: subprocess post-installation script returned error exit status 1
I did an: $ aptitude search initramfs-tools and I noticed that it had a "C" next to it. I think this has something to do with the package not being configured correctly or at all. Also looks like it is trying to generate an initd, but missing something. That kernel name looks kinda funky, though...
tl;dr - sudo make -> operation not permitted, sudo chown -R 777 * -> operation not permitted on some of the files
I am trying to install a library. Sudo make is getting permission denied on file 1, while using regular make I am getting permission denied on file 2. I have noticed some of the directories in the library are under nobody:nogroup. I tried chown and sudo chown, both didn't work. Sudo chown got permission errors, while chown didn't change ALL the files. (operation not permitted once again) Tried sudo su, and working from there, that also did not work. (permission once again). Using lsattr returned "lsattr: Inappropriate ioctl for device While reading flags on".
Code: sudo chmod -R 777 * chmod: changing permissions of `Makefile': Operation not permitted chmod: changing permissions of `Makefile.am': Operation not permitted chmod: changing permissions of `Makefile.in': Operation not permitted chmod: changing permissions of `queue.c': Operation not permitted chmod: changing permissions of `queue.h': Operation not permitted chmod: changing permissions of `ucutil.h': Operation not permitted Note the .libs folder not having write permission....
Code: chmod -R 777 * constantin@Nadfadfo:~/network_home/constantin/libraries/unicap/libunicap-0.9.8/common$ ls -la total 68 drwxrwxrwx 4 constantin constantin 4096 2010-03-17 11:31 . drwxrwxrwx 8 constantin constantin 4096 2010-03-17 11:31 .. drwxrwxrwx 2 constantin constantin 4096 2010-03-17 11:31 .deps drwxr-xr-x 2 nobody nogroup 4096 2010-03-17 11:31 .libs -rwxrwxrwx 1 constantin constantin 15295 2010-03-17 11:31 Makefile -rwxrwxrwx 1 constantin constantin 130 2010-01-17 08:17 Makefile.am -rwxrwxrwx 1 constantin constantin 15262 2010-01-17 08:17 Makefile.in -rwxrwxrwx 1 constantin constantin 6101 2010-01-17 02:49 queue.c -rwxrwxrwx 1 constantin constantin 1667 2010-01-17 02:49 queue.h -rwxrwxrwx 1 constantin constantin 125 2010-01-17 02:49 ucutil.h System: Karmic Koala 64-bit
I had some bash scripts on Ubuntu 09.10 (mint version) that fail to work on Ubuntu 10.04. The line that fails is the following:
Code: # cat file_with_my-password.txt > sudo -S something cat: invalid option -- 'S' Try `cat --help' for more information. In my case "something" mounts some filesystems (that fail to load from fstab - bios "fake" raid 10), but I get the same error for any sudo command. It is the same script that used to work under 09.04 :-/
..does it install Grub-pc in /dev/sda1 ? even if Grub was already installed in /dev/sda1 ? Furthermore, are the 3 above commands equivalent to the below ones ?
sudo mount /dev/sda1 /mnt sudo mount --bind /dev /mnt/dev sudo mount --bind /sys /mnt/sys[code].....
sudo apt-get install ubuntu-desktop fails and has been failing for the last two days, I installed both the lto and the 10.10 newest, starts out OK and runs for about 5 minutes then finishes with many 'failed to fetch [URL] size mismatch issues. This is the first one after many installs over the last two years. Is there something going on with the US servers? On closer examination of running sudo apt-get update it seems to be fine till it hits the pool directory on the server, lucid main and lucid-updates are fine, breaks when it goes past those.
I have this weird problem after a fresh install of Ubuntu 11.04: I can enter desktop using autologin but if i open a terminal i cant run anything as superuser ried:
sudo -i sudo su sudo <command> gksudo <command>
i get somthing like: error, invalid password etc etc 3 incorrect login attemtps Also if i ALT+F2 or close gnome session i cannot login back with my username, same error notes: 1. the password is right, i did a second install of ubuntu to make sure it was not my mistake 2. groups seems ok, user is in admin groups 3. I have a similar error, same computer but on an old installation that i ve updated since ubuntu 9.04 to 10.04, then 11.04 but. But here if i try the password a couple of times then i get it working.
I'm using Debian and openSUSE 11.2 and the sudo-ing is a bit different in Debian. It actually makes more sense to enter your own password like in Debian to achieve sudo status than have to use the root password for sudo status. If I for example would like to give someone on my system sudo rights, I can't give them the root password. Thats just like giving them root access. Or is there a way to change that behavior, or just change sudo password, in openSUSE? Or maybe any other best practice for giving users sudo rights?