Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Bash commands: what do you use when you don't have apt-get installed?

  1. #11
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Bash commands: what do you use when you don't have apt-get installed?

    Quote Originally Posted by jps2012 View Post
    I'm on a new used Mac
    The apt-get command is for Debian and Ubuntu based systems only.

    If you want to install VirtualBox on a Mac then download the .dmg file from the VirtualBox website...
    https://www.virtualbox.org/wiki/Downloads
    Cheesemill

  2. #12
    Join Date
    Mar 2012
    Location
    West Coast, USA
    Beans
    188
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Bash commands: what do you use when you don't have apt-get installed?

    Cheesemill: I THINK you're saying that apt-get wouldn't typically be found on a Mac. That isn't not part of bash or any of the standard scripts that comprise bash. Is that right?

    If I ask for the man page on "sudo" and get the man page, that means the command exists in my system, right? (I don't want to assume that's true for all commands, but maybe it is.)

    "echo $PATH" results in "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"

    I hope that's helpful. Mainly, I THINK the responses I'm getting mean ... that I'm thinking about bash and apt-get wrong. That I'm trying to accomplish something on a Mac that can only be done in Linux (by using apt-get).

    grahammechanical: I did try the command and got the same response: "command not found"

    But sudo does seem to be there.

  3. #13
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    12,497
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Bash commands: what do you use when you don't have apt-get installed?

    Yes. Apt and its tools like apt-get are designed to handle packages for Debian-flavored Linux systems. Moreover there is a whole other class of Linux systems based on RedHat Enterprise Linux which use an entirely different package management system called RPM. Neither of these are designed to run on anything other than a Linux system.

    sudo is an entirely different type of command, one that runs on most any Unix derivative like Linux, BSD, Solaris, or OS X. Not having sudo would be like not having mkdir to create directories.
    Last edited by SeijiSensei; June 28th, 2013 at 12:49 AM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #14
    Join Date
    Dec 2010
    Location
    Fukuoka, Japan
    Beans
    1,064
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Bash commands: what do you use when you don't have apt-get installed?

    I a little confused. Have you actually installed Ubuntu yet?

  5. #15
    Join Date
    Mar 2012
    Location
    West Coast, USA
    Beans
    188
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Bash commands: what do you use when you don't have apt-get installed?

    No, I haven't installed Ubuntu yet. I was trying to understand differences between the terminals in both systems (and didn't realized that they're 'quite' different). The goal is to partition the harddrive to have OSX and Ubuntu. But I'm trying to resolve some questions about issuing commands before I do something as drastic as partitioning.

    Sorry to have confused folks. I did install Virtual Box so I could use Ubuntu before partitioning (one thing that's slowing me down is that I'm having to write 100 gigs of files onto DVDs onto an external, so that the external can be reformatted to accept a Time Machine backup ... so I can do a backup BEFORE partitioning the harddrive to have OSX riding shotgun with Ubuntu.

    Now maybe it's clear why I didn't want to wax Homeric ...

  6. #16
    Join Date
    Apr 2013
    Location
    43.49°N 7.46°E
    Beans
    117
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Bash commands: what do you use when you don't have apt-get installed?

    if you wish to try apt-get under OSX, you might follow these instructions:
    • download macports
    • in a Terminal window, run
      Code:
      port selfupdate
    • when the above command has finished, run
      Code:
      port install apt

  7. #17
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    fink

    I haven't used it for a few years but fink will provide APT for OS X, if that is indeed the system you are trying to run these programs on.

    Again, what are you running?

    Code:
    lsb_release -rd 
    uname -a

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •