The Basics RELATED: Homebrew is a package manager designed for installing UNIX tools and other open-source applications on Mac OS X. It will quickly download and install them, compiling them from source. Homebrew Cask extends Homebrew with support for installing binary apps — the kind you normally drag to your Applications folder from DMG files. Install Homebrew and Homebrew Cask First, you’ll need the command-line tools for Xcode installed. On a modern Mac OS X system, you can install these just by running the following command in a Terminal window.
Non-market apps, non-rooted, on mac. Without terminal? Discussion in 'Android Devices' started by pungey, Sep 12. I didn't want to go Aria because I wanted to be able to install non-market apps (mostly Swype) but had to pick an AT&T phone because I'm on a family plan with family members unwilling to leave their walled-gardens. Jan 19, 2018 - How to Install Mac Software. Double-click the application file you've downloaded from the Internet. If you get an error message that says the.
You could also install the full application from Apple, if you prefer — but that takes up more space on your Mac and isn’t necessary. Xcode-select -install Next, install. You can just open a Terminal window, copy-paste the following command, and press Enter: ruby -e '$(curl -fsSL This script informs you what it will do. Press Enter and then provide your password to install it. By default, it installs Homebrew so you can use the brew command without typing the sudo command and providing your password. Run the following command once you’re done to ensure Homebrew is installed and working properly: brew doctor UPDATE: The below command is no longer necessary. Homebrew Cask is now automatically installed as part of Homebrew itself.
Once you’re done, run the following command to install. It uses Homebrew to install Cask: brew install caskroom/cask/brew-cask. Install Graphical Apps With Homebrew Cask Now you can get started installing those graphical apps you want. This involves some very simple commands.
To search for one, use the following command: brew cask search name To install an app, run the following command. Homebrew Cask will automatically download it, extract the app, and install it to your Applications folder. Brew cask install name To uninstall an app with Homebrew Cask, run the following command: brew cask uninstall name Install Open-source Utilities With Homebrew The Homebrew command is the underlying package manager that installs all those UNIX and open-source utilities you might want. It’s the easiest way to install them on Mac OS X, just as it is on Linux. Like Homebrew Cask, it uses simple commands.
To search for a utility: brew search name To download and install that package: brew install name To remove that package from your system later: brew remove name For more details on using these commands, read the or the on their official websites. Not every graphical application or Unix utility you’re looking for will be available, but most of them probably will be. Unfortunately, there’s no graphical user interface for Homebrew Cask. This is a shame, because — while we geeks love easy terminal utilities — many people could benefit from easy software installation on Mac OS X. They can avoid all the downloading DMG files and clicking around.
And, since, Homebrew Cask is a way around that.
If you’re familiar with apt-get from Linux, then you know what a package manager does. It handles downloading, installing, updating and managing certain applications and their dependencies within the operating system. MacPorts is a command-line package manager for macOS.
With MacPorts you can install Linux applications on macOS from the command line. What can I install? Most of these applications are open-source command-line utilities, but there are a fair share of GUI-based applications available as well. Applications like GIMP or GUI versions of command line utilities like diff can often be downloaded through MacPorts after a little exploring. Here’s how it works: MacPorts hosts a collection of programs, called packages or “ports” in MacPorts parlance. Using a downloaded command line interface, you can search MacPorts’ library of software.
When you find what you need, MacPorts downloads and installs the appropriate software and dependencies in the right places. This way, you don’t need to deal with opaque build instructions or confusing dependencies while still getting access to a wide range of the best and most powerful command line utilities. Since macOS doesn’t come with many of the “standard” utilities included in most Linux distros, moving from Linux’s command line to macOS’ Terminal can sometimes be a let down. We can use MacPorts to install these missing commands, making the macOS command line nearly as capable as its Linux counterpart. Installing MacPorts Before you use MacPorts, you’ll need to install Xcode to gain access to a set of higher-end developer tools.
These tools are required by many ports and packages, and by the MacPorts package manager itself. Xcode is an IDE made by Apple, and if you do much development, you likely already have it. If not, you can download Xcode from the. You’ll need a developer account for the second option, so if you don’t have one, just go through the App Store. While you can run most of the MacPort commands without Xcode, you won’t be able to run many of the packages until you install it.
You also won’t get much of a warning, so things just won’t work, often without explanation. Installing Xcode Developer Tools Once Xcode is installed, you’ll need to install the Xcode developer tools. These are a separate set of command line utilities that many Terminal commands and ports rely on. Fortunately, it’s straightforward. Open Terminal from /Applications/Utilities/Terminal.app 2. Use the command below to trigger the installation of macOS’ developer tools: xcode-select -install 3. Click “Install” in the pop-up box to install the developer tools.
If you don’t have Xcode, you can also click “Get Xcode” to install the application from here. Wait for the files to download and install. It might take a while, so be patient and make sure you stay connected to the Internet. Installing the MacPorts Package Once Xcode is installed, you can move on to actually installing MacPorts. If you already have the Xcode and the developer tools installed, you can jump right to this step. Make sure you scroll down to choose the version that matches your version of macOS.
At the time of publication, there is no version of MacPorts for Apple’s newest OS, High Sierra, but one should be released soon. Double-click and install the package from your Downloads folder.
When you’re done with the installation, open a new Terminal window and run the command port. If that command returns “MacPorts 2.4.x” and provides a slightly different-looking command prompt, then you’re ready to rock! Install Linux Apps with MacPorts To install some Linux apps on macOS with MacPorts, we will first need to search for the relevant programs. To see a gigantic list of all available packages, open Terminal, type port list and press Enter.
Obviously, that’s a lot to look through, and it wouldn’t be very efficient to scan it all. We can use the port search command to find something specific. Let’s search for the networking utility nmap using the command below: port search nmap 4. That returns a few matching packages.
It looks like many of them are extensions for nmap, which we’re not interested in. The first one, just called “nmap,” is the one we’re looking for. To get more information about that package we can use the info command: port info nmap 6.
That returns some specific information about nmap. That makes it pretty clear that this is the scanner we’re looking for. We can install with the command below: sudo port install nmap Don’t forget that the sudo prefix which will require your admin password to fire. If you’re not logged in as an admin user, you’ll need to run the process again from an administer account. Depending on the package you’re installing, there might be a large list of dependencies.
These are software packages that your desired port relies on, and you’ll need to install them alongside your port of choice. Type “Y” and press “Enter” to accept the installation. When the installation is complete, you can run the installed port as you would on Linux via Terminal. Conclusion You can check out an the awesome range of ports available by searching for tools you might like.
You don’t need to restrict yourself to port names: any keywords will do. Poke around a little bit ( port search image, for example) and you might find something unexpectedly useful. You might also like.